| st[r -- mkfs(class, st[r -- _type] .type, fieldvar) '] = refval(r0), refs0 .last = jvmref, st[r0 -- _type] .type ≤ st[r -- _type] .type, is_obj(str, r, st), mkfs(class, st[r -- _type] .type, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, r0 ' + refs0, st[r0 -- _type] .type, st -- r), ∀ ty. type∃(str, ty) → (ty ≤ st[r -- _type] .type → ty = st[r -- _type] .type), ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∀ ty. type∃(str, ty) → (ty ≤ st0[r -- _type] .type ↔ ty = st0[r -- _type] .type)) ∧ (∃ fs. fs ' ∈ instfields(st0[r -- _type] .type .class) ∧ fs .type = st0[r -- _type] .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ refs0 = [], r0 = jvmref, r = r0, r = jvmref, junkref(str, r0, st), cyclic(str, r, st), ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ (is_reftype(fs .type) ∨ fs .type = abstract_type) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ is_referencevalue(st[r -- fs ']) ∨ ¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ 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 : ⊦ 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(class, st[r -- _type] .type, fieldvar))]]