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