Declarative Debugging of Rewriting Logic Specifications

被引:0
|
作者
Riesco, Adrian [1 ]
Verdejo, Alberto [1 ]
Caballero, Rafael [1 ]
Marti-Oliet, Narciso [1 ]
机构
[1] Univ Complutense Madrid, Fac Informat, E-28040 Madrid, Spain
关键词
MEMBERSHIP EQUATIONAL LOGIC; MISSING ANSWERS; DIAGNOSIS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Declarative debugging is a semi-automatic technique that starts from all incorrect computation and locates a program fragment responsible for the error by building a tree representing this computation and guiding the user through it to find the wrong statement. This paper presents the fundamentals for the declarative debugging of rewriting logic specifications, realized in the Maude language, where a wrong computation can be a reduction; a type inference, or a, rewrite. We define appropriate debugging trees obtained as the result of collapsing in proof trees all those nodes whose correctness does riot need any justification. Since these trees are obtained from a suitable semantic calculus, the correctness and completeness of the debugging technique call be formally proved. We illustrate how to use the debugger by means of an example and succinctly describe its implementation in Maude itself thanks to its reflective and metalanguage features.
引用
收藏
页码:308 / 325
页数:18
相关论文
共 50 条
  • [1] Declarative debugging of rewriting logic specifications
    Riesco, Adrian
    Verdejo, Alberto
    Marti-Oliet, Narciso
    Caballero, Rafael
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2012, 81 (7-8): : 851 - 897
  • [2] Declarative debugging of membership equational logic specifications
    Caballero, Rafael
    Marti-Oliet, Narciso
    Riesco, Adrian
    Verdejo, Alberto
    CONCURRENCY, GRAPHS AND MODELS: ESSAYS DEDICATED TO UGO MONTANARI ON THE OCCASION OF HIS 65TH BIRTHDAY, 2008, 5065 : 174 - 193
  • [3] DECLARATIVE DEBUGGING OF MISSING ANSWERS FOR MAUDE SPECIFICATIONS
    Riesco, Adrian
    Verdejo, Alberto
    Marti-Oliet, Narciso
    PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON REWRITING TECHNIQUES AND APPLICATIONS (RTA'10), 2010, 6 : 277 - 294
  • [4] FOUNDATIONS OF DECLARATIVE DEBUGGING IN ARBITRARY LOGIC PROGRAMMING
    YAN, SY
    INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1990, 32 (02): : 215 - 232
  • [5] Composing programs in a rewriting logic for declarative programming
    Molina-Bravo, JM
    Pimentel, E
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2003, 3 : 189 - 221
  • [6] An approach to declarative programming based on a rewriting logic
    González-Moreno, JC
    Hortalá-González, MT
    López-Fraguas, FJ
    Rodríguez-Artalejo, M
    JOURNAL OF LOGIC PROGRAMMING, 1999, 40 (01): : 47 - 87
  • [7] Verification from Declarative Specifications Using Logic Programming
    Montali, Marco
    Torroni, Paolo
    Alberti, Marco
    Chesani, Federico
    Gavanelli, Marco
    Lamma, Evelina
    Mello, Paola
    LOGIC PROGRAMMING, PROCEEDINGS, 2008, 5366 : 440 - +
  • [8] Theoretical foundations for the declarative debugging of lazy functional logic programs
    Cabalbero, R
    López-Fraguas, FJ
    Rodríguez-Artalejo, M
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 170 - 184
  • [9] DDT:: a declarative debugging tool for functional-logic languages
    Caballero, R
    Rodríguez-Artalejo, M
    FUNCTIONAL AND LOGIC PROGRAMMING, 2004, 2998 : 70 - 84
  • [10] Verifying Reachability-Logic Properties on Rewriting-Logic Specifications
    Lucanu, Dorel
    Rusu, Vlad
    Arusoaie, Andrei
    Nowak, David
    LOGIC, REWRITING, AND CONCURRENCY, 2015, 9200 : 451 - 474