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