| acc .first = (st[r -- i ', refval(r0)][r1 -- i0 ']) .refval, mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type, is_array(str, r1, st[r -- i ', refval(r0)]), st[r1 -- _type] .type ≤ ty, is_array(str, r1, st), i0 < st[r1 -- _length] .intval, is_referencevalue(st[r -- i ', refval(r0)][r1 -- i0 ']), junkrefs(str, acc, st[r1 -- _type] .type .type, st[r -- i ', refval(r0)]), 0 ≤ i0, 0 < st[r1 -- _length] .intval, ∀ st, r0, r, str, ty, i. mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type ∧ junkrefs(str, acc, ty, st[r -- i ', refval(r0)]) → r = jvmref ∨ r0 = jvmref ∨ junkrefs(str, acc, ty, st) ∨ junkref(str, r0, st) ⊦ r1 = jvmref, r0 = jvmref, r = jvmref, acc = [], junkref(str, r0, st), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r1 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r1 -- i0 ']) ∧ acc .first = st[r1 -- i0 '] .refval ∧ junkrefs(str, acc, st[r1 -- _type] .type .type, st) |
acc = r2 + refs, r2 = (st[r -- i ', refval(r0)][r1 -- i0 ']) .refval, mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type, is_array(str, r1, st[r -- i ', refval(r0)]), st[r1 -- _type] .type ≤ ty, is_array(str, r1, st), i0 < st[r1 -- _length] .intval, is_referencevalue(st[r -- i ', refval(r0)][r1 -- i0 ']), junkrefs(str, acc, st[r1 -- _type] .type .type, st[r -- i ', refval(r0)]), 0 ≤ i0, 0 < st[r1 -- _length] .intval, ∀ st, r0, r, str, ty, i. mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type ∧ junkrefs(str, acc, ty, st[r -- i ', refval(r0)]) → r = jvmref ∨ r0 = jvmref ∨ junkrefs(str, acc, ty, st) ∨ junkref(str, r0, st) ⊦ r1 = jvmref, r0 = jvmref, r = jvmref, acc = [], junkref(str, r0, st), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r1 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r1 -- i0 ']) ∧ r2 = st[r1 -- i0 '] .refval ∧ junkrefs(str, acc, st[r1 -- _type] .type .type, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (acc, r2, refs)]]