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