quantifier elimination
play

Quantifier Elimination Assia Mahboubi Syntax of first order - PowerPoint PPT Presentation

Quantifier Elimination Assia Mahboubi Syntax of first order formulae Terms T on a signature and a set X of variables are: Syntax of first order formulae Terms T on a signature and a set X of variables are: Variables: x X


  1. Quantifier Elimination Assia Mahboubi

  2. Syntax of first order formulae Terms T on a signature Σ and a set X of variables are:

  3. Syntax of first order formulae Terms T on a signature Σ and a set X of variables are: ◮ Variables: x ∈ X ◮ Constants: c ∈ Σ, with arity 0 ◮ Composed terms: f ( t 1 , . . . , t n ), where f ∈ Σ has arity n and t 1 , . . . , t n ∈ T

  4. Syntax of first order formulae Given: ◮ Terms T on a signature Σ and a set X of variables; ◮ Atoms built on a predicate signature Ψ;

  5. Syntax of first order formulae Given: ◮ Terms T on a signature Σ and a set X of variables; ◮ Atoms built on a predicate signature Ψ; First order formulae F on Σ , Ψ are: ◮ false, true ⊥ , ⊤ ◮ atoms p ( t 1 , . . . , t k ) with p ∈ Ψ with arity k and t 1 , . . . , t k ∈ T ◮ negated formulae ¬ F for F ∈ F ◮ conjunction, disjunction, implication F 1 ∧ F 2 , F 1 ∨ F 2 , F 1 ⇒ F 2 for F 1 , F 2 ∈ F ◮ quantified formulae ∀ xF , ∃ xF for F ∈ F

  6. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } :

  7. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is:

  8. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is: ◮ well-formed ◮ true in the (usual) model of linear rational arithmetic; ◮ false in the (usual) model of natural number arithmetic

  9. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is: ◮ well-formed ◮ true in the (usual) model of linear rational arithmetic; ◮ false in the (usual) model of natural number arithmetic ◮ ∀ x , 2 x ≥ 0 is:

  10. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is: ◮ well-formed ◮ true in the (usual) model of linear rational arithmetic; ◮ false in the (usual) model of natural number arithmetic ◮ ∀ x , 2 x ≥ 0 is: ◮ well-formed ◮ is false in the (usual) model of linear rational arithmetic; ◮ is true in the (usual) model of natural number arithmetic

  11. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is: ◮ well-formed ◮ true in the (usual) model of linear rational arithmetic; ◮ false in the (usual) model of natural number arithmetic ◮ ∀ x , 2 x ≥ 0 is: ◮ well-formed ◮ is false in the (usual) model of linear rational arithmetic; ◮ is true in the (usual) model of natural number arithmetic ◮ ∀ x ∃ y , x ∗ y = 0 is:

  12. Expressivity of first order statements Consider Σ lin := { 0 , 1 , + , −} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x + y = 0 is: ◮ well-formed ◮ true in the (usual) model of linear rational arithmetic; ◮ false in the (usual) model of natural number arithmetic ◮ ∀ x , 2 x ≥ 0 is: ◮ well-formed ◮ is false in the (usual) model of linear rational arithmetic; ◮ is true in the (usual) model of natural number arithmetic ◮ ∀ x ∃ y , x ∗ y = 0 is: ◮ not a well-formed first-order statement on Σ lin , Ψ ord .

  13. Expressivity of first order statements Consider Σ ring := { 0 , 1 , + , − , ∗} and Ψ ord := { = , ≤ , ≥ , <, > } :

  14. Expressivity of first order statements Consider Σ ring := { 0 , 1 , + , − , ∗} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x ∗ y = 0

  15. Expressivity of first order statements Consider Σ ring := { 0 , 1 , + , − , ∗} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x ∗ y = 0 ◮ well-formed; ◮ valid in any instance of ring structure.

  16. Expressivity of first order statements Consider Σ ring := { 0 , 1 , + , − , ∗} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x ∗ y = 0 ◮ well-formed; ◮ valid in any instance of ring structure. ◮ ∀ n ∀ x ∀ y ∀ z , [ ¬ [( x = 0) ∧ ( y = 0) ∧ ( z = 0)] ∧ n > 2] ⇒ ¬ ( x n + y n = z n )

  17. Expressivity of first order statements Consider Σ ring := { 0 , 1 , + , − , ∗} and Ψ ord := { = , ≤ , ≥ , <, > } : ◮ ∀ x ∃ y , x ∗ y = 0 ◮ well-formed; ◮ valid in any instance of ring structure. ◮ ∀ n ∀ x ∀ y ∀ z , [ ¬ [( x = 0) ∧ ( y = 0) ∧ ( z = 0)] ∧ n > 2] ⇒ ¬ ( x n + y n = z n ) ◮ not a well-formed first-order statement on Σ ring , Ψ ord ; ◮ yet valid in the model of integer arithmetic (Wiles, 1995)

  18. Decidability of a first order theory For some ◮ term signature Σ, predicate signature Ψ and set of variables X ; ◮ theory T on these signatures; there is an algorithm which (terminates and) decides whether: T � F for any closed first-order formula F on Σ , Ψ. We say that T is decidable (its Σ , Ψ first-order consequences are).

  19. Quantifier elimination A theory T admits quantifier elimination if for every formula F ( x ), there exists a formula G ( x ) such that: ◮ For any model M of T , and any assignment e for x : M � e F iff M � e G ◮ G ( x ) is quantifier-free. Quantifier elimination reduces the decidability of formulae to the decidability of (closed) atoms.

  20. Reduction theorem Theorem: If: ◮ (i) for every atom p , for any model M and assignment e : M � e p ∨ ¬ p ◮ (ii) for every formula F ( x ) of the form: ∃ y , α 1 ( y , x ) ∧ . . . , ∧ α n ( y , x ) where each α i ( y , x ) is a literal, there is a formula G ( x ) such that for any model M and assignment e : ◮ M � e F ( x ) iff M � e G ( x ) ◮ G ( x ) is quantifier-free. Then theory T admits quantifier elimination (constructively).

  21. Reduction theorem By induction on the depth of the formula, eliminating first the inner-most quantifier.

  22. Reduction theorem Let F ( x ) := ∃ y , F 1 ( y , x ) with F 1 is quantifier free: ◮ We can put F 1 in DNF form: � � ⊢ F 1 ( y , x ) ⇔ [ ( α i , k ( y , x ))] k i ◮ Now the ∃ quantifier distributes over disjunctions: � � ⊢ [ ∃ y , F 1 ( y , x )] ⇔ [ ∃ y , ( α i , k ( y , x ))] k i ◮ And hypothesis (ii) applies for each k , and gives: � G k ( x ) k

  23. Reduction theorem Let F ( x ) := ∀ y , F 1 ( y , x ) with F 1 is quantifier free: ◮ F is (semantically) equivalent to ¬∃ y , ¬ F 1 ( y , x ); ◮ ¬ F 1 is quantifier free and can be converted in DNF form; ◮ and the rest of the proof is similar to the previous case.

  24. Meaning of the reduction theorem π 1 π 2 Polyhedrons, Semi-algebraic varieties, for linear arithmetics for non linear arithmetics

  25. Geometrical interpretation These can be highly non trivial results...

  26. Complexity issues ◮ Our sufficient criterium is good for theoretical intuition. ◮ But it crucially involves DNF conversion. More realistic algorithms require an additional ingredient.

  27. Linear integer arithmetic Signature: Σ := { 0 , 1 , + , −} and Ψ := { = , < } . Axioms: ◮ Total order: < is a total order ◮ Non trivial: ∀ x , ¬ (0 = x + 1) ◮ Regular successor: ∀ x , x + 1 = y + 1 ⇒ x = y ◮ Neutral zero: ∀ x , x + 0 = x ◮ Associativity: ∀ x ∀ y , x + ( y + 1) = ( x + y ) + 1 ◮ Additive inverse: ∀ x , x + ( − x ) = 0 ◮ Recursion scheme: for any first order statement P , [ P (0) ∧ ∀ x , ( P ( x ) ⇒ P ( x + 1))] ⇒ ∀ x , P ( x )

  28. Linear integer arithmetic ◮ This theory is decidable (Presburger, 1929).

  29. Linear integer arithmetic ◮ This theory is decidable (Presburger, 1929). ◮ This theory does not have quantifier elimination: ∃ x , y = x + x has no quantifier-free equivalent in this signature.

  30. Linear integer arithmetic ◮ This theory is decidable (Presburger, 1929). ◮ This theory does not have quantifier elimination: ∃ x , y = x + x has no quantifier-free equivalent in this signature. ◮ We hence extend Ψ with an infinite number of (divisibility) predicates n | . for n ≥ 2. By definition: n | y means ∃ x , y = x + · · · + x

  31. Linear integer arithmetic ◮ This theory is decidable (Presburger, 1929). ◮ This theory does not have quantifier elimination: ∃ x , y = x + x has no quantifier-free equivalent in this signature. ◮ We hence extend Ψ with an infinite number of (divisibility) predicates n | . for n ≥ 2. By definition: n | y means ∃ x , y = x + · · · + x Cooper’s QE algorithm (1972) avoids DNF transformations.

  32. Example: Linear integer arithmetic Consider ∃ x , F ( x , y ), where F ( x , y ) is quantifier-free (but arbitrarily complex in the other connectives). ◮ We transform F ( x , y ) so that it features only ∨ , ∧ and ¬ . ◮ Without loss of generality, we can suppose that all the terms occurring in F ( x , y ) have the form: cx + c 1 y 1 + · · · + c n y n + k where c 1 , . . . , c n , k are numeral constants.

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