| is_array(str, r, st), validrefs(str, (r ' + acc) + refs0, ty, st), st[r -- _type] .type ≤ ty, ∀ str, refs0, ty, st. validrefs(str, acc + refs0, ty, st) → validrefs(str, acc, ty, st) ⊦ r = jvmref, validrefs(str, r ' + acc, ty, st) |
⊦ 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 ≤ ty, is_array(str, r, st), acc + refs0 = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ (acc + refs0) .first = st[r -- i '] .refval ∧ validrefs(str, acc + refs0, st[r -- _type] .type .type, st)), st[r -- _type] .type ≤ ty, ∀ str, refs0, ty, st. validrefs(str, acc + refs0, ty, st) → validrefs(str, acc, ty, st) ⊦ r = jvmref, validrefs(str, r ' + acc, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])], [EXTRATERMS : (st, ty, acc + refs0, r, str)]]