Instantiation- and Learning-Based Methods in Equational Reasoning
Instantiation- and Learning-Based Methods in Equational Reasoning
Disciplines
Computer Sciences (40%); Mathematics (60%)
Keywords
-
Automated Theorem Proving,
Machine Learning,
Equational Reasoning,
Formal Verification,
Boolean satisfiability problem,
Instantiation-Based Methods
In the last 15 years a substantial amount of research has been dedicated to the Boolean satisfiability problem (SAT). As an NP-complete problem it has long been considered intractable. Thus the performance boost exhibited by SAT solvers in the last decade has been astonishing, as by now SAT solvers are mature enough to be used in a wide range of applications, for instance planning tasks and automatic hardware verification. The success of SAT in practice is also reflected in the field of automated reasoning: (1) Instantiation-based theorem proving approaches are used for first-order reasoning, for instance the InstGen framework underlying the theorem prover iProver. In the annual CADE System Competition, iProver beats traditional tools in several important divisions. (2) Maximal completion constitutes a SAT-based approach specifically tailored to equational reasoning, which also turned out to improve over non-SAT-based tools both power- and performance-wise. In this project we want to push the frontiers of SAT in theorem proving even further. In the first place, we will combine the InstGen method with maximal completion to obtain a powerful SAT-based theorem prover with dedicated support for equality. We expect that by combining the two approaches, the SAT-based approxima- tions can benefit from each other, which will result in an instantiation-based prover that integrates equational reasoning in an optimal way. Second, we expect that the two above-mentioned approaches and even more so their combination can benefit from machine learning techniques for optimizations. Thus we will implement mechanisms that allow us to learn good term orderings, strategies to choose equations, or selection strategies for literals. Finally, automated theorem provers are highly complex and thus error-prone pieces of code. Even if a proof is output, it is impossible for humans to verify its correctness. Up to now, hardly any stand-alone proof checkers exist that certify proofs from first-order provers, and no such certifier exists for instantiation-based provers. In order to enhance trustability of SAT-based provers, we will implement a trusted proof checker for the maximal completion tool as well as our instantiation-based theorem prover. In summary, this project pushes the limits of SAT-based theorem proving beyond the current frontiers in three respects: applicability to equational reasoning, flexibility, and trustability. Since SAT solvers and their variants are about to become integral parts of software components, this research is of high current relevance.
The research field of Automated Reasoning seeks to develop and implement algorithms that automate logical reasoning in a computing system. Such systems are crucial to verify that hardware and software components work as expected, or to solve planning or scheduling problems, for example. A comparatively simple case of automated reasoning deals with the Boolean satisfiability problem (SAT), i.e., the problem of determining whether there exists a variable assignment that satisfies a given Boolean formula. As an NP-complete problem, it has long been considered intractable. However, in the last two decades SAT solving has experienced an enormous performance boost: SAT solvers are now able to handle huge formulas, and routinely applied in a wide range of applications, like planning tasks and automatic hardware verification. To enhance expressiveness, SAT solvers have been extended to SMT solvers, which can also handle arithmetic and other practically relevant theories However, many application problems in automated reasoning cannot be expressed in SAT/SMT alone: more powerful inference mechanisms are needed. In this project we considered reasoning with equations, both for the purely equational case and in combination with full first-order logic. This is an important research area since equations are ubiquituous in mathematical problems and applications in verification. More precisely, in this project we leveraged the success of SAT and SMT to equational reasoning: (1) Maximal completion is an efficient and effective SAT/SMT-based approach for a special task in equational reasoning, but restricted to the case where there are only positive equations. (2) Instantiation-based theorem proving is a successful theorem proving approach for first-order logic also based on SAT, but equality handling was so far rather inefficient. In this project we combined these two methods, to take advantage from the synergies between the two SAT-encodings. The combined method was implemented in the tool maedmax and evaluated experimentally. To improve the tool's effectiveness, we exploited machine learning techniques. To this end, we implemented mechanisms that allow us to learn good strategy parameters and selection strategies for literals, and worked on relevant features in this context. Finally, automated theorem provers are highly complex and thus error-prone pieces of code. Even if a proof is output, it is often too time-consuming for humans to verify its correctness. In order to enhance trustability of the tool maedmax, we implemented a trusted proof checker for the maximal completion tool. This included formally proving correctness of the underlying algorithms in a proof assitant, i.e., dedicated software to automate and check mathematical proofs. In summary, in this project we pushed the limits of SAT-based theorem proving in three respects: applicability to equational reasoning, flexibility, and trustability. Since SAT-based approaches are becoming integral in theorem proving, this research is of high current relevance.
- Universität Innsbruck - 100%
- Laura Kovacs, Technische Universität Wien , national collaboration partner
Research Output
- 26 Citations
- 16 Publications
- 4 Software
- 2 Disseminations
- 3 Scientific Awards
-
2020
Title Tools in Term Rewriting for Education DOI 10.4204/eptcs.313.4 Type Journal Article Author Winkler S Journal Electronic Proceedings in Theoretical Computer Science Pages 54-72 Link Publication -
2019
Title Mædmax at school: Learning selection in equational reasoning Type Conference Proceeding Abstract Author Winkler S. Conference 4th Conference on Artificial Intelligence and Theorem Proving Pages 38-40 Link Publication -
2019
Title Certified Equational Reasoning via Ordered Completion DOI 10.1007/978-3-030-29436-6_30 Type Book Chapter Author Sternagel C Publisher Springer Nature Pages 508-525 -
2019
Title Smarter Features, Simpler Learning? DOI 10.4204/eptcs.311.4 Type Journal Article Author Winkler S Journal Electronic Proceedings in Theoretical Computer Science Pages 25-31 Link Publication -
2019
Title Extending Maximal Completion (Invited Talk) DOI 10.4230/lipics.fscd.2019.3 Type Conference Proceeding Abstract Author Winkler S Conference LIPIcs, Volume 131, FSCD 2019 Pages 3:1 - 3:15 Link Publication -
2019
Title Abstract Completion, Formalized DOI 10.23638/lmcs-15(3:19)2019 Type Journal Article Author Hirokawa N Journal Logical Methods in Computer Science Link Publication -
2018
Title Loop Detection by Logically Constrained Term Rewriting DOI 10.1007/978-3-030-03592-1_18 Type Book Chapter Author Nishida N Publisher Springer Nature Pages 309-321 -
2017
Title A ground joinability criterion for ordered completion Type Conference Proceeding Abstract Author Winkler S. Conference 6th International Workshop on Confluence Pages 45-49 Link Publication -
2017
Title Infinite Runs in Abstract Completion DOI 10.4230/lipics.fscd.2017.19 Type Conference Proceeding Abstract Author Hirokawa N Conference LIPIcs, Volume 84, FSCD 2017 Pages 19:1 - 19:16 Link Publication -
2018
Title CoCo 2018 Participant: CeTA 2.33 Type Conference Proceeding Abstract Author Felgenhauer B. Conference 7th International Workshop on Confluence Pages 63 Link Publication -
2018
Title Certified ordered completion Type Conference Proceeding Abstract Author Sternagel C. Conference 7th International Workshop on Confluence Pages 41-45 Link Publication -
2018
Title Completion for Logically Constrained Rewriting DOI 10.4230/lipics.fscd.2018.30 Type Conference Proceeding Abstract Author Middeldorp A Conference LIPIcs, Volume 108, FSCD 2018 Pages 30:1 - 30:18 Link Publication -
2018
Title MædMax: A Maximal Ordered Completion Tool DOI 10.1007/978-3-319-94205-6_31 Type Book Chapter Author Winkler S Publisher Springer Nature Pages 472-480 -
2018
Title Certified Ordered Completion DOI 10.48550/arxiv.1805.10090 Type Preprint Author Sternagel C -
2018
Title Abstract Completion, Formalized DOI 10.48550/arxiv.1802.08437 Type Preprint Author Hirokawa N -
2020
Title Learning strategy design: First lessons. Type Conference Proceeding Abstract Author Suda M. Conference 5th Conference on Artificial Intelligence and Theorem Proving
-
2019
Title Invited Talk: ThEdu 2019 Type Personally asked as a key note speaker to a conference Level of Recognition Continental/International -
2019
Title Invited Participant: Dagstuhl Seminar 19371 Type Personally asked as a key note speaker to a conference Level of Recognition Continental/International -
2019
Title Invited Talk: FSCD 2019 Type Personally asked as a key note speaker to a conference Level of Recognition Continental/International