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