wip standalone corr thm for terminates
standalone correctness (almost) proved