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