Formalization of an ntcc proof system in coq