| is_primtype(ty), okreftype(refval(r), mkarraytype(ty), 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 '], ty, st)), r ∈ st, is_array(r, st), ¬ st[r -- _type] .type ≤ mkarraytype(ty) ∨ st[r -- _type] .type .jtelemtype = abstract_type ∨ st[r -- _type] .type .jtelemtype = void_type ∨ ¬ type∃(str, st[r -- _type] .type) ⊦ r = jvmref |
is_primtype(ty), okreftype(refval(r), mkarraytype(ty), st), r -- _length ∈ st, is_arrayref(r, st[r -- _length] .intval, st), is_array(r, st), r ∈ st, 0 ≤ st[r -- _length] .intval, ¬ st[r -- _type] .type ≤ mkarraytype(ty) ∨ st[r -- _type] .type .jtelemtype = abstract_type ∨ st[r -- _type] .type .jtelemtype = void_type ∨ ¬ type∃(str, st[r -- _type] .type), ∀ j. ¬ j < 0 ∧ ¬ st[r -- _length] .intval ≤ j → okval(st[r -- j '], ty) ⊦ r = jvmref
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPSEQ : ⊦ oktype(val, ty, st) ↔ okval(val, ty)], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ is_array(r, st) → is_integervalue(st[r -- _length])])]]