The Relation of the Principles of Logic to the Foundations of Geomety