| is_referencevalue(st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']), mkfs(class, ty1, fieldvar) ' ∈ instfields((st[r0 -- fs ', val][r -- _type]) .type .class), is_obj(str, r, st), (st[r0 -- fs ', val][r -- _type]) .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, junkrefs(str, (st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']) .refval ' + refs, ty1, st[r0 -- fs ', val]), ∀ str0, ty0, st0, r1, fs1, val0. junkrefs(str0, (st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']) .refval ' + refs, ty0, st0[r1 -- fs1 ', val0]) → junkrefs(str0, (st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']) .refval ' + refs, ty0, st0) ∨ is_typevalue(st0[r1 -- _type]) ∧ is_reftype(st0[r1 -- _type] .type) ⊦ r = jvmref, junkrefs(str, r ' + (st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']) .refval ' + refs, ty, st), is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type) |
(st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']) = refval(r2), is_referencevalue(st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) ']), mkfs(class, ty1, fieldvar) ' ∈ instfields((st[r0 -- fs ', val][r -- _type]) .type .class), is_obj(str, r, st), (st[r0 -- fs ', val][r -- _type]) .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, junkrefs(str, r2 ' + refs, ty1, st[r0 -- fs ', val]), ∀ 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, r ' + r2 ' + refs, ty, st), is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_referencevalue(val) → ( r = val .refval ↔ val = refval(r))])], [EXTRATERMS : (st[r0 -- fs ', val][r -- mkfs(class, ty1, fieldvar) '], r2)]]