| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, (addarray(r0, ty0, vals, st)[r -- mkfs(class, ty3, fieldvar) ']) = refval(r2), junkrefs(str, r2 ' + refs, ty3, addarray(r0, ty0, vals, st)), newref(r0, st), st[r -- _type] .type ≤ ty, is_obj(str, r, addarray(r0, ty0, vals, st)), (addarray(r0, ty0, vals, st)[r -- _type]) .type ≤ ty, is_obj(str, r, st), mkfs(class, ty3, fieldvar) ' ∈ instfields((addarray(r0, ty0, vals, st)[r -- _type]) .type .class), ∀ str0, ty1, r1, ty2, vals0, st0. junkrefs(str0, r2 ' + refs, ty1, addarray(r1, ty2, vals0, st0)) ∧ newref(r1, st0) → r1 = jvmref ∨ junkrefs(str0, r2 ' + refs, ty1, st0) ⊦ r = jvmref, r0 = jvmref, r2 ' + refs ≠ [] ∧ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ (r2 ' + refs) .first = st[r -- fs '] .refval ∧ junkrefs(str, r2 ' + refs, fs .type, st)) |
(addarray(r0, ty0, vals, st)[r -- mkfs(class, ty3, fieldvar) ']) = refval(r2), junkrefs(str, r2 ' + refs, ty3, addarray(r0, ty0, vals, st)), newref(r0, st), st[r -- _type] .type ≤ ty, is_obj(str, r, addarray(r0, ty0, vals, st)), (addarray(r0, ty0, vals, st)[r -- _type]) .type ≤ ty, is_obj(str, r, st), mkfs(class, ty3, fieldvar) ' ∈ instfields((addarray(r0, ty0, vals, st)[r -- _type]) .type .class), ∀ str0, ty1, r1, ty2, vals0, st0. junkrefs(str0, r2 ' + refs, ty1, addarray(r1, ty2, vals0, st0)) ∧ newref(r1, st0) → r1 = jvmref ∨ junkrefs(str0, r2 ' + refs, ty1, st0) ⊦ r = jvmref, r0 = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ r2 = st[r -- fs '] .refval ∧ junkrefs(str, st[r -- fs '] .refval ' + refs, fs .type, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' ≠ []], [CSIMPSEQ : ⊦ ¬ refs + refs0 ≠ [] ↔ refs = [] ∧ refs0 = []])]]