mechanical theorem proving in tarski s geometry
play

Mechanical Theorem Proving in Tarskis Geometry. Julien Narboux - PowerPoint PPT Presentation

Mechanical Theorem Proving in Tarskis Geometry. Julien Narboux under the supervision of Hugo Herbelin LIX, INRIA Futurs, Ecole Polytechnique 31/08/2006, Pontevedra, Spain Outline 1 Interactive proof / Automated theorem proving 2


  1. Mechanical Theorem Proving in Tarski’s Geometry. Julien Narboux under the supervision of Hugo Herbelin LIX, INRIA Futurs, ´ Ecole Polytechnique 31/08/2006, Pontevedra, Spain

  2. Outline 1 Interactive proof / Automated theorem proving 2 Tarski’s axioms 3 Overview of the formalization 4 Degenerated cases 5 Comparison with related work

  3. Interactive proof • The proof assistants only check that the proof is correct.

  4. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized.

  5. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable.

  6. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task !

  7. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task !

  8. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task ! Automated proof • The ATP generates the proof.

  9. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task ! Automated proof • The ATP generates the proof. • � Not every theorem can be proved automatically.

  10. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task ! Automated proof • The ATP generates the proof. • � Not every theorem can be proved automatically. • � But in geometry there exists efficient methods.

  11. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task ! Automated proof • The ATP generates the proof. • � Not every theorem can be proved automatically. • � But in geometry there exists efficient methods.

  12. Interactive proof • The proof assistants only check that the proof is correct. • � Any proof can be formalized. • � The proofs generated are very reliable. • � But it is a tedious task ! Automated proof • The ATP generates the proof. • � Not every theorem can be proved automatically. • � But in geometry there exists efficient methods. My goal is to merge the two approaches.

  13. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95]

  14. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00]

  15. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00] • Laura Meikle and Jacques Fleuriot (Isabelle) [MF03]

  16. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00] • Laura Meikle and Jacques Fleuriot (Isabelle) [MF03] • Fr´ ed´ erique Guilhot (Coq) [Gui05]

  17. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00] • Laura Meikle and Jacques Fleuriot (Isabelle) [MF03] • Fr´ ed´ erique Guilhot (Coq) [Gui05] • Julien Narboux (Coq) [Nar04]

  18. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00] • Laura Meikle and Jacques Fleuriot (Isabelle) [MF03] • Fr´ ed´ erique Guilhot (Coq) [Gui05] • Julien Narboux (Coq) [Nar04]

  19. Related Work Formalization of geometry • Gilles Khan (Coq) [Kah95] • Christophe Dehlinger, Jean-Fran¸ cois Dufourd and Pascal Schreck (Coq) [DDS00] • Laura Meikle and Jacques Fleuriot (Isabelle) [MF03] • Fr´ ed´ erique Guilhot (Coq) [Gui05] • Julien Narboux (Coq) [Nar04] Tarski’s axioms • Art Quaife (Otter)[Qua89]

  20. Motivations • We need foundations to combine the different formal developments.

  21. Motivations • We need foundations to combine the different formal developments. Why Tarski’s axioms ? • They are simple.

  22. Motivations • We need foundations to combine the different formal developments. Why Tarski’s axioms ? • They are simple. • They have good meta-mathematical properties.

  23. Motivations • We need foundations to combine the different formal developments. Why Tarski’s axioms ? • They are simple. • They have good meta-mathematical properties. • They can be generalized to different dimensions and geometries.

  24. The Coq proof assistant • Interactive proof • But some automation is available • Intuitionist logic • Proofs are performed using tactics

  25. To trust proofs verified by Coq you need to trust: • The theory behind Coq

  26. To trust proofs verified by Coq you need to trust: • The theory behind Coq • The Coq kernel implementation

  27. To trust proofs verified by Coq you need to trust: • The theory behind Coq • The Coq kernel implementation • The Objective Caml compiler

  28. To trust proofs verified by Coq you need to trust: • The theory behind Coq • The Coq kernel implementation • The Objective Caml compiler • Your hardware

  29. To trust proofs verified by Coq you need to trust: • The theory behind Coq • The Coq kernel implementation • The Objective Caml compiler • Your hardware • Your axioms

  30. Tarski’s axioms Points (no lines, no planes). Two predicates : • equidistance ≡ • betweeness β

  31. Axioms 1 Reflexivity of equidistance AB ≡ BA 2 Pseudo-transitivity of equidistance AB ≡ PQ ∧ AB ≡ RS ⇒ PQ ≡ RS 3 Identity of equidistance AB ≡ CC ⇒ A = B

  32. 4 Segment construction ∃ X , β Q A X ∧ AX ≡ BC b C b B b X b A b Q

  33. 5 Five segments A � = B ∧ β A B C ∧ β A ′ B ′ C ′ ∧ ⇒ CD ≡ C ′ D ′ AB ≡ A ′ B ′ ∧ BC ≡ B ′ C ′ ∧ AD ≡ A ′ D ′ ∧ BD ≡ B ′ D ′ D D’ b b b b b b b b A B C A’ B’ C’

  34. 5 1 Five segments (variant) A � = B ∧ B � = C ∧ β A B C ∧ β A ′ B ′ C ′ ∧ ⇒ CD ≡ C ′ D ′ AB ≡ A ′ B ′ ∧ BC ≡ B ′ C ′ ∧ AD ≡ A ′ D ′ ∧ BD ≡ B ′ D ′

  35. 6 Identity of betweeness β A B A ⇒ A = B

  36. 7 Pasch (inner) β A P C ∧ β B Q C ⇒ ∃ X , β P X B ∧ β Q X A 7 1 Pasch (outer) β A P C ∧ β Q C B ⇒ ∃ X , β A X Q ∧ β B P X 7 2 Pasch (outer) (Variant) β A P C ∧ β Q C B ⇒ ∃ X , β A X Q ∧ β X P B 7 3 Pasch weak β A T D ∧ β B D C ⇒ ∃ X , Y , β A X B ∧ β A Y C ∧ β Y T X

  37. B C b b P b C b b Q P b b A X b b Q b b b B A X Inner Outer C b Y b b D b T A b b X b B Weak

  38. 8(2) Dimension, lower bound 2 ∃ ABC , ¬ β A B C ∧ ¬ β B C A ∧ ¬ β C A B 8( n ) Dimension, lower bound n � 1 ≤ i < j < n p i � = p j ∧ � n − 1 ∃ ABCP 1 P 2 . . . P n − 1 , i =2 AP 1 ≡ AP i ∧ BP 1 ≡ BP i ∧ CP 1 ≡ CP i ∧ ¬ β A B C ∧ ¬ β B C A ∧ ¬ β C A B

  39. 9( n ) Dimension, upper bound n � 1 ≤ i < j ≤ n p i � = p j ∧ AP 1 ≡ AP i ∧ ⇒ β A B C ∨ β B C A ∨ β C A B � n BP 1 ≡ BP i ∧ i =2 CP 1 ≡ CP i

  40. 10 Euclid’s axiom β A D T ∧ β B D C ∧ A � = D ⇒ ∃ X , Y β A B X ∧ β A C Y ∧ β X T Y A b B b b D C b b X b b Y T

  41. 11 Continuity ∃ a , ∀ xy , ( x ∈ X ∧ y ∈ Y ⇒ β a x y ) ⇒ ∃ b , ∀ xy , x ∈ X ∧ y ∈ Y ⇒ β x b y Schema 11 Continuity (schema) ∃ a , ∀ xy , ( α ∧ β ⇒ β a x y ) ⇒ ∃ b , ∀ xy , α ∧ β ⇒ β x b y where α and β are first order formulas, such that a , b and y do not appear free in α and a , b and x do not appear free in β .

  42. 12 Reflexivity of β β A B B 14 Symmetry of β β A B C ⇒ β C B A 13 Compatibility with equality of β A = B ⇒ β A B A 19 Compatibility with equality of ≡ A = B ⇒ AC ≡ BC

  43. 15 Transitivity (inner) of β β A B D ∧ β B C D ⇒ β A B C 16 Transitivity (outer) of β β A B C ∧ β B C D ∧ B � = C ⇒ β A B D b b b b A B C D

  44. 17 Pseudo-transitivity (inner) of β β A B D ∧ β A C D ⇒ β A B C ∨ β A C B 18 Pseudo-transitivity (outer) of β β A B C ∧ β A B D ∧ A � = B ⇒ β A C D ∨ β A D C × × × × b b b b b b A C B C D A B C D C Axiom 17 Axiom 18

  45. 20 Unicity of the triangle construction AC ≡ AC ′ ∧ BC ≡ BC ′ ∧ β A D B ∧ β A D ′ B ∧ β C D X ∧ ⇒ C = C ′ β C ′ D ′ X ∧ D � = X ∧ D ′ � = X 20 1 Unicity of the triangle construction (variant) A � = B ∧ AC ≡ AC ′ ∧ BC ≡ BC ′ ∧ ⇒ C = C ′ β B D C ′ ∧ ( β A D C ∨ β A C D ) 21 Existence of the triangle construction AB ≡ A ′ B ′ ⇒ ∃ CX , AC ≡ A ′ C ′ ∧ BC ≡ B ′ C ′ ∧ β C X P ∧ ( β A B X ∨ β B X A ∨ β X A B )

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend