| st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), acc + r0 ' = r1 ' + refs, validrefs(str, acc + r0 ', ty0, st[r0 -- sk, val]), is_referencevalue(st[r -- mkfs(class, ty0, fieldvar) ']), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str, r0, ty, st, sk, val. ¬ validrefs(str, acc + r0 ', ty, st) ∧ ¬ junkref(str, acc .first, st) ∧ acc ≠ [] ∧ ¬ r0 ∈ acc ∧ sk ≠ _type → ¬ validrefs(str, acc + r0 ', ty, st[r0 -- sk, val]) ⊦ r = jvmref, r0 = r, sk = _type, validrefs(str, (r ' + acc) + r0 ', ty, st), junkref(str, r, st), r0 ∈ acc, r0 ≠ r1 ∧ ¬ r0 ∈ refs, ¬ r1 ∈ acc ∧ r1 ≠ r0 |
acc + r0 ' = r1 ' + refs, st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, r1 ' + refs, ty0, st[r0 -- sk, val]), ∀ str, r0, ty, st, sk, val. ¬ validrefs(str, acc + r0 ', ty, st) ∧ ¬ junkref(str, acc .first, st) ∧ acc ≠ [] ∧ ¬ r0 ∈ acc ∧ sk ≠ _type → ¬ validrefs(str, acc + r0 ', ty, st[r0 -- sk, val]) ⊦ sk = _type, r0 = r, r = jvmref, r0 ∈ acc, junkref(str, r, st), validrefs(str, (r ' + acc) + r0 ', ty, st), r0 ≠ r1 ∧ ¬ r0 ∈ refs, ¬ r1 ∈ acc ∧ r1 ≠ r0
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ r ∈ r0 ' ↔ r = r0], [CSIMPSEQ : ⊦ r ∈ refs + refs0 ↔ ¬ ¬ (r ∈ refs ∨ r ∈ refs0)], [CSIMPFORWARD : ⊦ r ' + refs = refs0 → r ∈ refs0], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPFORWARD : ⊦ refs + r ' = refs0 → r ∈ refs0])]]