Affiliation:
1. University of November 7th at Carthage, Ariana, Tunisia
Abstract
Algebraic specifications provide a powerful method for the specification of abstract data types in programming languages and software systems. Completeness and ground confluence are fundamental notions for building algebraic specifications in a correct and modular way. Related works for checking ground confluence are based on the completion techniques or on the test that all critical pairs between axioms are valid with respect to a sufficient criterion for ground confluence. It is generally accepted that such techniques may be very inefficient, even for very small specifications. Indeed, the completion procedure often diverges and there often exist many critical pairs of the axioms. In this article, we present a procedure for simultaneously checking completeness and ground confluence for specifications with free/nonfree constructors and parameterized specifications. If the specification is not complete or not ground confluent, then our procedure will output the set of patterns on whose ground instances a function is not defined and it can easily identify the rules that break ground confluence. In contrast to previous work, our method does not rely on completion techniques and does not require the computation of critical pairs of the axioms. The method is entirely implemented and allowed us to prove the completeness and the ground confluence of many specifications in a completely automatic way, where related techniques diverge or generate very complex proofs. Our system offers two main components: (i) a completeness and ground confluence analyzer that computes pattern trees of defined functions and may generate some proof obligations; and (ii) a procedure to prove (joinable) inductive conjectures which is used to discharge these proof obligations.
Publisher
Association for Computing Machinery (ACM)
Subject
Computational Mathematics,Logic,General Computer Science,Theoretical Computer Science
Reference42 articles.
1. Becker K. 1996. How to prove ground confluence. SEKI-rep. SR-96-02 Universität Kaiserslautern. Becker K. 1996. How to prove ground confluence. SEKI-rep. SR-96-02 Universität Kaiserslautern.
2. Automated Theorem Proving by Test Set Induction
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. On Ground Convergence and Completeness of Conditional Equational Program Hierarchies;Rewriting Logic and Its Applications;2022
2. Checking Sufficient Completeness by Inductive Theorem Proving;Rewriting Logic and Its Applications;2022
3. SPIKE, an automatic theorem prover — revisited;2020 22nd International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC);2020-09
4. Ground confluence of order-sorted conditional specifications modulo axioms;Journal of Logical and Algebraic Methods in Programming;2020-02
5. Inductive Theorem Proving in Non-terminating Rewriting Systems and Its Application to Program Transformation;Proceedings of the 21st International Symposium on Principles and Practice of Programming Languages 2019;2019-10-07