Intuitionistic Type Theory And Formal Proof