From Confluence to Unique Normal Forms: Certification and Complexity
From Confluence to Unique Normal Forms: Certification and Complexity
Disciplines
Computer Sciences (80%); Mathematics (20%)
Keywords
-
Term Rewriting,
Unique Normal Forms,
Confluence,
Complexity,
Automation,
Certification
This project is about confluence and the related unique normal form property of rewrite systems. In the preceding years many powerful confluence methods have been developed and implemented in confluence tools that participate in the recently established confluence competition. Important first steps towards certification have been made, but much remains to be done. The aim of this successor project is to fill two important gaps concerning certification, investigate methods for the unique normal form property, study various complexity issues related to confluence and unique normal forms, and further develop the confluence tool CSI and the certification tool CeTA for confluence. More precisely, the aims are to 1. formalize the layer framework that captures important divide and conquer results for confluence like layer-preservation and modularity into a single abstract framework, 2. develop a formalized proof for the confluence of development closed left-linear (higher- order pattern) rewrite system based on proof terms and residual theory, 3. investigate conditional linearization and related techniques like Chew`s theorem to obtain automatable techniques for unique normal forms, 4. study (tractable) decidable classes for confluence and unique normal forms as well as ways to lower the complexity of the various search problems that underlie concrete confluence methods, 5. use the insights gained in the previous items to increase the confluence proving power and efficiency of the automatic confluence tool CSI and the automatic certification tool CeTA with regard to confluence.
An important question of programs is whether they always produce the same result on a given input. For programs that run in a distributed and parallel environment, this is not at all obvious. Unique normal forms is an abstract property that ensures that results are always the same, independent of the computation path. Confluence is a well-known property that guarantees unique normal forms. In the absence of confluence, unique normal forms is a desirable property. In this project we made several contributions to the theory of confluence and unique normal forms for term rewrite systems, in particular concerning automation and formal verification. Term rewriting is an abstract model of computation based on rewrite rules, which are directed equations between equivalent expressions, used to evaluate and simplify expressions. Numerous applications exist, ranging from program analysis and compiler optimization to deciding validity problems in logical and mathematical structures. Term rewriting comes in different flavours, depending on the expressions that are modeled (first-order terms, many-sorted terms, higher-order terms, terms with constraints, ...) and the restrictions placed on the evaluation mechanism (unrestricted rules, rules with side conditions, ...). Various new techniques for automatically (dis)proving confluence and unique formal forms were developed, both for first and higher-order rewrite systems. Besides advancing the theory, the main contributions of the project are automatic tools for first (CSI) and higher-order (CSI^ho) rewriting. Considerable effort went into formally verifying techniques that are used in CSI by an independent and highly trustworthy certification tool (CeTA). This includes important divide-and-conquer results for establishing confluence, like Toyama's celebrated modularity theorem, stating that the union of two confluent first-order rewrite systems that do not share function symbols is again confluent, and the result that confluence of a first-order rewrite systems follows from the confluence of its well-typed terms according to any compatible many-sorted sort attachment. The formal verification efforts were conducted in the Isabelle/HOL proof assistant, on top of the IsaFoR library. In addition, new complexity bounds were obtained for confluence and related properties for the decidable class of ground rewrite systems. To facilitate dissemination of our contributations and also to serve the research community, we actively developed the international Confluence Competition and surrounding infrastructure, which led to an increased activity world-wide in the development of software tools for confluence and related properties for a variety of rewrite formats. In the latest (May 2019) edition 15 different tools developed by research teams from 5 different countries competed in 12 categories. Compared to the previous year, 5 tools and 3 categories were new.
- Universität Innsbruck - 100%
- Takahito Aoto, Tohoku University - Japan
- Adriaan Van Oosterom, University of Lausanne - Switzerland
- Ashish Tiwari, SRI International - USA
Research Output
- 77 Citations
- 24 Publications
-
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 Confluence Competition 2018 DOI 10.4230/lipics.fscd.2018.32 Type Conference Proceeding Abstract Author Aoto T Conference LIPIcs, Volume 108, FSCD 2018 Pages 32:1 - 32:5 Link Publication -
2018
Title ProTeM: A Proof Term Manipulator (System Description) DOI 10.4230/lipics.fscd.2018.31 Type Conference Proceeding Abstract Author Kohl C Conference LIPIcs, Volume 108, FSCD 2018 Pages 31:1 - 31:8 Link Publication -
2018
Title Deciding Confluence and Normal Form Properties of Ground Term Rewrite Systems Efficiently DOI 10.23638/lmcs-14(4:7)2018 Type Journal Article Author Felgenhauer B Journal Logical Methods in Computer Science Link Publication -
2018
Title Alum-adjuvanted allergoids induce functional IgE-blocking antibodies DOI 10.1111/cea.13120 Type Journal Article Author Reithofer M Journal Clinical & Experimental Allergy Pages 741-744 Link Publication -
2018
Title Cops and CoCoWeb: Infrastructure for Confluence Tools DOI 10.1007/978-3-319-94205-6_23 Type Book Chapter Author Hirokawa N Publisher Springer Nature Pages 346-353 -
2016
Title Automating the First-Order Theory of Rewriting for Left-Linear Right-Ground Rewrite Systems DOI 10.4230/lipics.fscd.2016.36 Type Conference Proceeding Abstract Author Middeldorp A Conference LIPIcs, Volume 52, FSCD 2016 Pages 36:1 - 36:12 Link Publication -
2016
Title Certification of Classical Confluence Results for Left-Linear Term Rewrite Systems DOI 10.1007/978-3-319-43144-4_18 Type Book Chapter Author Nagele J Publisher Springer Nature Pages 290-306 -
2016
Title Certifying Confluence Proofs via Relative Termination and Rule Labeling DOI 10.48550/arxiv.1612.07195 Type Preprint Author Nagele J -
2019
Title Composing Proof Terms DOI 10.1007/978-3-030-29436-6_20 Type Book Chapter Author Kohl C Publisher Springer Nature Pages 337-353 -
2019
Title Confluence Competition 2019 DOI 10.1007/978-3-030-17502-3_2 Type Book Chapter Author Middeldorp A Publisher Springer Nature Pages 25-40 -
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 CSI: New Evidence – A Progress Report DOI 10.1007/978-3-319-63046-5_24 Type Book Chapter Author Nagele J Publisher Springer Nature Pages 385-397 -
2017
Title CoCoWeb - A Convenient Web Interface for Confluence Tools DOI 10.48550/arxiv.1708.07876 Type Preprint Author Nagele J -
2017
Title Constructing Cycles in the Simplex Method for DPLL(T) DOI 10.1007/978-3-319-67729-3_13 Type Book Chapter Author Felgenhauer B Publisher Springer Nature Pages 213-228 -
2017
Title Deciding Confluence and Normal Form Properties of Ground Term Rewrite Systems Efficiently DOI 10.48550/arxiv.1710.10991 Type Preprint Author Felgenhauer B -
2018
Title Layer Systems for Confluence—Formalized DOI 10.1007/978-3-030-02508-3_10 Type Book Chapter Author Felgenhauer B Publisher Springer Nature Pages 173-190 Link Publication -
2017
Title Beyond DRAT: Challenges in Certifying UNSAT DOI 10.29007/2b78 Type Conference Proceeding Abstract Author Felgenhauer B Pages 46-40 Link Publication -
2017
Title Certifying Confluence Proofs via Relative Termination and Rule Labeling DOI 10.23638/lmcs-13(2:4)2017 Type Journal Article Author Nagele J Journal Logical Methods in Computer Science Link Publication -
2017
Title Reachability, confluence, and termination analysis with state-compatible automata DOI 10.1016/j.ic.2016.06.011 Type Journal Article Author Felgenhauer B Journal Information and Computation Pages 467-483 Link Publication -
2015
Title Confluence Competition 2015 DOI 10.1007/978-3-319-21401-6_5 Type Book Chapter Author Aoto T Publisher Springer Nature Pages 101-104 -
2015
Title Certified Rule Labeling DOI 10.4230/lipics.rta.2015.269 Type Conference Proceeding Abstract Author Nagele J Conference LIPIcs, Volume 36, RTA 2015 Pages 269 - 284 Link Publication -
2015
Title Improving Automatic Confluence Analysis of Rewrite Systems by Redundant Rules DOI 10.4230/lipics.rta.2015.257 Type Conference Proceeding Abstract Author Felgenhauer B Conference LIPIcs, Volume 36, RTA 2015 Pages 257 - 268 Link Publication -
2018
Title Abstract Completion, Formalized DOI 10.48550/arxiv.1802.08437 Type Preprint Author Hirokawa N