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