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