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