| acc = r2 + refs, is_obj(str, r1, st), st[r0 -- _type] .type ≤ ty0, junkrefs(str, r1 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(r0)]), st[r1 -- _type] .type ≤ ty, r ∈ acc, ∀ str, ty, st, r0, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ ¬ junkref(str, r0, st) ∧ st[r0 -- _type] .type ≤ fs .type ∧ r0 ≠ jvmref ∧ fs .type ≠ void_type ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(r0)]) ⊦ r = r1, r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, acc = [], junkref(str, r0, st), ∃ fs. fs ' ∈ instfields(st[r1 -- _type] .type .class) ∧ is_referencevalue(st[r1 -- fs ']) ∧ r2 = st[r1 -- fs '] .refval ∧ junkrefs(str, acc, fs .type, st) |
st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st), st[r0 -- _type] .type ≤ ty0, junkrefs(str, r1 ' + r2 ' + refs, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(r0)]), ∀ str0, ty1, st0, r3, fs, r4. ¬ junkrefs(str0, r2 ' + refs, ty1, st0) ∧ ¬ junkref(str0, r3, st0) ∧ st0[r3 -- _type] .type ≤ fs .type ∧ r3 ≠ jvmref ∧ fs .type ≠ void_type ∧ fs ' ≠ _length → ¬ junkrefs(str0, r2 ' + refs, ty1, st0[r4 -- fs ', refval(r3)]) ⊦ r = r1, r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, junkref(str, r0, st), r ≠ r2 ∧ ¬ r ∈ refs, ∃ fs. fs ' ∈ instfields(st[r1 -- _type] .type .class) ∧ is_referencevalue(st[r1 -- fs ']) ∧ r2 = st[r1 -- fs '] .refval ∧ junkrefs(str, st[r1 -- fs '] .refval ' + refs, fs .type, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r ∈ r0 ' ↔ r = r0], [CSIMPSEQ : ⊦ r ∈ refs + refs0 ↔ ¬ ¬ (r ∈ refs ∨ r ∈ refs0)], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' + refs ≠ []], [CSIMPSEQ : ⊦ r + refs = r ' + refs])]]