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