speed up and shorten a proof via a do_app_pat_cases lemma

probably would work in previous ILs as well
Asub cannot be a pure op, since it might raise size exception
update proof of pure_pat_correct