| st[r0 -- _type] = typeval(mkarraytype(ty0)), r0 ∈ st, r0 -- _type ∈ st, compatstatic(str, st), compatmode(str, st), newref(r, st), is_predefined_class(class), ¬ has_classtype(ty0) ∨ tdname+∃(str, ty0 .jtelemtype .class), ¬ has_classtype(ty0) ∨ class∃(str, ty0 .jtelemtype .class) ∨ interface∃(str, ty0 .jtelemtype .class) ∨ is_predefined_class(ty0 .jtelemtype .class) → compatarray(str, r0, st) ⊦ r0 = jvmref, r = jvmref, is_arraytype((addobj(r, class, [], st)[r0 -- _type]) .type) ∧ r0 -- _length ∈ addobj(r, class, [], st) ∧ is_integervalue(addobj(r, class, [], st)[r0 -- _length]) ∧ 0 ≤ (addobj(r, class, [], st)[r0 -- _length]) .intval ∧ is_arrayref(r0, (addobj(r, class, [], st)[r0 -- _length]) .intval, addobj(r, class, [], st)) ∧ (∀ j. 0 ≤ j ∧ j < (addobj(r, class, [], st)[r0 -- _length]) .intval → compat(str, addobj(r, class, [], st)[r0 -- j '], (addobj(r, class, [], st)[r0 -- _type]) .type .type, addobj(r, class, [], st))) |
st[r0 -- _type] = typeval(mkarraytype(ty0)), is_predefined_class(class), newref(r, st), compatmode(str, st), compatstatic(str, st), r0 -- _type ∈ st, r0 ∈ st, ¬ has_classtype(ty0) ∨ class∃(str, ty0 .jtelemtype .class) ∨ interface∃(str, ty0 .jtelemtype .class) ∨ is_predefined_class(ty0 .jtelemtype .class) → compatarray(str, r0, st), ¬ has_classtype(ty0) ∨ tdname+∃(str, ty0 .jtelemtype .class) ⊦ r = jvmref, r0 = jvmref, (0 ≤ j ∧ j < st[r0 -- _length] .intval → compat(str, st[r0 -- j '], ty0, addobj(r, class, [], st))) ∧ is_arrayref(r0, st[r0 -- _length] .intval, addobj(r, class, [], st)) ∧ ¬ st[r0 -- _length] .intval < 0 ∧ is_integervalue(st[r0 -- _length]) ∧ r0 -- _length ∈ addobj(r, class, [], st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ mkarraytype(ty) .type = ty], [CSIMPSEQ : ⊦ is_arraytype(mkarraytype(ty))], [CSIMPSEQ : ⊦ typeval(ty) .type = ty], [CSIMPSEQ : ⊦ (addobj(r, class, [], st) [r0 -- i ' ] ) = st[r0 -- i ']], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ¬ _length ∈ fis ⊦ (addobj(r0, class, fis, st) [r -- _length ] ) = st[r -- _length]], [CSIMPSEQ : ⊦ ¬ sk ∈ []], [CSIMPSEQ : ⊦ r0 ∈ st ∧ newref(r, st) → (addobj(r, class1, fis, st) [r0 -- sk ] ) = st[r0 -- sk]])]]