| st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), acc + jvmref ' = r0 ' + refs, validrefs(str, acc + jvmref ' + refs0, ty0, st), 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, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, acc + jvmref ', ty, st) ∧ refs0 = [] ⊦ r = jvmref, validrefs(str, (r ' + acc) + jvmref ', ty, st) ∧ refs0 = [], jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, ¬ r0 ∈ acc ∧ r0 ≠ jvmref |
acc + jvmref ' = r0 ' + refs, st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, acc + jvmref ' + refs0, ty0, st), ∀ str, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, r0 ' + refs, ty, st) ∧ refs0 = [] ⊦ r = jvmref, validrefs(str, (r ' + acc) + jvmref ', ty, st) ∧ refs0 = [], jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, ¬ r0 ∈ acc ∧ r0 ≠ jvmref
[[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])]]