| is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty, acc + jvmref ' = r0 ' + refs, st[r -- i '] = refval(r0), is_array(str, r, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, validrefs(str, acc + jvmref ' + refs0, st[r -- _type] .type .type, st), 0 ≤ i, 0 < st[r -- _length] .intval, ∀ str, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, r0 ' + refs, ty, st) ∧ refs0 = [] ⊦ r = jvmref, ( acc + jvmref ' = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ (acc + jvmref ') .first = st[r -- i '] .refval ∧ validrefs(str, acc + jvmref ', st[r -- _type] .type .type, st))) ∧ refs0 = [], jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, ¬ r0 ∈ acc ∧ r0 ≠ jvmref |
st[r -- i '] = refval(r0), acc + jvmref ' = r0 ' + refs, 0 < st[r -- _length] .intval, 0 ≤ i, validrefs(str, acc + jvmref ' + refs0, st[r -- _type] .type .type, st), i < st[r -- _length] .intval, st[r -- _type] .type ≤ ty, is_array(str, r, st), ∀ str, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, r0 ' + refs, ty, st) ∧ refs0 = [] ⊦ r = jvmref, ¬ r0 ∈ acc ∧ r0 ≠ jvmref, jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, (∃ i0. ¬ i0 < 0 ∧ ¬ st[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r -- i0 ']) ∧ r0 = st[r -- i0 '] .refval ∧ validrefs(str, st[r -- i0 '] .refval ' + refs, st[r -- _type] .type .type, st)) ∧ refs0 = []
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ refs + r ' ≠ []])]]