| refs0 .last = jvmref, st[r -- mkfs(class0, mkclasstype(class2), fieldvar) '] = refval(r0), st[r -- _type] .type = mkclasstype(class1), class1 ≤ class2, st[r0 -- _type] .type ≤ mkclasstype(class), validrefs(str, r0 ' + refs0, st[r0 -- _type] .type, st -- r), st[r0 -- _type] .type ≤ mkclasstype(class2), is_obj(str, r, st), mkfs(class0, mkclasstype(class2), fieldvar) ' ∈ instfields(class), class2 ≤ class, class1 ≤ 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 ≠ [] ∧ ¬ dups(refs) ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r0 = jvmref, r = jvmref, r = r0, refs0 = [], r0 ∈ refs0, dups(refs0), junkref(str, r0, st), cyclic(str, r, st), r ∈ refs0, ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ ¬ dups(refs) ∧ refs .first = r ∧ refs .last = jvmref, ∃ fs. fs ' ∈ instfields(class1) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, st[r -- fs '] .refval ' + refs0, fs .type, st) |
⊦ ¬ validrefs(str, refs, ty0, st) ∧ ty ≤ ty0 → ¬ validrefs(str, refs, ty, st -- r)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ fs ' ∈ instfields(class) ∧ class0 ≤ class → fs ' ∈ instfields(class0)], [CSIMPSEQ : ⊦ mkfs(class, ty, fieldvar) .type = ty], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])], [EXTRATERMS : (mkfs(class0, mkclasstype(class2), fieldvar))]]