Type Theory And Formal Proof Generator