| st[r -- _type] .type = mkarraytype(ty), st[r -- _length] = intval(i), 0 ≤ i, r -- _length ∈ st, is_arrayref(r, i, st), r ∈ st, j < i, 0 ≤ j, 0 < i, compat(str, st[r -- j '], ty, st) ⊦ r = jvmref, compat(str, st[r -- j '], ty, st[_mode, val]) |
⊦ compat(str, val, ty, st) ↔ okval(val, ty) ∧ ( is_referencevalue(val) ∧ val .refval ≠ jvmref → val .refval -- _type ∈ st ∧ is_typevalue(st[val .refval -- _type]) ∧ is_reftype(st[val .refval -- _type] .type) ∧ (has_classtype(st[val .refval -- _type] .type) → tdname+∃(str, st[val .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[val .refval -- _type] .type) → class+∃(str, st[val .refval -- _type] .type .class)) ∧ asgcomp(str, val, ty, st))
st[r -- _type] .type = mkarraytype(ty), st[r -- _length] = intval(i), 0 ≤ i, r -- _length ∈ st, is_arrayref(r, i, st), r ∈ st, j < i, 0 ≤ j, 0 < i, okval(st[r -- j '], ty) ∧ ( is_referencevalue(st[r -- j ']) ∧ st[r -- j '] .refval ≠ jvmref → st[r -- j '] .refval -- _type ∈ st ∧ is_typevalue(st[st[r -- j '] .refval -- _type]) ∧ is_reftype(st[st[r -- j '] .refval -- _type] .type) ∧ (has_classtype(st[st[r -- j '] .refval -- _type] .type) → tdname+∃(str, st[st[r -- j '] .refval -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[st[r -- j '] .refval -- _type] .type) → class+∃(str, st[st[r -- j '] .refval -- _type] .type .class)) ∧ asgcomp(str, st[r -- j '], ty, st)) ⊦ r = jvmref, compat(str, st[r -- j '], ty, st[_mode, val])
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, st[r -- j '], str)]]