Type Theory And Formal Proof Examples