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