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