| is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty, is_arraytype(st[r0 -- _type] .type), is_array(str, r, st), st[r -- _type] .type ≤ ty, ∀ st, r0, str, ty, fs, val. is_arraytype(st[r0 -- _type] .type) ∧ validrefs(str, acc, ty, st[r0 -- fs ', val]) → fs ' = _type ∨ fs ' = _length ∨ acc = [] ∨ validrefs(str, acc, ty, st) ∨ junkref(str, acc .first, st) ∨ dups(acc .butlast), acc = [] ∨ 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[r0 -- fs ', val]) ⊦ fs ' = _type, fs ' = _length, r = jvmref, 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)), junkref(str, r, st), dups((r ' + acc) .butlast), is_classtype(st[r -- _type] .type) |
acc .first = st[r -- i '] .refval, is_arraytype(st[r0 -- _type] .type), is_array(str, r, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, acc, st[r -- _type] .type .type, st[r0 -- fs ', val]), 0 ≤ i, 0 < st[r -- _length] .intval, ∀ st0, r1, str0, ty0, fs0, val0. is_arraytype(st0[r1 -- _type] .type) ∧ validrefs(str0, acc, ty0, st0[r1 -- fs0 ', val0]) → fs0 ' = _type ∨ fs0 ' = _length ∨ validrefs(str0, acc, ty0, st0) ∨ junkref(str0, acc .first, st0) ⊦ fs ' = _type, fs ' = _length, r = jvmref, acc = [], is_classtype(st[r -- _type] .type), junkref(str, r, st), dups(acc .butlast), r ∈ acc .butlast, ∃ i0. ¬ i0 < 0 ∧ ¬ st[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r -- i0 ']) ∧ acc .first = st[r -- i0 '] .refval ∧ validrefs(str, acc, st[r -- _type] .type .type, st)
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ i < j ∧ 0 ≤ i → 0 < j], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ dups(r ' + refs) ↔ dups(refs) ∨ r ∈ refs], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ refs ≠ [] → (refs0 + refs) .butlast = refs0 + refs .butlast])]]