| is_array(str, r, st0) ∧ st0[r -- _type] .type ≤ ty, is_array(str, r, st), st[r -- _type] .type ≤ ty, ∀ str0, ty0, st1, st2. validrefs(str0, refs0, ty0, st1) ∧ (∀ r0. r0 ∈ refs0 ∧ r0 ≠ jvmref → st1[r0 -- _type] = st2[r0 -- _type] ∧ (is_classtype(st1[r0 -- _type] .type) → (∀ sk. sk ∈ instfields(st1[r0 -- _type] .type .class) → st1[r0 -- sk] = st2[r0 -- sk])) ∧ ( is_arraytype(st1[r0 -- _type] .type) → st1[r0 -- _length] = st2[r0 -- _length] ∧ (∀ i. 0 ≤ i ∧ i < st1[r0 -- _length] .intval → st1[r0 -- i '] = st2[r0 -- i ']))) → validrefs(str0, refs0, ty0, st2), ∀ r0. (r0 = r ∨ r0 ∈ refs0) ∧ r0 ≠ jvmref → st[r0 -- _type] = st0[r0 -- _type] ∧ (is_classtype(st[r0 -- _type] .type) → (∀ sk. sk ∈ instfields(st[r0 -- _type] .type .class) → st[r0 -- sk] = st0[r0 -- sk])) ∧ ( is_arraytype(st[r0 -- _type] .type) → st[r0 -- _length] = st0[r0 -- _length] ∧ (∀ i. ¬ i < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i → st[r0 -- i '] = st0[r0 -- i '])), refs0 = [] ∨ 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ refs0 .first = st[r -- i '] .refval ∧ validrefs(str, refs0, st[r -- _type] .type .type, st) ⊦ r = jvmref, refs0 = [] ∨ (∃ i. 0 ≤ i ∧ i < st0[r -- _length] .intval ∧ is_referencevalue(st0[r -- i ']) ∧ refs0 .first = st0[r -- i '] .refval ∧ validrefs(str, refs0, st0[r -- _type] .type .type, st0)) |
refs0 .first = st[r -- i '] .refval, is_array(str, r, st0), st0[r -- _type] .type ≤ ty, is_array(str, r, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, refs0, st[r -- _type] .type .type, st), 0 ≤ i, 0 < st[r -- _length] .intval, ∀ str0, ty0, st1, st2. validrefs(str0, refs0, ty0, st1) ∧ (∀ r0. r0 ∈ refs0 ∧ r0 ≠ jvmref → st1[r0 -- _type] = st2[r0 -- _type] ∧ (is_classtype(st1[r0 -- _type] .type) → (∀ sk. sk ∈ instfields(st1[r0 -- _type] .type .class) → st1[r0 -- sk] = st2[r0 -- sk])) ∧ ( is_arraytype(st1[r0 -- _type] .type) → st1[r0 -- _length] = st2[r0 -- _length] ∧ (∀ i. 0 ≤ i ∧ i < st1[r0 -- _length] .intval → st1[r0 -- i '] = st2[r0 -- i ']))) → validrefs(str0, refs0, ty0, st2), ∀ r0. (r0 = r ∨ r0 ∈ refs0) ∧ r0 ≠ jvmref → st[r0 -- _type] = st0[r0 -- _type] ∧ (is_classtype(st[r0 -- _type] .type) → (∀ sk. sk ∈ instfields(st[r0 -- _type] .type .class) → st[r0 -- sk] = st0[r0 -- sk])) ∧ ( is_arraytype(st[r0 -- _type] .type) → st[r0 -- _length] = st0[r0 -- _length] ∧ (∀ i. ¬ i < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i → st[r0 -- i '] = st0[r0 -- i '])) ⊦ r = jvmref, refs0 = [], ∃ i0. ¬ i0 < 0 ∧ ¬ st0[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st0[r -- i0 ']) ∧ refs0 .first = st0[r -- i0 '] .refval ∧ validrefs(str, refs0, st0[r -- _type] .type .type, st0)
[[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])]]