Constructors, Sufficient Completeness, and Deadlock Freedom of Rewrite Theories

被引:10
|
作者
Rocha, Camilo [1 ]
Meseguer, Jose [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
关键词
GROUND-REDUCIBILITY; TREE AUTOMATA; LOGIC; SPECIFICATIONS; INDUCTION; SYSTEMS; CONFLUENCE;
D O I
10.1007/978-3-642-16242-8_42
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Sufficient completeness has been throughly studied for equational specifications, where function symbols are classified into constructors and defined symbols. But what should sufficient completeness mean for a rewrite theory R = (Sigma, E, R) with equations E and non-equational rules R describing concurrent transitions in a system? This work argues that a rewrite theory naturally has two notions of constructor: the usual one for its equations E, and a different one for its rules R. The sufficient completeness of constructors for the rules R turns out to be intimately related with deadlock freedom, i.e., R has no deadlocks outside the constructors for R. The relation between these two notions is studied in the setting of unconditional order-sorted rewrite theories. Sufficient conditions are given allowing the automatic checking of sufficient completeness, deadlock freedom, and other related properties, by propositional tree automata modulo equational axioms such as associativity, commutativity, and identity. They are used to extend the Maude Sufficient Completeness Checker from the checking of equational theories to that of both equational and rewrite theories. Finally, the usefulness of the proposed notion of constructors in proving inductive theorems about the reachability rewrite relation -->(R) associated to a rewrite theory R (and also about the joinability relation down arrow(R)) is both characterized and illustrated with an example.
引用
收藏
页码:594 / 609
页数:16
相关论文
共 50 条
  • [1] COMPLETENESS OF REWRITE RULES AND REWRITE STRATEGIES FOR FP
    HALPERN, JY
    WILLIAMS, JH
    WIMMERS, EL
    JOURNAL OF THE ACM, 1990, 37 (01) : 86 - 143
  • [2] A NARROWING PROCEDURE FOR THEORIES WITH CONSTRUCTORS
    FRIBOURG, L
    LECTURE NOTES IN COMPUTER SCIENCE, 1984, 170 : 259 - 281
  • [3] Generalized rewrite theories
    Bruni, R
    Meseguer, J
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2003, 2719 : 252 - 266
  • [4] SUFFICIENT CONDITION FOR A COMMUNICATION DEADLOCK AND DISTRIBUTED DEADLOCK DETECTION
    WOJCIK, BE
    WOJCIK, ZM
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (12) : 1587 - 1595
  • [5] TRANSFORMING STRONGLY SEQUENTIAL REWRITE SYSTEMS WITH CONSTRUCTORS FOR EFFICIENT PARALLEL EXECUTION
    SEKAR, RC
    PAWAGI, S
    RAMAKRISHNAN, IV
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 355 : 404 - 418
  • [6] THE PURSUIT OF DEADLOCK FREEDOM
    ROSCOE, AW
    DATHI, N
    INFORMATION AND COMPUTATION, 1987, 75 (03) : 289 - 327
  • [7] PROOFS BY INDUCTION IN EQUATIONAL THEORIES WITH CONSTRUCTORS
    HUET, G
    HULLOT, JM
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1982, 25 (02) : 239 - 266
  • [8] Functorial semantics of rewrite theories
    Meseguer, J
    FORMAL METHODS IN SOFTWARE AND SYSTEMS MODELING: ESSAYS DEDICATED TO HARTMUT EHRIG ON THE OCCASION OF HIS 60TH BIRTHDAY, 2005, 3393 : 220 - 235
  • [9] Language Definitions as Rewrite Theories
    Arusoaie, Andrei
    Lucanu, Dorel
    Rusu, Vlad
    Serbanuta, Traian-Florin
    Stefanescu, Andrei
    Rosu, Grigore
    REWRITING LOGIC AND ITS APPLICATIONS, WRLA 2014, 2014, 8663 : 97 - 112
  • [10] Language definitions as rewrite theories
    Rusu, Vlad
    Lucanu, Dorel
    Serbanuta, Traian-Florin
    Arusoaie, Andrei
    Stefanescu, Andrei
    Rosu, Grigore
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2016, 85 (01) : 98 - 120