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