| is_bytelist(vals) ⊦ r = jvmref, okarray(r, byte_type, addarray(r, byte_type, vals, st)) |
⊦ okarray(r, ty, st) ↔ okreftype(refval(r), mkarraytype(ty), st) ∧ r ≠ jvmref ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. 0 ≤ j ∧ j < st[r -- _length] .intval → oktype(st[r -- j '], ty, st))
is_bytelist(vals) ⊦ r = jvmref, okreftype(refval(r), mkarraytype(byte_type), addarray(r, byte_type, vals, st)) ∧ r ≠ jvmref ∧ r -- _length ∈ addarray(r, byte_type, vals, st) ∧ is_integervalue(addarray(r, byte_type, vals, st)[r -- _length]) ∧ 0 ≤ (addarray(r, byte_type, vals, st)[r -- _length]) .intval ∧ is_arrayref(r, (addarray(r, byte_type, vals, st)[r -- _length]) .intval, addarray(r, byte_type, vals, st)) ∧ (∀ j. 0 ≤ j ∧ j < (addarray(r, byte_type, vals, st)[r -- _length]) .intval → oktype(addarray(r, byte_type, vals, st)[r -- j '], byte_type, addarray(r, byte_type, vals, st)))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (addarray(r, byte_type, vals, st), byte_type, r)]]