| is_array(r, st), ∀ i. ¬ i < 0 ∧ ¬ st[r -- _length] .intval ≤ i → compat(str, st[r -- i '], st[r -- _type] .type .type, st) ⊦ is_arraytype(st[r -- _type] .type) ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. 0 ≤ j ∧ j < st[r -- _length] .intval → compat(str, st[r -- j '], st[r -- _type] .type .type, st)) |
is_array(r, st), r -- _length ∈ st, is_arraytype(st[r -- _type] .type), r ∈ st, ∀ i. ¬ i < 0 ∧ ¬ st[r -- _length] .intval ≤ i → compat(str, st[r -- i '], st[r -- _type] .type .type, st) ⊦ (0 ≤ j ∧ j < st[r -- _length] .intval → compat(str, st[r -- j '], st[r -- _type] .type .type, st)) ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ is_integervalue(st[r -- _length])
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPSEQ : ⊦ ¬ r -- _length ∈ st → ¬ is_array(r, st)], [CSIMPSEQ : ⊦ ¬ is_arraytype (st[r -- _type] .type) → ¬ is_array(r, st)], [CSIMPSEQ : ⊦ is_array(r, st) → ¬ st[r -- _length] .intval < 0], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i])]]