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