Constrained Rewriting and SMT: Emerging Trends in Rewriting
Constrained Rewriting and SMT: Emerging Trends in Rewriting
Bilaterale Ausschreibung: Japan
Disciplines
Computer Sciences (80%); Mathematics (20%)
Keywords
-
Constrained Rewriting,
SMT,
Completion,
Complexity,
Certification
Term rewriting is an abstract model of computation and the underlying theoretical foundation of declarative programming. Many properties for term rewriting have been studied intensively over the last decades and since a few years there also is an effort to build powerful tools to establish properties for term rewriting systems automatically. This joint project focuses the power of the University of Innsbruck/Technical University of Vienna with four research groups in Japan (Hokkaido University, Japan Advanced Institute of Science and Technology, Nagoya University, University of Yamanashi) and deals with the following five tasks: 1. Constrained Rewriting 2. SMT (Satisfiability Modulo Theories) 3. Completion 4. Complexity 5. Certification The overall aim is to advance applicability of rewriting techniques in verification by focusing on constrained rewriting, a paradigm that suits program analysis better than unconstrained rewriting. Constrained rewriting is a well-studied area but different notions of constrained rewriting exist and only few attempts for automation have been undertaken. Hence a thorough comparison of these approaches is non-trivial. In this project we want to make these approaches comparable, e.g., by a suitable competition of dedicated tools. Nowadays many rewriting tools use so-called SMT solvers as external software to solve (extended) boolean constraints. The second aim of the project is to make (existing) rewriting tools more powerful by extending the underlying SMT solvers with direct support for constrained rewriting. SMT solvers are also essential for some variants and extensions of (Knuth- Bendix) completion which are studied in task 3. The aim of task 4 is to establish upper bounds on the complexity of programs automatically; also here the achievements of tasks 1 and 2 are essential for success. Finally, task 5 addresses to establish soundness of the aforementioned approaches mechanically, i.e., tool (output) is verified automatically with the help of a theorem prover.
The overall aim of the joint project between two universities in Austria and four universities in Japan was to advance the state of the art in constrained rewriting and in the applicability of SMT solvers in rewriting. Rewriting is an abstract model of computation in which sets of directed equations are used to rewrite expressions, for example to simplify them. Such systems of rewrite rules can express arbitrary computer programs. Thanks to the simple theoretical foundation, studying rewrite systems is an attractive stepping stone for developing techniques for analyzing real-life programs. Constrained rewriting is an important variant of rewriting in which the rewrite rules are equipped with constraints that allow to specify their applicability. This makes them better suited for program analysis. An important contribution of this project is the development of a rich framework for rewriting with logical constraints. A software tool, based on powerful SMT solvers, has been developed to support this framework. The framework and supporting tool have been applied to program verification: A large segment of the C programming language has been translated into the framework such that certain verification tasks can be performed automatically. Another important contribution is the development of a notion of complexity for conditional rewriting. Complexity measures the amount of resources needed for computation. Our new complexity notion for conditional rewriting is realistic in the sense that it measures not only successful computations but also partial computations that result in a failed rule. Experiments with the rewrite engine Maude, which is based on conditional rewriting, show the practical importance. Several techniques have been proposed to- wards automatic tool support for establishing tight upper bounds on the complexity of conditional rewrite systems. The final contribution that we mention here is the research on AC-KBO, a termination method for rewrite systems in the presence of associativity and commutativity axioms. We corrected earlier results published in the literature. Experimental results for termination analysis and completion (where the aim is to transform a given axiom system into a rewrite-based presentation) clearly show the benefit of the new method.
- Universität Innsbruck - 70%
- Technische Universität Wien - 30%
- Bernhard Gramlich, Technische Universität Wien , associated research partner
Research Output
- 149 Citations
- 44 Publications
-
2017
Title Quasi-reductivity of Logically Constrained Term Rewriting Systems DOI 10.48550/arxiv.1702.02397 Type Preprint Author Kop C -
2017
Title Complexity of Conditional Term Rewriting DOI 10.23638/lmcs-13(1:6)2017 Type Journal Article Author Kop C Journal Logical Methods in Computer Science Link Publication -
2017
Title Verifying Procedural Programs via Constrained Rewriting Induction DOI 10.1145/3060143 Type Journal Article Author Fuhs C Journal ACM Transactions on Computational Logic (TOCL) Pages 1-50 Link Publication -
2013
Title Termination of LCTRSs. Type Conference Proceeding Abstract Author Kop C Conference Proceedings of the 13th International Workshop on Termination (WST 2013) -
2013
Title Proving Confluence of Conditional Term Rewriting Systems via Unravelings. Type Conference Proceeding Abstract Author Gmeiner K Conference Proceedings of the 2nd International Workshop on Confluence (IWC 2013) -
2013
Title KBCV 2.0-Automatic Completion Experiments. Type Conference Proceeding Abstract Author Sternagel T Conference Proceedings of the 2nd International Workshop on Confluence (IWC 2013) -
2015
Title Recording Completion for Certificates in Equational Reasoning DOI 10.1145/2676724.2693171 Type Conference Proceeding Abstract Author Sternagel T Pages 41-47 Link Publication -
2015
Title KBCV 2.0 - Automatic Completion Experiments DOI 10.48550/arxiv.1505.01338 Type Preprint Author Sternagel T -
2015
Title Complexity of Conditional Term Rewriting DOI 10.48550/arxiv.1510.07276 Type Preprint Author Kop C -
2015
Title CoCo Participant: CeTA 2.21. Type Conference Proceeding Abstract Author Nagele J Conference Proceedings of the 4th International Workshop on Confluence (IWC 2015) -
2015
Title Formalizing Soundness and Completeness of Unravelings. Type Journal Article Author Thiemann R Journal Proceedings of the 10th International Symposium on Frontiers of Combining Systems (FroCoS 2015) -
2015
Title CoCo Participant: ConCon. Type Conference Proceeding Abstract Author Middeldorp A Conference Proceedings of the 4th International Workshop on Confluence (IWC 2015) -
2015
Title Encoding Dependency Pair Techniques and Control Strategies for Maximal Completion. Type Journal Article Author Sato H Journal Proceedings of the 25th International Conference on Automated Deduction (CADE-25) -
2015
Title Operational Confluence of Conditional Term Rewrite Systems. Type Conference Proceeding Abstract Author Gmeiner K Conference Proceedings of the 4th International Workshop on Confluence (IWC 2015) -
2015
Title Formalizing Soundness and Completeness of Unravelings DOI 10.1007/978-3-319-24246-0_15 Type Book Chapter Author Winkler S Publisher Springer Nature Pages 239-255 -
2014
Title Notes on Structure-Preserving Transformations of Conditional Term Rewrite Systems. Type Journal Article Author Gmeiner K Journal Proceedings of the 1st International Workshop on Rewriting Techniques for Program Transformations and Evaluation (WPTE 2014) -
2014
Title A Satisfiability Encoding of Dependency Pair Techniques for Maximal Completion. Type Conference Proceeding Abstract Author Sato H Conference Proceedings of the 14th International Workshop on Termination (WST 2014) -
2014
Title Functional and Logic Programming, 12th International Symposium, FLOPS 2014, Kanazawa, Japan, June 4-6, 2014. Proceedings DOI 10.1007/978-3-319-07151-0 Type Book Publisher Springer Nature -
2014
Title Rewriting and Typed Lambda Calculi, Joint International Conference, RTA-TLCA 2014, Held as Part of the Vienna Summer of Logic, VSL 2014, Vienna, Austria, July 14-17, 2014. Proceedings DOI 10.1007/978-3-319-08918-8 Type Book Publisher Springer Nature -
2014
Title Certification of Nontermination Proofs Using Strategies and Nonlooping Derivations DOI 10.1007/978-3-319-12154-3_14 Type Book Chapter Author Nagele J Publisher Springer Nature Pages 216-232 -
2014
Title First-Order Formative Rules DOI 10.48550/arxiv.1404.7695 Type Preprint Author Fuhs C -
2014
Title Verifying Procedural Programs via Constrained Rewriting Induction DOI 10.48550/arxiv.1409.0166 Type Preprint Author Fuhs C -
2014
Title AC-KBO Revisited DOI 10.48550/arxiv.1403.0406 Type Preprint Author Yamada A -
2016
Title Termination of LCTRSs DOI 10.48550/arxiv.1601.03206 Type Preprint Author Kop C -
2015
Title Encoding Dependency Pair Techniques and Control Strategies for Maximal Completion DOI 10.1007/978-3-319-21401-6_10 Type Book Chapter Author Sato H Publisher Springer Nature Pages 152-162 -
2015
Title AC-KBO revisited* † DOI 10.1017/s1471068415000083 Type Journal Article Author Yamada A Journal Theory and Practice of Logic Programming Pages 163-188 Link Publication -
2015
Title Constrained Term Rewriting tooL DOI 10.1007/978-3-662-48899-7_38 Type Book Chapter Author Kop C Publisher Springer Nature Pages 549-557 -
2015
Title Automatic Constrained Rewriting Induction towards Verifying Procedural Programs. Type Journal Article Author Kop C Journal Proceedings of the 12th Asian Symposium on Programming Languages and Systems (APLAS 2014) -
2015
Title Conditional Complexity. Type Journal Article Author Kop C Journal Proceedings of the 26th International Conference on Rewriting Techniques and Applications (RTA 2015) -
2015
Title Infeasible Conditional Critical Pairs. Type Conference Proceeding Abstract Author Middeldorp A Conference Proceedings of the 4th International Workshop on Confluence (IWC 2015) -
2014
Title On Proving Soundness of the Computationally Equivalent Transformation for Normal Conditional Term Rewriting Systems by Using Unravelings. Type Journal Article Author Gmeiner K Et Al Journal Proceedings of the 1st International Workshop on Rewriting Techniques for Program Transformations and Evaluation (WPTE 2014) -
2014
Title On Proving Confluence of Conditional Term Rewriting Systems via the Computationally Equivalent Transformation. Type Conference Proceeding Abstract Author Gmeiner K Et Al Conference Proceedings of the 3rd International Workshop on Confluence (IWC) 2014) -
2014
Title A New and Formalized Proof of Abstract Completion DOI 10.1007/978-3-319-08970-6_19 Type Book Chapter Author Hirokawa N Publisher Springer Nature Pages 292-307 -
2014
Title AC-KBO Revisited DOI 10.1007/978-3-319-07151-0_20 Type Book Chapter Author Yamada A Publisher Springer Nature Pages 319-335 -
2014
Title First-Order Formative Rules DOI 10.1007/978-3-319-08918-8_17 Type Book Chapter Author Fuhs C Publisher Springer Nature Pages 240-256 -
2014
Title Automated Complexity Analysis Based on Context-Sensitive Rewriting DOI 10.1007/978-3-319-08918-8_18 Type Book Chapter Author Hirokawa N Publisher Springer Nature Pages 257-271 -
2014
Title Size Complexity of BDD Construction of Pseudo-Boolean Constraints in Binary/MixedRadix Base Form. Type Conference Proceeding Abstract Author Kusakari K Et Al Conference Proceedings of the 28th Annual Conference of the Japan Society of Artificial Intelligence (JSAI 2014) -
2014
Title Normalization Equivalence of Rewrite Systems. Type Conference Proceeding Abstract Author Hirokawa N Conference Proceedings of the 3rd International Workshop on Confluence (IWC 2014) -
2014
Title AC-KBO Revisited. Type Journal Article Author Middeldorp A Et Al Journal Proceedings of the 12th International Symposium on Functional and Logic Programming (FLOPS 2014) -
2014
Title Conditional Confluence (System Description) DOI 10.1007/978-3-319-08918-8_31 Type Book Chapter Author Sternagel T Publisher Springer Nature Pages 456-465 -
2014
Title The Higher-Order Dependency Pair Framework. Type Conference Proceeding Abstract Author Kop C Conference Proceedings of the 7th International Workshop on Higher-Order Rewriting (HOR 2014) -
2013
Title Term Rewriting with Logical Constraints DOI 10.1007/978-3-642-40885-4_24 Type Book Chapter Author Kop C Publisher Springer Nature Pages 343-358 -
2013
Title Normalized Completion Revisited. Type Journal Article Author Middeldorp A Journal Proceedings of the 24th International Conference on Rewriting Techniques and Applications (RTA 2013) -
2013
Title Term Rewriting with Logical Constraints. Type Journal Article Author Kop C Journal Proceedings of the 9th International Symposium on Frontiers of Combining Systems (FroCoS 2013)