| is_bytevalue(val), okreftype(refval(r), mkarraytype(byte_type), 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 '], byte_type, st)), r ∈ st ⊦ r = jvmref, is_referencevalue(refval(r)) ∧ ( refval(r) .refval ≠ jvmref → refval(r) .refval -- _type ∈ st[r -- i ', val] ∧ is_typevalue(st[r -- i ', val][refval(r) .refval -- _type]) ∧ (st[r -- i ', val][refval(r) .refval -- _type]) .type ≤ mkarraytype(byte_type)) ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ is_arrayref(r, st[r -- _length] .intval, st[r -- i ', val]) ∧ (0 ≤ j ∧ j < st[r -- _length] .intval → is_bytevalue(st[r -- i ', val][r -- j '])) |
⊦ okreftype(val, ty, st) ↔ is_referencevalue(val) ∧ (val .refval ≠ jvmref → val .refval -- _type ∈ st ∧ is_typevalue(st[val .refval -- _type]) ∧ st[val .refval -- _type] .type ≤ ty)
⊦ oktype(val, byte_type, st) ↔ is_bytevalue(val)
st[r -- _type] .type = mkarraytype(byte_type), r -- _length ∈ st, is_integervalue(st[r -- _length]), is_arrayref(r, st[r -- _length] .intval, st), is_bytevalue(val), r -- _type ∈ st, is_typevalue(st[r -- _type]), j < st[r -- _length] .intval, 0 ≤ st[r -- _length] .intval, r ∈ st, 0 ≤ j, 0 < st[r -- _length] .intval, ∀ j0. ¬ j0 < 0 ∧ ¬ st[r -- _length] .intval ≤ j0 → is_bytevalue(st[r -- j0 ']) ⊦ r = jvmref, is_bytevalue(st[r -- i ', val][r -- j '])
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ i < j ∧ 0 ≤ i → 0 < j], [CSIMPSEQ : ⊦ is_arrayref(r, i, st) → is_arrayref (r, i, st[r -- j ', val])], [CSIMPSEQ : ⊦ (st[r -- i ', val][r0 -- _type]) = st[r0 -- _type]], [CSIMPSEQ : ⊦ r -- _type ∈ st[r0 -- i ', val0] ↔ r -- _type ∈ st], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ ty ≤ mkarraytype(byte_type) ↔ ty = mkarraytype(byte_type)], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))])]]