Declarative debugging of missing answers for Maude

Adrián Riesco, Alberto Verdejo, and Narciso Martí-Oliet

In C. Lynch, editor, Proceedings of the 21st International Conference on Rewriting Techniques and Applications, RTA 2010, LIPIcs 6, pages 277-294. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2010.

Abstract: Declarative debugging is a semi-automatic technique that starts from an 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 error. Membership equational logic (MEL) is an equational logic that in addition to equations allows to state of membership axioms characterizing the elements of a sort. Rewriting logic is a logic of change that extends MEL by adding rewrite rules, that correspond to transitions between states and can be nondeterministic. In this paper we propose a calculus to infer normal forms and least sorts with the equational part, and sets of reachable terms through rules. We use an abbreviation of the proof trees computed with this calculus to build appropriate debugging trees for missing answers (results that are erroneous because they are incomplete), whose adequacy for debugging is proved. Using these trees we have implemented a declarative debugger for Maude, a high-performance system based on rewriting logic, whose use is illustrated with an example.

[pdf]

@inproceedings{RiescoVMOrta10,
	Author = {Adri{\'a}n Riesco and Alberto Verdejo and Narciso Mart{\'\i}-Oliet},
	Pages = {277-294},
	Title = {Declarative Debugging of Missing Answers for {Maude}},
	ee = {http://dx.doi.org/10.4230/LIPIcs.RTA.2010.277},
	Booktitle = {Proceedings of the 21st International Conference on Rewriting Techniques 
	             and Applications, RTA 2010, Edinburgh, UK, July 11-13, 2010},
	Editor = {Christopher Lynch},
	Publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
	Series = {Leibniz International Proceedings in Informatics (LIPIcs)},
	Volume = {6},
	Year = {2010}}