basis for automated proof skolemization
play

Basis for automated proof: Skolemization St ephane Devismes Pascal - PowerPoint PPT Presentation

Skolemization Basis for automated proof: Skolemization St ephane Devismes Pascal Lafourcade Michel L evy Jean-Franc ois Monin (jean-francois.monin@imag.fr) Universit e Joseph Fourier, Grenoble I March 13, 2015 S. Devismes et al


  1. Skolemization Basis for automated proof: Skolemization St´ ephane Devismes Pascal Lafourcade Michel L´ evy Jean-Franc ¸ois Monin (jean-francois.monin@imag.fr) Universit´ e Joseph Fourier, Grenoble I March 13, 2015 S. Devismes et al (Grenoble I) Skolemization March 13, 2015 1 / 28

  2. Skolemization Overview Introduction Examples and properties Skolemization Conclusion S. Devismes et al (Grenoble I) Skolemization March 13, 2015 2 / 28

  3. Skolemization Introduction Plan Introduction Examples and properties Skolemization Conclusion S. Devismes et al (Grenoble I) Skolemization March 13, 2015 3 / 28

  4. Skolemization Introduction Introduction Herbrand’s theorem applies to the domain closure of a set of formulae with no quantifier. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 4 / 28

  5. Skolemization Introduction Introduction Herbrand’s theorem applies to the domain closure of a set of formulae with no quantifier. For formulae with existential quantification, S. Devismes et al (Grenoble I) Skolemization March 13, 2015 4 / 28

  6. Skolemization Introduction Introduction Herbrand’s theorem applies to the domain closure of a set of formulae with no quantifier. For formulae with existential quantification, use skolemization. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 4 / 28

  7. Skolemization Introduction Introduction Herbrand’s theorem applies to the domain closure of a set of formulae with no quantifier. For formulae with existential quantification, use skolemization. This transformation was introduced by Thoralf Albert Skolem (1887 - 1963), Norvegian mathematician and logician. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 4 / 28

  8. Skolemization Introduction General view Skolemization ◮ transforms a set of closed formulae to the domain closure of a set of formulae with no quantifier. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 5 / 28

  9. Skolemization Introduction General view Skolemization ◮ transforms a set of closed formulae to the domain closure of a set of formulae with no quantifier. ◮ preserves the existence of a model. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 5 / 28

  10. Skolemization Examples and properties Plan Introduction Examples and properties Skolemization Conclusion S. Devismes et al (Grenoble I) Skolemization March 13, 2015 6 / 28

  11. Skolemization Examples and properties Example 5.2.1 The formula ∃ xP ( x ) is skolemized as P ( a ) . We note the following relations between the two formulae : S. Devismes et al (Grenoble I) Skolemization March 13, 2015 7 / 28

  12. Skolemization Examples and properties Example 5.2.1 The formula ∃ xP ( x ) is skolemized as P ( a ) . We note the following relations between the two formulae : 1. ∃ xP ( x ) is a consequence of P ( a ) S. Devismes et al (Grenoble I) Skolemization March 13, 2015 7 / 28

  13. Skolemization Examples and properties Example 5.2.1 The formula ∃ xP ( x ) is skolemized as P ( a ) . We note the following relations between the two formulae : 1. ∃ xP ( x ) is a consequence of P ( a ) 2. P ( a ) is not a consequence of ∃ xP ( x ) , but a model of ∃ x P ( x ) ≪ provides ≫ a model of P ( a ) . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 7 / 28

  14. Skolemization Examples and properties Example 5.2.1 The formula ∃ xP ( x ) is skolemized as P ( a ) . We note the following relations between the two formulae : 1. ∃ xP ( x ) is a consequence of P ( a ) 2. P ( a ) is not a consequence of ∃ xP ( x ) , but a model of ∃ x P ( x ) ≪ provides ≫ a model of P ( a ) . Indeed, let I be a model of ∃ xP ( x ) . Hence there exists d ∈ P I . Let J be the interpretation such that P J = P I and a J = d . J is model of P ( a ) . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 7 / 28

  15. Skolemization Examples and properties Example 5.2.2 The formula ∀ x ∃ yQ ( x , y ) is skolemized as ∀ xQ ( x , f ( x )) . Again : S. Devismes et al (Grenoble I) Skolemization March 13, 2015 8 / 28

  16. Skolemization Examples and properties Example 5.2.2 The formula ∀ x ∃ yQ ( x , y ) is skolemized as ∀ xQ ( x , f ( x )) . Again : 1. ∀ x ∃ yQ ( x , y ) is a consequence of ∀ xQ ( x , f ( x )) S. Devismes et al (Grenoble I) Skolemization March 13, 2015 8 / 28

  17. Skolemization Examples and properties Example 5.2.2 The formula ∀ x ∃ yQ ( x , y ) is skolemized as ∀ xQ ( x , f ( x )) . Again : 1. ∀ x ∃ yQ ( x , y ) is a consequence of ∀ xQ ( x , f ( x )) 2. ∀ xQ ( x , f ( x )) is not a consequence of ∀ x ∃ yQ ( x , y ) ; but a model of ∀ x ∃ yQ ( x , y ) ≪ provides ≫ a model of ∀ xQ ( x , f ( x )) . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 8 / 28

  18. Skolemization Examples and properties Example 5.2.2 The formula ∀ x ∃ yQ ( x , y ) is skolemized as ∀ xQ ( x , f ( x )) . Again : 1. ∀ x ∃ yQ ( x , y ) is a consequence of ∀ xQ ( x , f ( x )) 2. ∀ xQ ( x , f ( x )) is not a consequence of ∀ x ∃ yQ ( x , y ) ; but a model of ∀ x ∃ yQ ( x , y ) ≪ provides ≫ a model of ∀ xQ ( x , f ( x )) . Let I be a model of ∀ x ∃ yQ ( x , y ) and let D be the domain of I . For every d ∈ D , the set { e ∈ D | ( d , e ) ∈ Q I } is not empty, hence there exists a function g : D → D such that for every d ∈ D , g ( d ) ∈ { e ∈ D | ( d , e ) ∈ Q I } . Let J be the interpretation J such that Q J = Q I and f J = g : J is a model of ∀ xQ ( x , f ( x )) . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 8 / 28

  19. Skolemization Examples and properties Properties Skolemization eliminates existential quantifiers and transforms a closed formula A to a formula B such that : ◮ A is a consequence of B , ( B | = A ) ◮ every model of A ≪ provides ≫ a model of B S. Devismes et al (Grenoble I) Skolemization March 13, 2015 9 / 28

  20. Skolemization Examples and properties Properties Skolemization eliminates existential quantifiers and transforms a closed formula A to a formula B such that : ◮ A is a consequence of B , ( B | = A ) ◮ every model of A ≪ provides ≫ a model of B Hence, A has a model if and only if B has a model : skolemization preserves the existence of a model, in other words it preserves satisfiability. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 9 / 28

  21. Skolemization Skolemization Plan Introduction Examples and properties Skolemization Conclusion S. Devismes et al (Grenoble I) Skolemization March 13, 2015 10 / 28

  22. Skolemization Skolemization Definitions S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  23. Skolemization Skolemization Definitions Definition 5.2.3 A closed formula is said to be proper, if it does not contain any variable which is bound by two distinct quantifiers. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  24. Skolemization Skolemization Definitions Definition 5.2.3 A closed formula is said to be proper, if it does not contain any variable which is bound by two distinct quantifiers. Example 5.2.4 ◮ The formula ∀ xP ( x ) ∨∀ xQ ( x ) is not proper . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  25. Skolemization Skolemization Definitions Definition 5.2.3 A closed formula is said to be proper, if it does not contain any variable which is bound by two distinct quantifiers. Example 5.2.4 ◮ The formula ∀ xP ( x ) ∨∀ xQ ( x ) is not proper . ◮ The formula ∀ xP ( x ) ∨∀ yQ ( y ) is proper . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  26. Skolemization Skolemization Definitions Definition 5.2.3 A closed formula is said to be proper, if it does not contain any variable which is bound by two distinct quantifiers. Example 5.2.4 ◮ The formula ∀ xP ( x ) ∨∀ xQ ( x ) is not proper . ◮ The formula ∀ xP ( x ) ∨∀ yQ ( y ) is proper . ◮ The formula ∀ x ( P ( x ) ⇒ ∃ xQ ( x ) ∧∃ yR ( x , y )) is not proper . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  27. Skolemization Skolemization Definitions Definition 5.2.3 A closed formula is said to be proper, if it does not contain any variable which is bound by two distinct quantifiers. Example 5.2.4 ◮ The formula ∀ xP ( x ) ∨∀ xQ ( x ) is not proper . ◮ The formula ∀ xP ( x ) ∨∀ yQ ( y ) is proper . ◮ The formula ∀ x ( P ( x ) ⇒ ∃ xQ ( x ) ∧∃ yR ( x , y )) is not proper . ◮ The formula ∀ x ( P ( x ) ⇒ ∃ yR ( x , y )) is proper . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 11 / 28

  28. Skolemization Skolemization Definitions : generalized normal form A first-order logic formula is in normal form if it does not contain equivalences, implications, and if negations only apply to atomic formulae. S. Devismes et al (Grenoble I) Skolemization March 13, 2015 12 / 28

  29. Skolemization Skolemization How to skolemize a closed formula A ? S. Devismes et al (Grenoble I) Skolemization March 13, 2015 13 / 28

  30. Skolemization Skolemization How to skolemize a closed formula A ? Definition 5.2.5 (skolemization) Let A a closed formula and E the normal formula with no quantifier, obtained by the following transformation : E is the Skolem form of A . S. Devismes et al (Grenoble I) Skolemization March 13, 2015 13 / 28

Recommend


More recommend