| 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, compatarray(str, r0, addobj(r, class, [], st)) |
⊦ compatarray(str, r, st) ↔ is_arraytype(st[r -- _type] .type) ∧ 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 → compat(str, st[r -- j '], st[r -- _type] .type .type, st))
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)))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (addobj(r, class, [], st), r0, str)]]