| st[r0 -- _length] = intval(i), st[r0 -- _type] = typeval(mkarraytype(ty0)), 0 < i, 0 ≤ j, j < i, 0 ≤ i, is_predefined_class(class), newref(r, st), compatmode(str, st), compatstatic(str, st), r0 -- _type ∈ st, r0 ∈ st, is_arrayref(r0, i, st), r0 -- _length ∈ st, is_referencevalue(st[r0 -- j ']), okval(st[r0 -- j '], ty0) ∧ ( is_referencevalue(st[r0 -- j ']) ∧ st[r0 -- j '] .refval ≠ jvmref → st[r0 -- j '] .refval -- _type ∈ st ∧ is_typevalue(st[st[r0 -- j '] .refval -- _type]) ∧ is_reftype(st[st[r0 -- j '] .refval -- _type] .type) ∧ (has_classtype(st[st[r0 -- j '] .refval -- _type] .type) → tdname+∃(str, st[st[r0 -- j '] .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[st[r0 -- j '] .refval -- _type] .type) → class+∃(str, st[st[r0 -- j '] .refval -- _type] .type .class)) ∧ asgcomp(str, st[r0 -- j '], ty0, st)), ∀ j0. ¬ j0 < 0 ∧ ¬ i ≤ j0 → compat(str, st[r0 -- j0 '], ty0, st), ¬ has_classtype(ty0) ∨ tdname+∃(str, ty0 .jtelemtype .class) ⊦ r = jvmref, r0 = jvmref, compat(str, st[r0 -- j '], ty0, st[r -- _type, typeval(mkclasstype(class))]) |
st[r0 -- _length] = intval(i), st[r0 -- _type] = typeval(mkarraytype(ty0)), 0 < i, 0 ≤ j, j < i, 0 ≤ i, is_predefined_class(class), newref(r, st), compatmode(str, st), compatstatic(str, st), r0 -- _type ∈ st, r0 ∈ st, is_arrayref(r0, i, st), r0 -- _length ∈ st, is_referencevalue(st[r0 -- j ']), okval(st[r0 -- j '], ty0), ∀ j0. ¬ j0 < 0 ∧ ¬ i ≤ j0 → compat(str, st[r0 -- j0 '], ty0, st), ¬ has_classtype(ty0) ∨ tdname+∃(str, ty0 .jtelemtype .class), st[r0 -- j '] .refval ≠ jvmref → st[r0 -- j '] .refval -- _type ∈ st ∧ is_typevalue(st[st[r0 -- j '] .refval -- _type]) ∧ is_reftype(st[st[r0 -- j '] .refval -- _type] .type) ∧ (has_classtype(st[st[r0 -- j '] .refval -- _type] .type) → tdname+∃(str, st[st[r0 -- j '] .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[st[r0 -- j '] .refval -- _type] .type) → class+∃(str, st[st[r0 -- j '] .refval -- _type] .type .class)) ∧ is_subtype(str, st[st[r0 -- j '] .refval -- _type] .type, ty0) ⊦ r = jvmref, r0 = jvmref, compat(str, st[r0 -- j '], ty0, st[r -- _type, typeval(mkclasstype(class))])
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ asgcomp(str, val, ty, st) ↔ ¬ is_referencevalue(val) ∨ val .refval = jvmref ∨ is_subtype (str, st[val .refval -- _type] .type, ty)])]]