Open AccessProceedings Article
A meta-programming technique for debugging answer-set programs
Martin Gebser,Jörg Pührer,Torsten Schaub,Hans Tompits +3 more
- 13 Jul 2008
- pp 448-453
TL;DR: This paper introduces a meta-programming technique for debugging in ASP that respects the declarative nature of ASP, and the capabilities of the system can easily be extended to incorporate differing debugging features.
read more
Abstract: Answer-set programming (ASP) is widely recognised as a viable tool for declarative problem solving. However, there is currently a lack of tools for developing answer-set programs. In particular, providing tools for debugging answer-set programs has recently been identified as a crucial prerequisite for a wider acceptance of ASP. In this paper, we introduce a meta-programming technique for debugging in ASP. The basic question we address is why interpretations expected to be answer sets are not answer sets of the program to debug. We thus deal with finding semantical errors of programs. The explanations provided by our method are based on an intuitive scheme of errors that relies on a recent characterisation of the answer-set semantics. Furthermore, as we are using a meta-programming technique, debugging queries are expressed in terms of answer-set programs themselves, which has several benefits: For one, we can directly use ASP solvers for processing debugging queries. Indeed, our technique can easily be implemented, and we devised a corresponding prototype debugging system. Also, our approach respects the declarative nature of ASP, and the capabilities of the system can easily be extended to incorporate differing debugging features.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
•Book
Answer Set Solving in Practice
Martin Gebser,Roland Kaminski,Benjamin Kaufmann,Torsten Schaub +3 more
- 19 Dec 2012
TL;DR: This book presents a practical introduction to ASP, aiming at using ASP languages and systems for solving application problems, and introduces ASP's solving technology, modeling language and methodology.
Answer Set Solving in Practice
Martin Gebser,Roland Kaminski,B. Kaufmann,T. Schaub +3 more
TL;DR: This book presents a practical introduction to ASP, aiming at using ASP languages and systems for solving application problems, and introduces ASP's solving technology, modeling language and methodology.
384
Answer set programming
Piero A. Bonatti,Francesco Calimeri,Nicola Leone,Francesco Ricca +3 more
- 01 Jan 2010
TL;DR: After a formal definition of ASP, this chapter surveys the main contribution given by the Italian community to the ASP field in the last 25 years.
350
•Proceedings Article
Finding explanations of inconsistency in multi-context systems
Thomas Eiter,Michael Fink,Peter Schüller,Antonius Weinzierl +3 more
- 09 May 2010
TL;DR: This work provides two approaches for explaining inconsistency in multi-context systems, where decentralized and heterogeneous system parts interact via nonmonotonic bridge rules, and shows duality and modularity properties, and gives precise complexity characterizations.
88
Finding explanations of inconsistency in multi-context systems
TL;DR: In this paper, the authors consider the problem of inconsistency management in multi-context systems, in which decentralized and heterogeneous system parts interact via (possibly nonmonotonic) bridge rules for information exchange.
72
References
A theory of diagnosis from first principles
TL;DR: The theory accommodates diagnostic reasoning in a wide variety of practical settings, including digital and analogue circuits, medicine, and database updates, and reveals close connections between diagnostic reasoning and nonmonotonic reasoning.
3.2K
Classical negation in logic programs and disjunctive databases
TL;DR: It is shown that some facts of commonsense knowledge can be represented by logic programs and disjunctive databases more easily when classical negation is available.
•Book
Knowledge representation, reasoning and declarative problem solving
Chitta Baral
- 01 Jan 2003
TL;DR: Chitta Baral demonstrates how to write programs that behave intelligently by giving them the ability to express knowledge and reason about it and presents a language, AnsProlog, for both knowledge representation and reasoning, and declarative problem solving.
Extending and implementing the stable model semantics
TL;DR: A novel logic program like language, weight constraint rules, is developed for answer set programming purposes which offers a competitive implementation of the stable model semantics for normal programs and attractive performance for problems where the new types of rules provide a compact representation.
1K
•Book
The Art of Prolog: Advanced Programming Techniques
Leon Sterling,Ehud Shapiro +1 more
- 01 Jan 1994
TL;DR: The Prolog language as discussed by the authors is a language for pure Prolog programming with meta-logical predicates cuts and negation, and it can be used to develop game-playing programs as well as a credit evaluation expert system.
529