| st[r -- _type] .type = mkarraytype(byte_type), r -- _type ∈ st, is_typevalue(st[r -- _type]), r -- _length ∈ st, is_integervalue(st[r -- _length]), is_arrayref(r, st[r -- _length] .intval, st[r -- i ', byteval(by)]), r ∈ st, 0 ≤ st[r -- _length] .intval, i < 0 ∨ st[r -- _length] .intval ≤ i ∨ 0 ≤ i ∧ i < st[r -- _length] .intval ∧ r -- i ' ∈ st ∧ is_bytevalue(st[r -- i ']), ∀ j. ¬ j < 0 ∧ ¬ st[r -- _length] .intval ≤ j → is_bytevalue(st[r -- i ', byteval(by)][r -- j ']) ⊦ r = jvmref, okbytearray(r, st) |
st[r -- _length] = intval(i0), st[r -- _type] .type = mkarraytype(byte_type), r -- _type ∈ st, is_typevalue(st[r -- _type]), r -- _length ∈ st, is_integervalue(st[r -- _length]), is_arrayref(r, i0, st[r -- i ', byteval(by)]), r ∈ st, 0 ≤ i0, i < 0 ∨ i0 ≤ i ∨ 0 ≤ i ∧ i < i0 ∧ r -- i ' ∈ st ∧ is_bytevalue(st[r -- i ']), ∀ j. ¬ j < 0 ∧ ¬ i0 ≤ j → is_bytevalue(st[r -- i ', byteval(by)][r -- j ']) ⊦ r = jvmref, okbytearray(r, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_integervalue(val) → ( i = val .intval ↔ val = intval(i))])], [EXTRATERMS : (st[r -- _length], i0)]]