The Foundations of Mathematics and Other Logical Essays