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