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