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