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