Matching Funds - Tirol
Disciplines
Computer Sciences (50%); Mathematics (50%)
Keywords
-
Theorem Proving,
Certification,
Term Rewriting,
Termination,
Confluence,
Completion
Term rewriting is a simple yet powerful model of computation that underlies much of declarative programming and computer assisted theorem proving. Moreover, there are methods to reduce verification tasks of computer programs to ensuring properties of corresponding term rewrite systems. Confluence and termination are arguably the most important properties of term rewriting. While termination states that all computation paths yield a result (thereby making sure that we do not have to wait indefinitely to obtain a result), confluence guarantees that computations are deterministic in the sense that any two computation paths can be joined eventually. Together, termination and confluence imply that independent of the strategy used to compute results, we will always obtain the same result for the same input. Thus, terminating and confluent systems of rewrite rules are of special interest, since they yield decision procedures for their respective equational theories (i.e., equality of two terms modulo a set of equations can be decided by rewriting them both exhaustively and comparing the results). Completion provides a way of transforming a given set of equations into an equivalent set of rewrite rules that is terminating and confluent. In the recent past, certification is very successful in the area of automated termination and confluence proving as well as completion. Where by certification we mean the automatic and reliable verification of proofs that were generated by some untrusted tool (e.g., an automatic termination, confluence, or completion tool). In certification the predominant approach is separated into two stages: First formalize the underlying theory and techniques that are used by untrusted tools with the help of a proof assistant (e.g., Isabelle/HOL). Then, given a proof that was generated by such an untrusted tool, check whether all employed techniques where applied correctly. In the first stage we make sure that the mathematical basis of all used techniques is sound in general and that no implicit assumptions are missing; whereas in the second one their correct application on specific problems is verified rigorously. One of the available certifiers is our tool CeTA, which is code generated from our Isabelle Formalization of Rewriting (IsaFoR), an Isabelle/HOL library that contains many results on rewriting. As our main project goals we strive to extend IsaFoR and CeTA as follows: (1) Add a formalization of the recently introduced weighted path order (WPO). Furthermore, adapt WPO to rewriting modulo associativity and commutativity (AC-rewriting). (2) Support certification of conditional confluence proofs by CeTA. (3) Formalize the theory of AC-rewriting, AC-unification, and normalized completion in order to support certification of normalized completion proofs by CeTA. This will bring CeTA up to speed with the most recent tool developments of termination tools, confluence tools, and completion tools.
One of the most widely used devices of program verification is the application of equations (for example, in order to replace part of a program by more efficient code that yields the same results). The problem with equations is that you can apply them in both directions: from left to right and from right to left. Therefore, when applying equations we can never be quite sure whether we are actually coming closer to our goal and when to stop. This problem is tackled by term rewriting, where we replace equations by rules that can only be applied from left to right. Two of the most important properties of the resulting term rewrite systems (TRSs for short) are termination and confluence. Termination means that there are no infinite loops: we always arrive at some result to which no rules apply. And confluence states that independent of the order in which we apply rules, we never destroy anything, but are always able to reach all results. A TRS that enjoys both of these properties is especially useful, since a computer can automatically apply its rules in an arbitrary order and will always reach unique results. This is also why we are interested in what is called completion, a process that starts from a set of equations (for example characterizing a program mathematically) and on success delivers a terminating and confluent TRS that satisfies all the original equations. The "Certification Redux" project was concerned with refining what is called the certification approach. This is a general approach for the automated verification of term rewriting related properties, where we employ and develop two kinds of tools: On the one hand, automated provers, that is, programs that can for example check termination or confluence of TRSs automatically and in case of success generate a corresponding proof, a so called certificate. On the other hand, a certifier that is responsible for validating the certificates that were generated by automated provers. Now it would be insufficient to just implement the certifier as standard computer program that checks certificates for correctness: Why should we trust such a program any more than the automated provers? In order to guarantee the highest possible degree of reliability, we instead prove the correctness of the certifier with a proof assistant. As outcome of our project we are now able to automatically prove and certify confluence of TRSs with rules that are guarded by conditions. Moreover, we captured the theory of completion inside a proof assistant and are now able to certify an especially successful but also complex variant of completion: ordered completion. Both results constitute useful tools for program verification.
- Universität Innsbruck - 100%
- Evelyne Contejean, Université Paris Sud - France
- Akihisa Yamada, National Institute of Advanced Science and Technology - Japan
- Salvador Lucas Alba, Universitat Politècnica de València - Spain
Research Output
- 110 Citations
- 46 Publications
-
2022
Title Tuple Interpretations for Termination of Term Rewriting DOI 10.1007/s10817-022-09640-4 Type Journal Article Author Yamada A Journal Journal of Automated Reasoning Pages 667-688 -
2018
Title A Formally Verified Solver for Homogeneous Linear Diophantine Equations DOI 10.1007/978-3-319-94821-8_26 Type Book Chapter Author Meßner F Publisher Springer Nature Pages 441-458 -
2017
Title Foundational (Co)datatypes and (Co)recursion for Higher-Order Logic DOI 10.5281/zenodo.3228083 Type Other Author Biendarra J 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 -
2017
Title Foundational (Co)datatypes and (Co)recursion for Higher-Order Logic DOI 10.5281/zenodo.3228084 Type Other Author Biendarra J Link Publication -
2016
Title AC Dependency Pairs Revisited DOI 10.4230/lipics.csl.2016.8 Type Conference Proceeding Abstract Author Sternagel C Conference LIPIcs, Volume 62, CSL 2016 Pages 8:1 - 8:16 Link Publication -
2016
Title Certifying Confluence of Almost Orthogonal CTRSs via Exact Tree Automata Completion DOI 10.4230/lipics.fscd.2016.29 Type Conference Proceeding Abstract Author Sternagel C Conference LIPIcs, Volume 52, FSCD 2016 Pages 29:1 - 29:16 Link Publication -
2017
Title Certifying Confluence of Quasi-Decreasing Strongly Deterministic Conditional Term Rewrite Systems DOI 10.1007/978-3-319-63046-5_26 Type Book Chapter Author Sternagel C Publisher Springer Nature Pages 413-431 Link Publication -
2016
Title CoCo 2016 Participant: CeTA 2.28 Type Other Author Nagele J Conference International Workshop on Confluence -
2016
Title TTT2 @ TermComp'2016 Type Other Author Sternagel C Conference International Workshop on Termination -
2016
Title CoCo 2016 Participant: ConCon Type Other Author Middeldorp A Conference International Workshop on Confluence -
2016
Title The Z Property Type Other Author Felgenhauer B Conference Archive of Formal Proof Link Publication -
2015
Title Deriving class instances for datatypes Type Other Author Sternagel C Conference Archive of Formal Proof Link Publication -
2015
Title CoCo 2015 Participant: CeTA 2.21 Type Other Author Nagele J Conference International Workshop on Confluence -
2015
Title Deriving Comparators and Show Functions in Isabelle/HOL DOI 10.1007/978-3-319-22102-1_28 Type Book Chapter Author Sternagel C Publisher Springer Nature Pages 421-437 -
2015
Title Certification of Complexity Proofs using CeTA DOI 10.4230/lipics.rta.2015.23 Type Conference Proceeding Abstract Author Avanzini M Conference LIPIcs, Volume 36, RTA 2015 Pages 23 - 39 Link Publication -
2021
Title Multi-Dimensional Interpretations for Termination of Term Rewriting DOI 10.1007/978-3-030-79876-5_16 Type Book Chapter Author Yamada A Publisher Springer Nature Pages 273-290 -
2022
Title Spatial patterns and determinants of avocado frontier dynamics in Mexico DOI 10.1007/s10113-022-01883-6 Type Journal Article Author RamÃrez-MejÃa D Journal Regional Environmental Change Pages 28 Link Publication -
2019
Title Certified ACKBO DOI 10.1145/3293880.3294099 Type Conference Proceeding Abstract Author Lochmann A Pages 144-151 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 -
2017
Title Homogeneous Linear Diophantine Equations Type Other Author Meßner F Conference Archive of Formal Proof Link Publication -
2017
Title HOLCF-Prelude Type Other Author Breitner J Conference Archive of Formal Proof Link Publication -
2017
Title CoCo 2017 Participant: CeTA 2.31 Type Other Author Nagele J Conference International Workshop on Confluence -
2017
Title CoCo 2017 Participant: ConCon 1.5 Type Other Author Sternagel C Conference International Workshop on Confluence -
2017
Title Formalized Ground Completion Type Other Author Middeldorp A Conference International Workshop on Confluence -
2017
Title Foundational (Co)datatypes and (Co)recursion for Higher-Order Logic DOI 10.1007/978-3-319-66167-4_1 Type Book Chapter Author Biendarra J Publisher Springer Nature Pages 3-21 -
2017
Title Certified Non-Confluence with ConCon 1.5 DOI 10.48550/arxiv.1709.05162 Type Preprint Author Sternagel T -
2020
Title A Mechanized Proof of Higman’s Lemma by Open Induction DOI 10.1007/978-3-030-30229-0_12 Type Book Chapter Author Sternagel C Publisher Springer Nature Pages 339-350 -
2018
Title The remote_build Tool DOI 10.48550/arxiv.1805.07195 Type Preprint Author Sternagel C -
2018
Title Certified Ordered Completion DOI 10.48550/arxiv.1805.10090 Type Preprint Author Sternagel C -
2018
Title TTT2 with Termination Templates for Teaching DOI 10.48550/arxiv.1806.05040 Type Preprint Author Schöpf J -
2018
Title Abstract Completion, Formalized DOI 10.48550/arxiv.1802.08437 Type Preprint Author Hirokawa N -
2018
Title CoCo 2018 Participant: CeTA 2.33 Type Other Author Felgenhauer B -
2018
Title TermComp 2018 Participant: TTT2 Type Other Author Meßner F Conference International Workshop on Termination -
2018
Title CoCo 2018 Participant: ConCon 1.5 Type Other Author Sternagel C Conference International Workshop on Confluence -
2018
Title First-Order Terms Type Other Author Sternagel C Conference Archive of Formal Proof 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 -
2019
Title Abstract Completion, Formalized Type Journal Article Author Hirokawa N Journal Logical Methods in Computer Science Pages 19:1-19:42 Link Publication -
2019
Title Reachability Analysis for Termination and Confluence of Rewriting DOI 10.1007/978-3-030-17462-0_15 Type Book Chapter Author Sternagel C Publisher Springer Nature Pages 262-278 -
2019
Title nonreach – A Tool for Nonreachability Analysis DOI 10.1007/978-3-030-17462-0_19 Type Book Chapter Author Meßner F Publisher Springer Nature Pages 337-343 -
2019
Title The Termination and Complexity Competition DOI 10.1007/978-3-030-17502-3_10 Type Book Chapter Author Giesl J Publisher Springer Nature Pages 156-166 -
2016
Title Level-Confluence of 3-CTRSs in Isabelle/HOL DOI 10.48550/arxiv.1602.07115 Type Preprint Author Sternagel C -
2016
Title A Characterization of Quasi-Decreasingness DOI 10.48550/arxiv.1609.03345 Type Preprint Author Sternagel T -
2016
Title The Generalized Subterm Criterion in TTT2 DOI 10.48550/arxiv.1609.03432 Type Preprint Author Sternagel C -
2016
Title A Short Mechanized Proof of the Church-Rosser Theorem by the Z-property for the $\lambda\beta$-calculus in Nominal Isabelle DOI 10.48550/arxiv.1609.03139 Type Preprint Author Nagele J -
2016
Title Formalized Confluence of Quasi-Decreasing, Strongly Deterministic Conditional TRSs DOI 10.48550/arxiv.1609.03341 Type Preprint Author Sternagel T