| refs0 .last = jvmref, st[r -- mkfs(class0, ty, fieldvar) '] = refval(r0), st[r -- _type] .type = mkclasstype(class1), class1 ≤ class, st[r0 -- _type] .type ≤ mkclasstype(class), validrefs(str, r0 ' + refs0, st[r0 -- _type] .type, st -- r), st[r0 -- _type] .type ≤ ty, is_obj(str, r, st), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), ty ≤ mkclasstype(class), is_classtype(ty), class1 ≤ ty .class, ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∃ fs, class. fs ' ∈ instfields(class) ∧ fs .type ≤ mkclasstype(class) ∧ st0[r -- _type] .type ≤ fs .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r0 = jvmref, r = jvmref, r = r0, refs0 = [], junkref(str, r0, st), cyclic(str, r, st), ∃ fs. fs ' ∈ instfields(class1) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, st[r -- fs '] .refval ' + refs0, fs .type, st), ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref |
ty = mkclasstype(class2), refs0 .last = jvmref, st[r -- mkfs(class0, ty, fieldvar) '] = refval(r0), st[r -- _type] .type = mkclasstype(class1), class1 ≤ class, st[r0 -- _type] .type ≤ mkclasstype(class), validrefs(str, r0 ' + refs0, st[r0 -- _type] .type, st -- r), st[r0 -- _type] .type ≤ ty, is_obj(str, r, st), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), ty ≤ mkclasstype(class), is_classtype(ty), class1 ≤ class2, ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∃ fs, class. fs ' ∈ instfields(class) ∧ fs .type ≤ mkclasstype(class) ∧ st0[r -- _type] .type ≤ fs .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r0 = jvmref, r = jvmref, r = r0, refs0 = [], junkref(str, r0, st), cyclic(str, r, st), ∃ fs. fs ' ∈ instfields(class1) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, st[r -- fs '] .refval ' + refs0, fs .type, st), ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_classtype(ty) → ( class = ty .class ↔ ty = mkclasstype(class))])], [EXTRATERMS : (ty, class2)]]