On the Church-Rosser and coherence properties of conditional order-sorted rewrite theories

被引:45
作者
Duran, Francisco [1 ]
Meseguer, Jose [2 ]
机构
[1] Univ Malaga, ETSI Informat, Dept Lenguajes & Ciencias Computac, E-29071 Malaga, Spain
[2] Univ Illinois, Urbana, IL 61801 USA
来源
JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING | 2012年 / 81卷 / 7-8期
基金
美国国家科学基金会;
关键词
Maude; Order-sorted conditional specifications; Rewriting modulo; Formal verification; Church-Rosser property; Coherence; OPERATIONAL SEMANTICS; COMPLETION; TERMINATION; MODULO; CONFLUENCE; DEDUCTION; ALGEBRA; SYSTEMS; RULES;
D O I
10.1016/j.jlap.2011.12.004
中图分类号
学科分类号
摘要
In the effort to bring rewriting-based methods into contact with practical applications both in programing and in formal verification, there is a tension between: (i) expressiveness and generality-so that a wide range of applications can be expressed easily and naturally-and (ii) support for formal verification, which is harder to get for general and expressive specifications. This paper answers the challenge of successfully negotiating the tension between goals (i) and (ii) for a wide class of Maude specifications, namely: (a) equational order-sorted conditional specifications (Sigma, E boolean OR A), corresponding to functional programs modulo axioms such as associativity and/or commutativity and/or identity axioms and (b) order-sorted conditional rewrite theories R = (Sigma, E boolean OR A, R, phi), corresponding to concurrent programs modulo axioms A. For Maude functional programs the key formal property checked is the Church-Rosser property. For concurrent declarative programs in rewriting logic, the key property checked is the coherence between rules and equations modulo the axioms A. Such properties are essential, both for executability purposes and as a basis for verifying many other properties, such as, for example, proving inductive theorems of a functional program, or correct model checking of temporal logic properties for a concurrent program. This paper develops the mathematical foundations on which the checking of these properties (or ground versions of them) is based, presents two tools, the Church-Rosser Checker (CRC) and the Coherence Checker (ChC) supporting the verification of these properties, and illustrates with examples a methodology to establish such properties using the proof obligations returned by the tools. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:816 / 850
页数:35
相关论文
共 60 条
[1]  
[Anonymous], 2003, CAMBR TRACTS THEOR C
[2]  
[Anonymous], 2007, LECT NOTES COMPUTER
[3]   On using ground joinable equations in equational theorem proving [J].
Avenhaus, J ;
Hillenbrand, T ;
Löchner, B .
JOURNAL OF SYMBOLIC COMPUTATION, 2003, 36 (1-2) :217-233
[4]  
Avenhaus J., 1994, Logic Programming and Automated Reasoning. 5th International Conference, LPAR '94. Proceedings, P215
[5]  
Baader F., 1998, Term rewriting and all that
[6]   COMPLETION FOR REWRITING MODULO A CONGRUENCE [J].
BACHMAIR, L ;
DERSHOWITZ, N .
THEORETICAL COMPUTER SCIENCE, 1989, 67 (2-3) :173-201
[7]  
Bachmair L., 1989, Rewriting Techniques and Applications. 3rd International Conference, RTA-89. Proceedings, P15
[8]  
Becker K., 1993, TAPSOFT '93: Theory and Practice of Software Development. 4th International Joint Conference CAAP/FASE Proceedings, P46
[9]   Specification and proof in membership equational logic [J].
Bouhoula, A ;
Jouannaud, JP ;
Meseguer, J .
THEORETICAL COMPUTER SCIENCE, 2000, 236 (1-2) :35-132
[10]   Simultaneous Checking of Completeness and Ground Confluence for Algebraic Specifications [J].
Bouhoula, Adel .
ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2009, 10 (03)