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