| st[r -- _type] .type ≤ ty, validrefs(str, r ' + acc, ty, st), validrefs(str, acc .last ' + refs1, ty0, st), is_array(str, r, st), ∀ str0, ty1, st0, refs, ty2. validrefs(str0, acc, ty1, st0) ∧ validrefs(str0, acc .last ' + refs, ty2, st0) → validrefs(str0, acc + refs, ty1, st0) ⊦ acc = [], r = jvmref, validrefs(str, (r ' + acc) + refs1, 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, st[r -- _type] .type ≤ ty, 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)), validrefs(str, acc .last ' + refs1, ty0, st), is_array(str, r, st), ∀ str0, ty1, st0, refs, ty2. validrefs(str0, acc, ty1, st0) ∧ validrefs(str0, acc .last ' + refs, ty2, st0) → validrefs(str0, acc + refs, ty1, st0) ⊦ acc = [], r = jvmref, validrefs(str, (r ' + acc) + refs1, ty, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, acc, r, str)]]