| 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), exactarray(r0, byte_type, st), i + j ≤ st[r0 -- _length] .intval, r ∈ st, r0 ∈ st, 0 ≤ i, 0 ≤ j ⊦ r = jvmref, r0 = jvmref, r -- _type ∈ st ∧ is_typevalue(st[r -- _type]) ∧ st[r -- _type] .type = mkarraytype(byte_type) ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ is_arrayref(r, st[r -- _length] .intval, arraycopy(r0, i, r, i0, j, st)) |
⊦ 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), exactarray(r0, byte_type, st), i + j ≤ st[r0 -- _length] .intval, r0 ∈ st, 0 ≤ i, 0 ≤ j, r -- _type ∈ st, is_typevalue(st[r -- _type]), 0 ≤ st[r -- _length] .intval, r ∈ st ⊦ r0 = jvmref, r = jvmref, is_arrayref(r, st[r -- _length] .intval, arraycopy(r0, i, r, i0, j, st))
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))])]]