| r0 -- _type ∈ st, is_typevalue(st[r0 -- _type]), is_arraytype(st[r0 -- _type] .type), st[r0 -- _type] .type .type ≤ ty, r0 -- _length ∈ st, is_integervalue(st[r0 -- _length]), is_arrayref(r0, st[r0 -- _length] .intval, st), r0 ∈ st, 0 ≤ st[r0 -- _length] .intval, ∀ j. ¬ j < 0 ∧ ¬ st[r0 -- _length] .intval ≤ j → okval(st[r0 -- j '], ty) ⊦ r = r0, r0 = jvmref, okreftype(refval(r0), mkarraytype(ty), st) ∧ (0 ≤ j ∧ j < st[r0 -- _length] .intval → okval(st[r0 -- j '], ty)) |
st[r0 -- _length] = intval(i), r0 -- _type ∈ st, is_typevalue(st[r0 -- _type]), is_arraytype(st[r0 -- _type] .type), st[r0 -- _type] .type .type ≤ ty, r0 -- _length ∈ st, is_integervalue(st[r0 -- _length]), is_arrayref(r0, i, st), r0 ∈ st, 0 ≤ i, ∀ j. ¬ j < 0 ∧ ¬ i ≤ j → okval(st[r0 -- j '], ty) ⊦ r = r0, r0 = jvmref, okreftype(refval(r0), mkarraytype(ty), st) ∧ (0 ≤ j ∧ j < i → okval(st[r0 -- j '], ty))
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_integervalue(val) → ( i = val .intval ↔ val = intval(i))])], [EXTRATERMS : (st[r0 -- _length], i)]]