⊦ getarray(r, 0, n→i(# vals), addarray(r, ty, vals, st)) = vals
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, byte_type, vals, r)]]