| vals[i→n(i)] = refval(r0), refval(r0) ∈ vals, 0 ≤ i, i < n→i(# vals), is_array(str, r, addarray(r, ty, vals, st)), is_reftype(ty), type∃(str, ty), newref(r, st), validref(str, r0, ty, st), ¬ (addarray(r, ty, vals, st)[r0 -- _type]) .type ≤ ty ∨ junkref(str, r0, addarray(r, ty, vals, st)) ⊦ r0 = jvmref, r = jvmref, ty .jtelemtype = abstract_type, ty .jtelemtype = void_type, vals = [] |
⊦ newref(r, st) ∧ r0 ∈ st → (addarray(r, ty, vals, st)[r0 -- sk]) = st[r0 -- sk]
⊦ ¬ r ∈ st ∧ r ≠ jvmref → ¬ validref(str, r, ty, st)
newref(r, st) ∧ r0 ∈ st, vals[i→n(i)] = refval(r0), refval(r0) ∈ vals, 0 ≤ i, i < n→i(# vals), is_array(str, r, addarray(r, ty, vals, st)), is_reftype(ty), type∃(str, ty), newref(r, st), validref(str, r0, ty, st), ¬ st[r0 -- _type] .type ≤ ty ∨ junkref(str, r0, addarray(r, ty, vals, st)) ⊦ r0 = jvmref, r = jvmref, ty .jtelemtype = abstract_type, ty .jtelemtype = void_type, vals = []
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (_type, r0, st, vals, ty, r)]]