Philosophy of Mathematics and Philosophy of History