| st[r0 -- mkfs(class, ty1, fieldvar) '] = refval(r2), is_reftype(st[r -- _type] .type .type), st[r0 -- _type] .type ≤ ty, is_obj(str, r0, st), mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r0 -- _type] .type .class), is_referencevalue(st[r0 -- mkfs(class, ty1, fieldvar) ']), junkrefs(str, r2 ' + refs, ty1, st[r -- i ', refval(jvmref)]), ∀ st0, r1, str0, ty0, i0. is_reftype(st0[r1 -- _type] .type .type) ∧ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- i0 ', refval(jvmref)]) → r1 = jvmref ∨ junkrefs(str0, r2 ' + refs, ty0, st0) ⊦ r0 = jvmref, r = jvmref, junkrefs(str, r0 ' + r2 ' + refs, ty, st) |
st[r0 -- mkfs(class, ty1, fieldvar) '] = refval(r2), junkrefs(str, r2 ' + refs, ty1, st[r -- i ', refval(jvmref)]), mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r0 -- _type] .type .class), is_obj(str, r0, st), st[r0 -- _type] .type ≤ ty, is_reftype(st[r -- _type] .type .type), ∀ st0, r1, str0, ty0, i0. is_reftype(st0[r1 -- _type] .type .type) ∧ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- i0 ', refval(jvmref)]) → r1 = jvmref ∨ junkrefs(str0, r2 ' + refs, ty0, st0) ⊦ r = jvmref, r0 = jvmref, junkrefs(str, r0 ' + r2 ' + refs, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]