| st[r -- mkfs(class0, ty0, fieldvar) '] = refval(r1), st[r0 -- _type] .type = mkclasstype(class), is_obj(str, r, st), st[r -- _type] .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), mkfs(class0, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- mkfs(class0, ty0, fieldvar) ']), validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), junkref(str, r1, st), r ≠ r0 ∨ mkfs(class0, ty0, fieldvar) ≠ fs ⊦ r = jvmref, fs ' = _type, validrefs(str, r1 ' + refs, ty0, st), junkref(str, r, st), fs ' ∈ instfields(class), r ∈ (r1 ' + refs) .butlast, dups((r1 ' + refs) .butlast) |
st[r0 -- _type] .type = mkclasstype(class), st[r -- mkfs(class0, ty0, fieldvar) '] = refval(r1), junkref(str, r1, st), validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), mkfs(class0, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_obj(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, is_obj(str, r, st), r ≠ r0 ∨ mkfs(class0, ty0, fieldvar) ≠ fs ⊦ fs ' = _type, r = jvmref, dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, fs ' ∈ instfields(class), junkref(str, r, st), validrefs(str, r1 ' + refs, ty0, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]