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