cylindrical algebraic decomposition in coq
play

Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logro no - PowerPoint PPT Presentation

Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logro no 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Ile-de-France Ecole Polytechnique, Palaiseau November 8th 2010 This


  1. Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logro˜ no 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay – ˆ Ile-de-France ´ Ecole Polytechnique, Palaiseau November 8th 2010 This work has been partially funded by the FORMATH project, nr. 243847, of the FET program within the 7th Framework program of the European Commission. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 1 / 24

  2. Aim of these talks Issues related to quantifier the theory of real closed fields. In the context of the formalization of these results in the Coq proof assistant. Sketch of the lectures: ◮ Quantifier elimination, real closed fields ◮ Projection of semi-algebraic sets, from algebra to logics ◮ Cylindrical Algebraic Decomposition ◮ Topics in formal proofs in real algebraic geometry A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 2 / 24

  3. The language of ring Terms are: Variables : x , y , . . . Constants 0 and 1 Opposites: − t Sums: t 1 + t 2 Differences: t 1 − t 2 Products: t 1 ∗ t 2 Terms are polynomial expressions in the variables. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 3 / 24

  4. First order formulas in the language of ordered rings Atoms are: Equalities: t 1 = t 2 Inequalities: t 1 ≥ t 2 , t 1 > t 2 , t 1 ≤ t 2 , t 1 < t 2 Formulas are: Atoms Conjunctions: F 1 ∧ F 2 Disjunctions: F 1 ∨ F 2 Negations: ¬ F Implications: F 1 ⇒ F 2 Quantifications: ∃ x , F , ∀ x , F Formulas are quantified systems of polynomial constraints. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 4 / 24

  5. A taste of the first order language of ordered rings ” Any polynomial of degree one has a real root.” y x A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 5 / 24

  6. A taste of the first order language of ordered rings ” Any polynomial of degree one has a real root.” y x ∀ a ∀ b , ∃ x , a ∗ x + b = 0 A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 5 / 24

  7. A taste of the first order language of ordered rings ” Any polynomial of degree two has at most two real roots.” y y y x x x A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 6 / 24

  8. A taste of the first order language of ordered rings ” Any polynomial of degree two has at most two real roots.” y y y x x x ∀ a ∀ b , ∀ c ∀ x ∀ y ∀ z , ( ax 2 + bx + c = 0 ∧ ay 2 + by + c = 0 ∧ az 2 + bz + c = 0) ⇒ ( x = y ∨ x = z ∨ y = z ) A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 6 / 24

  9. A taste of the first order language of ordered rings ” Any two ellipses have at most four intersection points.” A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 7 / 24

  10. A taste of the first order language of ordered rings ” Any two ellipses have at most four intersection points.” Similar to the previous example. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 7 / 24

  11. A taste of the first order language of ordered rings ” Any two ellipses have at most four intersection points.” Similar to the previous example. ” Any polynomial of degree 18 has at least one root.” A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 7 / 24

  12. A taste of the first order language of ordered rings ” Any two ellipses have at most four intersection points.” Similar to the previous example. ” Any polynomial of degree 18 has at least one root.” Difficult to prove yet syntactically correct. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 7 / 24

  13. A taste of the first order language of ordered rings ” Any polynomial has less roots than its degree.” A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 8 / 24

  14. A taste of the first order language of ordered rings ” Any polynomial has less roots than its degree.” This demands higher order. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 8 / 24

  15. A taste of the first order language of ordered rings ” Any polynomial has less roots than its degree.” This demands higher order. ” Any number is either rational or non rational.” A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 8 / 24

  16. A taste of the first order language of ordered rings ” Any polynomial has less roots than its degree.” This demands higher order. ” Any number is either rational or non rational.” The language is not precise enough. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 8 / 24

  17. Ordered rings, ordered fields The theory of discrete ordered rings is: ◮ The theory of rings ◮ A total order ≤ ◮ Compatibility of the order with ring operations A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 9 / 24

  18. Ordered rings, ordered fields The theory of discrete ordered rings is: ◮ The theory of rings ◮ A total order ≤ ◮ Compatibility of the order with ring operations The theory of discrete ordered fields is: ◮ Defined on an extended signature (inverse, quotient) ◮ The theory of fields ◮ A total order ≤ ◮ Compatibility of the order with field operations A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 9 / 24

  19. Ordered rings, ordered fields The theory of discrete ordered rings is: ◮ The theory of rings ◮ A total order ≤ ◮ Compatibility of the order with ring operations The theory of discrete ordered fields is: ◮ Defined on an extended signature (inverse, quotient) ◮ The theory of fields ◮ A total order ≤ ◮ Compatibility of the order with field operations Any first order formula in discrete ordered fields has an equivalent in the theory of discrete ordered fields (possibly with more quantifiers). A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 9 / 24

  20. Examples of real closed fields Real numbers Computable real numbers Real algebraic numbers The field of Puiseux series on a RCF R A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 10 / 24

  21. First order theory of real closed fields Theorem (Tarski (1948)) The classical theory of real closed fields admits quantifier elimination and is hence decidable. There exists an algorithm which proves or disproves any theorem of real algebraic geometry (which can be expressed in this first order language). A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 11 / 24

  22. Remarks We can decide whether an arbitrary given polynomial with rational coefficients has a root. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 12 / 24

  23. Remarks We can decide whether an arbitrary given polynomial with rational coefficients has a root. But we do not know whether this root is an integer or a rational. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 12 / 24

  24. Remarks We can decide whether an arbitrary given polynomial with rational coefficients has a root. But we do not know whether this root is an integer or a rational. There is indeed no algorithm to decide the solvability of diophantine equations (Matiyasevitch, 1970). A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 12 / 24

  25. Remarks There is an algorithm which determines: If your piano can be moved through the stairs and then to your dinning room; If a (specified)robot can reach a desired position from an initial state; The solution to Birkhoff interpolation problem; ... A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 13 / 24

  26. Remarks This algorithm gives the complete topological description of semi-algebraic varieties. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 14 / 24

  27. Remarks This algorithm gives the complete topological description of semi-algebraic varieties. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 14 / 24

  28. Remarks This algorithm gives the complete topological description of semi-algebraic varieties. Which seems a rather intricate problem... Thanks to Oliver Labs for the pictures. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 14 / 24

  29. Formalization in the Coq system The Coq system: a type theory based proof assistant. Coq is a (functional) programming language. Coq has such a rich type system that the types of objects can be theorem statements. In the absence of axiom, proofs should be intuitionistic. Examples. A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 15 / 24

  30. Quantifier Elimination A theory T on a language Σ with a set of variables V admits quantifier elimination if for every formula φ ( � x ) ∈ F (Σ , V ), there exists a quantifier free formula ψ ( � x ) ∈ F (Σ , V ) such that: T ⊢ ∀ � x , (( φ ( � x ) ⇒ ψ ( � x )) ∧ ( ψ ( � x ) ⇒ φ ( � x ))) A. Mahboubi (INRIA) Cylindrical Algebraic Decomposition in Coq November 8th 2010 16 / 24

Recommend


More recommend