Catching the Ouroboros: On Debugging Non-ground Answer-Set Programs
Johannes Oetsch, J\"org P\"uhrer, and Hans Tompits

TL;DR
This paper presents a novel debugging technique for non-ground answer-set programs in ASP, enabling programmers to identify why certain interpretations are not answer sets, using meta-programming and supporting complex language features.
Contribution
It introduces a meta-programming based debugging method specifically designed for non-ground ASP programs, extending previous propositional debugging approaches to handle variables, comparisons, and arithmetic.
Findings
Supports programs with comparison predicates and integer arithmetic
Uses a uniform ASP encoding for debugging requests
Addresses the central question of why an interpretation is not an answer set
Abstract
An important issue towards a broader acceptance of answer-set programming (ASP) is the deployment of tools which support the programmer during the coding phase. In particular, methods for debugging an answer-set program are recognised as a crucial step in this regard. Initial work on debugging in ASP mainly focused on propositional programs, yet practical debuggers need to handle programs with variables as well. In this paper, we discuss a debugging technique that is directly geared towards non-ground programs. Following previous work, we address the central debugging question why some interpretation is not an answer set. The explanations provided by our method are computed by means of a meta-programming technique, using a uniform encoding of a debugging request in terms of ASP itself. Our method also permits programs containing comparison predicates and integer arithmetics, thus…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
