Logic and Philosophy of Mathematics in the Early