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