Embedding Deduction Modulo into a Prover

Deduction modulo consists in presenting a theory through rewrite rules to support automatic and interactive proof search. It induces proof search methods based on narrowing, such as the polarized resolution modulo. We show how to combine this method with more traditional ordering restrictions. Interestingly, no compatibility between the rewriting and the ordering is requested to ensure completeness. We also show that some simplification rules, such as strict subsumption eliminations and demodulations, preserve completeness. For this purpose, we use a new framework based on a proof ordering. These results show that polarized resolution modulo can be integrated into existing provers, where these restrictions and simplifications are present. We also discuss how this integration can actually be done by diverting the main algorithm of state-of-the-art provers. Whatever their applications, proofs are rarely searched for without context: mathematical proofs rely on set theory, or Euclidean geometry, or arithmetic, etc.; proofs of program correctness are done using e.g. pointer arithmetic and/or theories defining data structures (chained lists, trees, . . . ); concerning security, theories are used for instance to model properties of encryption algorithms. It is therefore essential to have theoretical foundations and practical methods that handle theories conveniently and efficiently. For this purpose, there are two directions: to develop methods that are really specific to a particular theory; or to develop a generic framework that can handle all theories. The first option is appealing for efficiency reasons: for instance, combining a SAT solver with the Simplex method leads to very powerful SMT solvers for linear arithmetic. However, developing methods for new theories is hard. Even the combination of such specific methods is not trivial, although there have been a lot of interesting results in that direction in the recent years. In this paper, we are more interested in the second option: having a generic way to handle theories efficiently. A naive way to do so would be to use an axiomatization of the theory, but in general, this approach would be really inefficient for automated proving. Somehow, we need to present the theory so as to take advantage of its properties. A first idea is to use the consistency of the theory. When proving a goal in a consistent theory by refutation, resolving the clauses of the theory is useless, since it will not bring out a contradiction. This idea defines the set-of-support

[1]  Claude Kirchner,et al.  HOL-λσ: an intentional first-order expression of higher-order logic , 2001, Mathematical Structures in Computer Science.

[2]  Leo Bachmair,et al.  Proof Normalization for Resolution and Paramodulation , 1989, RTA.

[3]  Denis Cousineau,et al.  Embedding Pure Type Systems in the Lambda-Pi-Calculus Modulo , 2007, TLCA.

[4]  Harald Ganzinger,et al.  Superposition with equivalence reasoning and delayed clause normal form transformation , 2005, Inf. Comput..

[5]  Konstantin Korovin,et al.  iProver - An Instantiation-Based Theorem Prover for First-Order Logic (System Description) , 2008, IJCAR.

[6]  Tobias Nipkow,et al.  Term rewriting and all that , 1998 .

[7]  William H. Joyner Resolution Strategies as Decision Procedures , 1976, JACM.

[8]  Guillaume Burel,et al.  A First-Order Representation of Pure Type Systems Using Superdeduction , 2008, 2008 23rd Annual IEEE Symposium on Logic in Computer Science.

[9]  Guillaume Burel,et al.  How can we prove that a proof search method is not an instance of another? , 2009, LFMTP '09.

[10]  Gilles Dowek,et al.  Cut elimination for Zermelo set theory , 2023, ArXiv.

[11]  Gilles Dowek,et al.  Polarized Resolution Modulo , 2010, IFIP TCS.

[12]  Claude Kirchner,et al.  Theorem Proving Modulo , 2003, Journal of Automated Reasoning.

[13]  Larry Wos,et al.  Efficiency and Completeness of the Set of Support Strategy in Theorem Proving , 1965, JACM.

[14]  Gilles Dowek,et al.  Truth Values Algebras and Proof Normalization , 2006, TYPES.

[15]  Gilles Dowek,et al.  What Is a Theory? , 2002, STACS.

[16]  Gilles Dowek,et al.  Proof normalization modulo , 1998, Journal of Symbolic Logic.

[17]  Jean H. Gallier,et al.  Logic for Computer Science: Foundations of Automatic Theorem Proving , 1985 .

[18]  Olivier Hermant,et al.  Resolution is Cut-Free , 2010, Journal of Automated Reasoning.

[19]  Hans de Nivelle,et al.  A Unification of Ordering Refinements of Resolution in Classical Logic , 1994, JELIA.

[20]  Geoff Sutcliffe,et al.  Progress in the Development of Automated Theorem Proving for Higher-Order Logic , 2009, CADE.

[21]  Richard Bonichon,et al.  A Semantic Completeness Proof for TaMeD , 2006, LPAR.

[22]  Gilles Dowek,et al.  Arithmetic as a Theory Modulo , 2005, RTA.

[23]  Olivier Hermant Méthodes sémantiques en déduction modulo , 2005 .

[24]  Harald Ganzinger,et al.  Rewrite-Based Equational Theorem Proving with Selection and Simplification , 1994, J. Log. Comput..

[25]  Claude Kirchner,et al.  Regaining cut admissibility in deduction modulo using abstract completion , 2010, Inf. Comput..

[26]  Nachum Dershowitz Orderings for Term-Rewriting Systems , 1979, FOCS.