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