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