| is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty, st[r -- i '] = refval(r0), st[r -- _type] .type ≤ ty, 0 ≤ i, 0 < st[r -- _length] .intval, is_array(str, r, st), i < st[r -- _length] .intval, junkrefs(str, (r0 ' + refs1) + refs0, st[r -- _type] .type .type, st), ∀ str0, refs2, ty0, st0. junkrefs(str0, (r0 ' + refs1) + refs2, ty0, st0) → junkrefs(str0, r0 ' + refs1, ty0, st0) ∨ validrefs(str0, r0 ' + refs1, ty0, st0) ⊦ r = jvmref, r0 ' + refs1 = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ (r0 ' + refs1) .first = st[r -- i '] .refval ∧ validrefs(str, r0 ' + refs1, st[r -- _type] .type .type, st)), junkrefs(str, r0 ' + refs1, st[r -- _type] .type .type, st) |
st[r -- i '] = refval(r0), st[r -- _type] .type ≤ ty, 0 ≤ i, 0 < st[r -- _length] .intval, is_array(str, r, st), i < st[r -- _length] .intval, junkrefs(str, (r0 ' + refs1) + refs0, st[r -- _type] .type .type, st), ∀ str0, refs2, ty0, st0. junkrefs(str0, (r0 ' + refs1) + refs2, ty0, st0) → junkrefs(str0, r0 ' + refs1, ty0, st0) ∨ validrefs(str0, r0 ' + refs1, ty0, st0) ⊦ r = jvmref, junkrefs(str, r0 ' + refs1, st[r -- _type] .type .type, st), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r -- i0 ']) ∧ r0 = st[r -- i0 '] .refval ∧ validrefs(str, st[r -- i0 '] .refval ' + refs1, st[r -- _type] .type .type, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' + refs ≠ []])]]