| is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty, is_array(str, r, st), acc = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ acc .first = st[r -- i '] .refval ∧ validrefs(str, acc, st[r -- _type] .type .type, st)), # st .refs < # acc, st[r -- _type] .type ≤ ty, ∀ str0, ty0, st0. validrefs(str0, acc, ty0, st0) → # acc ≤ # st0 .refs + 1 ⊦ r = jvmref, acc = [], dups(acc), r ∈ acc |
acc .first = st[r -- i '] .refval, is_array(str, r, st), # st .refs < # acc, st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, acc, st[r -- _type] .type .type, st), 0 ≤ i, 0 < st[r -- _length] .intval, ∀ str0, ty0, st0. validrefs(str0, acc, ty0, st0) → # acc ≤ # st0 .refs + 1 ⊦ r = jvmref, acc = [], dups(acc), r ∈ acc
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ i < j ∧ 0 ≤ i → 0 < j])]]