Formalization of the arithmetization of Euclidean plane geometry and applications

Abstract This paper describes the formalization of the arithmetization of Euclidean plane geometry in the Coq proof assistant. As a basis for this work, Tarski's system of geometry was chosen for its well-known metamathematical properties. This work completes our formalization of the two-dimensional results contained in part one of the book by Schwabhauser, Szmielew and Tarski Metamathematische Methoden in der Geometrie. We defined the arithmetic operations geometrically and proved that they verify the properties of an ordered field. Then, we introduced Cartesian coordinates, and provided characterizations of the main geometric predicates. In order to prove the characterization of the segment congruence relation, we provided a synthetic formal proof of two crucial theorems in geometry, namely the intercept and Pythagoras' theorems. To obtain the characterizations of the geometric predicates, we adopted an original approach based on bootstrapping: we used an algebraic prover to obtain new characterizations of the predicates based on already proven ones. The arithmetization of geometry paves the way for the use of algebraic automated deduction methods in synthetic geometry. Indeed, without a “back-translation” from algebra to geometry, algebraic methods only prove theorems about polynomials and not geometric statements. However, thanks to the arithmetization of geometry, the proven statements correspond to theorems of any model of Tarski's Euclidean geometry axioms. To illustrate the concrete use of this formalization, we derived from Tarski's system of geometry a formal proof of the nine-point circle theorem using the Grobner basis method. Moreover, we solve a challenge proposed by Beeson: we prove that, given two points, an equilateral triangle based on these two points can be constructed in Euclidean Hilbert planes. Finally, we derive the axioms for another automated deduction method: the area method.

[1]  Richard S. Millman,et al.  Geometry, a metric approach with models , 1981 .

[2]  Sana Stojanovic,et al.  Automated generation of machine verifiable and readable proofs: A case study of Tarski’s geometry , 2015, Annals of Mathematics and Artificial Intelligence.

[3]  Edwin E. Moise,et al.  Elementary Geometry from an Advanced Standpoint , 1965 .

[4]  Felix C. Klein,et al.  A comparative review of recent researches in geometry , 1893, 0807.3161.

[5]  Pascal Schreck,et al.  Higher-Order Intuitionistic Formalization and Proofs in Hilbert's Elementary Geometry , 2000, Automated Deduction in Geometry.

[6]  A. Tarski,et al.  Metamathematische Methoden in der Geometrie , 1983 .

[7]  Julien Narboux,et al.  A Decision Procedure for Geometry in Coq , 2004, TPHOLs.

[8]  Pascal Schreck,et al.  Using small scale automation to improve both accessibility and readability of formal proofs in geometry , 2014 .

[9]  John L. Bell,et al.  Hilbert's ϵ-Operator in Intuitionistic Type Theories , 1993, Math. Log. Q..

[10]  Pascal Schreck,et al.  A short note about case distinctions in Tarski's geometry , 2014 .

[11]  Julien Narboux,et al.  From Hilbert to Tarski , 2016 .

[12]  Laurent Fuchs,et al.  A Formalization of Grassmann-Cayley Algebra in COQ and Its Application to Theorem Proving in Projective Geometry , 2010, Automated Deduction in Geometry.

[13]  Jacques D. Fleuriot,et al.  Formalizing Hilbert's Grundlagen in Isabelle/Isar , 2003, TPHOLs.

[14]  George D. Birkhoff,et al.  A Set of Postulates for Plane Geometry, Based on Scale and Protractor , 1932 .

[15]  Pedro Quaresma,et al.  The Area Method , 2010, Journal of Automated Reasoning.

[16]  Victor Pambuccian,et al.  Zur Existenz gleichseitiger Dreiecke in H-Ebenen , 1998 .

[17]  Michael Beeson,et al.  A constructive version of Tarski's geometry , 2014, Ann. Pure Appl. Log..

[18]  Pascal Schreck,et al.  Parallel Postulates and Continuity Axioms: A Mechanized Study in Intuitionistic Logic Using Coq , 2017, Journal of Automated Reasoning.

[19]  Filip Maric,et al.  Formalizing complex plane geometry , 2015, Annals of Mathematics and Artificial Intelligence.

[20]  Predrag Janicic,et al.  GCLC - A Tool for Constructive Euclidean Geometry and More Than That , 2006, ICMS.

[21]  Felix . Klein,et al.  Vergleichende Betrachtungen über neuere geometrische Forschungen , 1893 .

[22]  Larry Wos,et al.  Finding Proofs in Tarskian Geometry , 2016, Journal of Automated Reasoning.

[23]  Xiao-Shan Gao,et al.  An Introduction to Java Geometry Expert - (Extended Abstract) , 2008, Automated Deduction in Geometry.

[24]  Alfred Tarski,et al.  Tarski's System of Geometry , 1999, Bulletin of Symbolic Logic.

[25]  Dongming Wang,et al.  Formalization and Specification of Geometric Knowledge Objects , 2009, Math. Comput. Sci..

[26]  Assia Mahboubi,et al.  Formal proofs in real algebraic geometry: from ordered fields to quantifier elimination , 2012 .

[27]  Michael Beeson,et al.  Proof and Computation in Geometry , 2012, Automated Deduction in Geometry.

[28]  Tomás Recio,et al.  Automated Theorem Proving in GeoGebra: Current Achievements , 2015, Journal of Automated Reasoning.

[29]  Pascal Schreck,et al.  Determining automatically compass and straightedge unconstructibility in triangles , 2016, SCSS.

[30]  Jesse Alama,et al.  Tarski Geometry Axioms , 2014, Formaliz. Math..

[31]  Ivan Petrović,et al.  Formalization and Implementation of Algebraic Methods in Geometry , 2011, THedu.

[32]  Matthieu Sozeau A New Look at Generalized Rewriting in Type Theory , 2009, J. Formaliz. Reason..

[33]  Pascal Schreck,et al.  Formalization of Wu's Simple Method in Coq , 2011, CPP.

[34]  Julien Narboux,et al.  Mechanical Theorem Proving in Tarski's Geometry , 2006, Automated Deduction in Geometry.

[35]  Julien Narboux,et al.  From Tarski to Hilbert , 2012, Automated Deduction in Geometry.

[36]  Wenjun Wu,et al.  Mechanical Theorem Proving in Geometries , 1994, Texts and Monographs in Symbolic Computation.

[37]  H. S. M. Coxeter,et al.  Foundations of Geometry , 1962, Mathematical Gazette.

[38]  Tomás Recio,et al.  On the Unavoidable Uncertainty of Truth in Dynamic Geometry Proving , 2016, Math. Comput. Sci..

[39]  Timothy James McKenzie Makarios,et al.  A Mechanical Verification of  the Independence of Tarski's  Euclidean Axiom , 2012 .

[40]  Benjamin Grégoire,et al.  Proof Certificates for Algebra and Their Application to Automatic Geometry Theorem Proving , 2008, Automated Deduction in Geometry.

[41]  Julien Narboux,et al.  Towards a Certified Version of the Encyclopedia of Triangle Centers , 2016, Math. Comput. Sci..