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