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