An Introduction to Mathematical Logic and Type Theory: To Truth Through Proof (Applied Logic Series)