Stepwise debugging of answer-set programs
From MaRDI portal
Abstract: We introduce a stepping methodology for answer-set programming (ASP) that allows for debugging answer-set programs and is based on the stepwise application of rules. Similar to debugging in imperative languages, where the behaviour of a program is observed during a step-by-step execution, stepping for ASP allows for observing the effects that rule applications have in the computation of an answer set. While the approach is inspired from debugging in imperative programming, it is conceptually different to stepping in other paradigms due to non-determinism and declarativity that are inherent to ASP. In particular, unlike statements in an imperative program that are executed following a strict control flow, there is no predetermined order in which to consider rules in ASP during a computation. In our approach, the user is free to decide which rule to consider active in the next step following his or her intuition. This way, one can focus on interesting parts of the debugging search space. Bugs are detected during stepping by revealing differences between the actual semantics of the program and the expectations of the user. As a solid formal basis for stepping, we develop a framework of computations for answer-set programs. For fully supporting different solver languages, we build our framework on an abstract ASP language that is sufficiently general to capture different solver languages. To this end, we make use of abstract constraints as an established abstraction for popular language constructs such as aggregates. Stepping has been implemented in SeaLion, an integrated development environment for ASP. We illustrate stepping using an example scenario and discuss the stepping plugin of SeaLion. Moreover, we elaborate on methodological aspects and the embedding of stepping in the ASP development process.
Recommendations
Cites work
- scientific article; zbMATH DE number 1696830 (Why is no real title available?)
- scientific article; zbMATH DE number 25190 (Why is no real title available?)
- scientific article; zbMATH DE number 1368933 (Why is no real title available?)
- scientific article; zbMATH DE number 6747884 (Why is no real title available?)
- scientific article; zbMATH DE number 6261542 (Why is no real title available?)
- A Theoretical Framework for the Declarative Debugging of Datalog Programs
- A logic of nonmonotone inductive definitions
- Abstract answer set solvers with backjumping and learning
- Advances in WASP
- Catching the Ouroboros: on debugging non-ground answer-set programs
- Conflict-driven answer set solving: from theory to practice
- Debugging ASP Programs by Means of ASP
- Debugging for Model Expansion
- Debugging non-ground ASP programs with choice rules, cardinality and weight constraints
- Extending and implementing the stable model semantics
- Interactive debugging of non-ground ASP programs
- Justifications for logic programs under answer set semantics
- Logic Programming and Nonmonotonic Reasoning
- Logic programs with abstract constraint atoms: the role of computations
- Logic programs with propositional connectives and aggregates
- Logic programs with stable model semantics as a constraint programming paradigm
- Logics in Artificial Intelligence
- On abstract modular inference systems and solvers
- On elementary loops of logic programs
- Propositional semantics for disjunctive logic programs
- Reducts of propositional theories, satisfiability relations, and generalizations of semantics of logic programs
- Semantics and complexity of recursive aggregates in answer set programming
- Solving SAT and SAT modulo theories, from an abstract Davis-Putnam-Logemann-Loveland procedure to \(\operatorname{DPLL}(T)\)
- Stepping through an answer-set program
- Stepwise debugging of description-logic programs
- The DLV system for knowledge representation and reasoning
- The<scp>dlvhex</scp>system for knowledge representation: recent advances (system description)
Cited in
(13)- Justifications for Description Logic Knowledge Bases Under the Fixed-Domain Semantics
- Stepwise debugging of description-logic programs
- Witnesses for Answer Sets of Logic Programs
- Debugging non-ground ASP programs with choice rules, cardinality and weight constraints
- Debugging ASP Programs by Means of ASP
- Towards causality-based conflict resolution in answer set programs
- Debugging non-ground ASP programs: technique and graphical tools
- Answering the ``why in answer set programming -- a survey of explanation approaches
- Interactive debugging of non-ground ASP programs
- Stepping through an answer-set program
- Catching the Ouroboros: on debugging non-ground answer-set programs
- Introduction to the TPLP Special Issue on User-oriented Logic Programming and Reasoning Paradigms
- Contrastive explanations for answer-set programs
This page was built for publication: Stepwise debugging of answer-set programs
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4603428)