| acc .first = st1[r -- i '] .refval, st1[r -- _type] .type ≤ ty, is_array(str, r, st), i < st1[r -- _length] .intval, is_referencevalue(st1[r -- i ']), junkrefs(str, acc, st1[r -- _type] .type .type, st1), st ⊆ st1, st[r -- _type] .type ≤ ty, 0 ≤ i, 0 < st1[r -- _length] .intval, ∀ str, ty, st1, st. junkrefs(str, acc, ty, st1) ∧ st ⊆ st1 → 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 = st1[r -- i '] .refval, st1[r -- _type] .type ≤ ty, is_array(str, r, st), i < st1[r -- _length] .intval, is_referencevalue(st1[r -- i ']), junkrefs(str, acc, st1[r -- _type] .type .type, st1), st ⊆ st1, st[r -- _type] .type ≤ ty, 0 ≤ i, 0 < st1[r -- _length] .intval, ∀ str, ty, st1, st. junkrefs(str, acc, ty, st1) ∧ st ⊆ st1 → 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)]]