correctness proof of [proj] from DB terms to PHOAS terms