| newref(r, st), is_classtype(ty), class∃(str, ty .class), junkrefs(str, r ' + refs0, mkarraytype(ty), addarray(r, ty, vals, st)), ∀ val. val ∈ vals → ¬ junkref(str, val .refval, st) ∧ is_referencevalue(val) ∧ (val .refval ≠ jvmref → st[val .refval -- _type] .type ≤ ty) ⊦ r = jvmref, is_array(str, r, addarray(r, ty, vals, st)) |
⊦ is_array(str, r, st) ↔ type∃(str, st[r -- _type] .type) ∧ st[r -- _type] .type .jtelemtype ≠ void_type ∧ st[r -- _type] .type .jtelemtype ≠ abstract_type ∧ is_array(r, st)
newref(r, st), is_classtype(ty), class∃(str, ty .class), junkrefs(str, r ' + refs0, mkarraytype(ty), addarray(r, ty, vals, st)), ∀ val. val ∈ vals → ¬ junkref(str, val .refval, st) ∧ is_referencevalue(val) ∧ (val .refval ≠ jvmref → st[val .refval -- _type] .type ≤ ty) ⊦ r = jvmref, type∃(str, (addarray(r, ty, vals, st)[r -- _type]) .type) ∧ (addarray(r, ty, vals, st)[r -- _type]) .type .jtelemtype ≠ void_type ∧ (addarray(r, ty, vals, st)[r -- _type]) .type .jtelemtype ≠ abstract_type ∧ is_array(r, addarray(r, ty, vals, st))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (addarray(r, ty, vals, st), r, str)]]