| okreftype(refval(r), mkarraytype(ty), st) ∧ r ≠ jvmref ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. 0 ≤ j ∧ j < st[r -- _length] .intval → oktype(st[r -- j '], ty, st)), r ∈ st, ∀ rk. rk ∈ st → rk ∈ st0 ∧ st[rk] = st0[rk] ⊦ r = jvmref, okreftype(refval(r), mkarraytype(ty), st0) ∧ r -- _length ∈ st0 ∧ is_integervalue(st0[r -- _length]) ∧ ¬ st0[r -- _length] .intval < 0 ∧ is_arrayref(r, st0[r -- _length] .intval, st0) ∧ (0 ≤ j ∧ j < st0[r -- _length] .intval → okval(st0[r -- j '], ty)) |
⊦ okreftype(val, ty, st) ↔ is_referencevalue(val) ∧ (val .refval ≠ jvmref → val .refval -- _type ∈ st ∧ is_typevalue(st[val .refval -- _type]) ∧ st[val .refval -- _type] .type ≤ ty)
⊦ oktype(val, ty, st) ↔ okval(val, ty)
r -- _length ∈ st, is_integervalue(st[r -- _length]), is_arrayref(r, st[r -- _length] .intval, st), r -- _type ∈ st, is_typevalue(st[r -- _type]), is_arraytype(st[r -- _type] .type), st[r -- _type] .type .type ≤ ty, 0 ≤ st[r -- _length] .intval, r ∈ st, ∀ rk. rk ∈ st → rk ∈ st0 ∧ st[rk] = st0[rk], ∀ j0. ¬ j0 < 0 ∧ ¬ st[r -- _length] .intval ≤ j0 → okval(st[r -- j0 '], ty) ⊦ r = jvmref, okreftype(refval(r), mkarraytype(ty), st0) ∧ r -- _length ∈ st0 ∧ is_integervalue(st0[r -- _length]) ∧ ¬ st0[r -- _length] .intval < 0 ∧ is_arrayref(r, st0[r -- _length] .intval, st0) ∧ (0 ≤ j ∧ j < st0[r -- _length] .intval → okval(st0[r -- j '], ty))
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ ty0 ≤ mkarraytype(ty) ↔ is_arraytype(ty0) ∧ ty0 .type ≤ ty], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))])]]