Formalization of Foundations of Geometry an Overview of the Geocoq Library

Formalization of Foundations of Geometry an Overview of the Geocoq Library

Formalization of Foundations of Geometry An overview of the GeoCoq library Julien Narboux (_Unité_de_formation_et_de_recherche_))_) (de_mathématique_et_d’informatique_)_) ()_Université_de_Strasbourg_))))___) March 2017, Argo Group Seminar Julien Narboux (Unistra) GeoCoq Belgrade 1 / 44 1 Overview of GeoCoq Foundations 2 Arithmetization of Geometry Addition Multiplication 3 A mechanized study about the parallel postulates 4 Towards a formalization of the Elements Julien Narboux (Unistra) GeoCoq Belgrade 2 / 44 GeoCoq An Open Source library about foundations of geometry Written by Gabriel Braun, Pierre Boutry, Charly Gries and Julien Narboux License: LGPL3 3500 lemmas, 130kloc Julien Narboux (Unistra) GeoCoq Belgrade 3 / 44 Foundations of geometry 1 Synthetic geometry 2 Analytic geometry 3 Metric geometry 4 Transformations based approaches Julien Narboux (Unistra) GeoCoq Belgrade 4 / 44 Synthetic approach Assume some undefined geometric objects + geometric predicates + axioms . The name of the assumed types are not important. Hilbert’s axioms: types: points, lines and planes predicates: incidence, between, congruence of segments, congruence of angles Tarski’s axioms: types: points predicats:´ between, congruence . many variants Julien Narboux (Unistra) GeoCoq Belgrade 5 / 44 Notions primitives When we set out to construct a given discipline, we distinguish, first of all, a certain small group of expressions of this discipline that seem to us to be immediately understandable; the expressions in this group we call PRIMITIVE TERMS or UNDEFINED TERMS, and we employ them without explaining their meanings. At the same time we adopt the principle: not to employ any of the other expressions of the discipline under consideration, unless its meaning has first been determined with the help of primitive terms and of such expressions of the discipline whose meanings have been explained previously. The sentence which determines the meaning of a term in this way is called a DEFINITION,... Alfred Tarski, Introduction to Logic: and to the Methodology of Deductive Sciences, p 118 Julien Narboux (Unistra) GeoCoq Belgrade 6 / 44 Example of books using a synthetic approach: Euclide (1998). Les El´ ements´ . Les El´ ements´ David Hilbert (1899). Grundlagen der Geometrie. Grundlagen der Geometrie Borsuk and Szmielew: Foundations of Geometry Robin Hartshorne (2000). Geometry : Euclid and beyond. Undergraduate texts in mathematics Geometry: Euclid and Beyond Marvin J. Greenberg (1993). Euclidean and Non-Euclidean Geometries - Development and History. Euclidean and non-euclidean Geometries, Development and History Specht et. al.: Euclidean Geometry and its Subgeometries Julien Narboux (Unistra) GeoCoq Belgrade 7 / 44 Analytic approach We assume we have numbers (a field F). We define geometric objects by their coordinates. Points := Fn Julien Narboux (Unistra) GeoCoq Belgrade 8 / 44 Metric approach Compromise between synthetic and metric approach. We assume both: numbers (a field) geometric objects axioms Birkhoff’s axioms: points, lines, reals, ruler and protractor Chou-Gao-Zhang’s axioms: points, numbers, three geometric quantities Julien Narboux (Unistra) GeoCoq Belgrade 9 / 44 Examples of books using metric approach: E.E. Moise (1990). Elementary Geometry from an Advanced Standpoint. Richard S Millman and George D Parker (1991). Geometry, A Metric Approach with Models. Julien Narboux (Unistra) GeoCoq Belgrade 10 / 44 Transformation groups Erlangen program. Foundations of geometry based on group actions and invariants. Felix Klein Julien Narboux (Unistra) GeoCoq Belgrade 11 / 44 Comparison Synthetic Analytic Logical Reasoning Proof reuse between geometries ,/ Computations ,/ Automatic proofs /, /, Julien Narboux (Unistra) GeoCoq Belgrade 12 / 44 Overview of the axiom systems Hilbert’s Euclidean 2D Hilbert’s Plane Group I - Group II - Group III Group IV 2 1 4 Tarski’s Euclidean 2D Tarski’s Neutral 2D A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 3 Cartesian Plane over a pythagorean ordered field 3 Area-Method Axioms 1Gabriel Braun, Pierre Boutry, and Julien Narboux (2016). “From Hilbert to Tarski”. In: Eleventh International Workshop on Automated Deduction in Geometry. Proceedings of ADG 2016 2Gabriel Braun and Julien Narboux (2012). “From Tarski to Hilbert”. English. In: Post-proceedings of Automated Deduction in Geometry 2012. Vol. 7993. LNCS 3Pierre Boutry, Gabriel Braun, and Julien Narboux (2017). “Formalization of the Arithmetization of Euclidean Plane Geometry and Applications”. In: Journal of Symbolic Computation 4Pierre Boutry, Julien Narboux, and Pascal Schreck (2015). “Parallel postulates and decidability of intersection of lines: a mechanized study within Tarski’s system of geometry”. Arithmetization of Geometry Rene´ Descartes (1925). La geom´ etrie´ . Julien Narboux (Unistra) GeoCoq Belgrade 14 / 44 Addition A0 C0 E0 O E A B C Julien Narboux (Unistra) GeoCoq Belgrade 15 / 44 Multiplication B0 E0 O E A B C Julien Narboux (Unistra) GeoCoq Belgrade 16 / 44 Characterization of geometric predicates Geometric predicate Characterization 2 2 2 2 AB ≡ CD (xA − xB ) + (yA − yB ) − (xC − xD ) + (yC − yD ) = 0 t(x − x ) = x − x ^ Bet ABC 9t; 0 ≤ t ≤ 1 ^ C A B A t(yC − yA) = yB − yA Col A B C (xA − xB )(yB − yC ) − (yA − yB )(xB − xC ) = 0 2x − (x + x ) = 0 ^ I midpoint of AB I A B 2yI − (yA + yB ) = 0 PerABC (xA − xB )(xB − xC ) + (yA − yB )(yB − yC ) = 0 (xA − xB )(xC − xD ) + (yA − yB )(yC − yC ) = 0 ^ AB k CD (xA − xB )(xA − xB ) + (yA − yB )(yA − yB ) 6= 0 ^ (xC − xD )(xC − xD ) + (yC − yD )(yC − yD ) 6= 0 (xA − xB )(yC − yD ) − (yA − yB )(xC − xD ) = 0 ^ AB ? CD (xA − xB )(xA − xB ) + (yA − yB )(yA − yB ) 6= 0 ^ (xC − xD )(xC − xD ) + (yC − yD )(yC − yD ) 6= 0 Julien Narboux (Unistra) GeoCoq Belgrade 17 / 44 Formalization technique: bootstrapping Manually bet, cong, equality, col Automatically midpoint, right triangles, parallelism and perpendicularity Julien Narboux (Unistra) GeoCoq Belgrade 18 / 44 + + + Archimedes Aristotle Greenberg Continuity properties Dedekind Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 + + + Aristotle Greenberg Continuity properties Dedekind Archimedes Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 + + + Greenberg Continuity properties Dedekind Archimedes Aristotle Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 + + + Greenberg Continuity properties Dedekind Q P s Y Archimedes C Aristotle B A X Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 + + + Continuity properties Q P Dedekind R Archimedes C B α A Aristotle S Greenberg Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 + + + Continuity properties Dedekind Archimedes Aristotle Greenberg Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 Continuity properties Dedekind + Archimedes + Aristotle + Greenberg Julien Narboux (Unistra) GeoCoq Belgrade 19 / 44 Circle-Line Circle-Circle Segment-Circle / Line-Circle continuity Q B Z Circle-Segment A P Julien Narboux (Unistra) GeoCoq Belgrade 20 / 44 Circle-Circle Segment-Circle / Line-Circle continuity B Z Circle-Segment A Circle-Line P Julien Narboux (Unistra) GeoCoq Belgrade 20 / 44 Segment-Circle / Line-Circle continuity P B Z D Q Circle-Segment A Circle-Line C Circle-Circle Julien Narboux (Unistra) GeoCoq Belgrade 20 / 44 Continuity (overview) Dedekind Cantor Archimedes Circle/Line Circle/Circle Aristotle Circle/Segment Circle/Circle2 Greenberg Julien Narboux (Unistra) GeoCoq Belgrade 21 / 44 Algebra/Geometry Continuity Axiom ordered Pythagorean field5 circle/line continuity ordered Euclidean field 6 FO Dedekind cuts real closed field 7 Dedekind reals 5the sum of squares is a square 6positive are square 7F is euclidean and every polynomial of odd degree has at least one root in F. Julien Narboux (Unistra) GeoCoq Belgrade 22 / 44 except line intersection Logic Intuitionist logic 8 Assuming : 8A; B : Points, A = B _ A 6= B We prove : excluded middle for all other predicates, 8Pierre Boutry et al. (2014). “A short note about case distinctions in Tarski’s geometry”. In: Automated Deduction in Geometry 2014. Proceedings of ADG 2014 Julien Narboux (Unistra) GeoCoq Belgrade 23 / 44 Logic Intuitionist logic 8 Assuming : 8A; B : Points, A = B _ A 6= B We prove : excluded middle for all other predicates, except line intersection 8Pierre Boutry et al. (2014). “A short note about case distinctions in Tarski’s geometry”. In: Automated Deduction in Geometry 2014. Proceedings of ADG 2014 Julien Narboux (Unistra) GeoCoq Belgrade 23 / 44 Constructive geometry Jan von Plato (1998). “A constructive theory of ordered affine geometry”. In: Indagationes Mathematicae. Vol. 9 Michael Beeson (2015a). “A constructive version of Tarski’s geometry”. In: Annals of Pure and Applied Logic 166.11 Michael Beeson (2015b). “Constructive geometry and the parallel postulate”. In: Bulletin of Symbolic Logic accepted pending revisions Julien Narboux (Unistra) GeoCoq Belgrade 24 / 44 Outline 1 Overview of GeoCoq 2 Arithmetization of Geometry 3 A mechanized study about the parallel postulates 4 Towards a formalization of the Elements Julien Narboux (Unistra) GeoCoq Belgrade 25 / 44 Euclid 5th postulate “If two lines are drawn which intersect a third in such a way that the sum of the inner angles on one side is less than two right angles, then the two lines inevitably must intersect each other on that side if extended far enough.” Julien Narboux (Unistra) GeoCoq Belgrade 26 / 44 Incorrect proofs during centuries Independence Some equivalent statements Escher, Circle Limit IV, 1960 History A less obvious postulate Julien Narboux (Unistra) GeoCoq Belgrade 27 / 44 Independence Some

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    62 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us