grASP: A Graph Based ASP-Solver and Justification System

Answer set programming (ASP) is a popular nonmonotonic-logic based paradigm for knowledge representation and solving combinatorial problems. Computing the answer set of an ASP program is NP-hard in general, and researchers have been investing significant effort to speed it up. The majority of current ASP solvers employ SAT solver-like technology to find these answer sets. As a result, justification for why a literal is in the answer set is hard to produce. There are dependency graph based approaches to find answer sets, but due to the representational limitations of dependency graphs, such approaches are limited. We propose a novel dependency graph-based approach for finding answer sets in which conjunction of goals is explicitly represented as a node which allows arbitrary answer set programs to be uniformly represented. Our representation preserves causal relationships allowing for justification for each literal in the answer set to be elegantly found. Performance results from an implementation are also reported. Our work paves the way for computing answer sets without grounding a program.

[1]  Aric Hagberg,et al.  Exploring Network Structure, Dynamics, and Function using NetworkX , 2008, Proceedings of the Python in Science Conference.

[2]  Thomas Linke,et al.  Suitable Graphs for Answer Set Programming , 2005, Answer Set Programming.

[3]  Thomas Linke,et al.  NoMoRe : A System for Non-Monotonic Reasoning under Answer Set Semantics , 2001, LPNMR.

[4]  Nils J. Nilsson,et al.  Artificial Intelligence , 1974, IFIP Congress.

[5]  Martin Gebser,et al.  Clingo = ASP + Control: Preliminary Report , 2014, ArXiv.

[6]  Gopal Gupta,et al.  Computing Stable Models of Normal Logic Programs Without Grounding , 2017, ArXiv.

[7]  Kathleen Daly,et al.  Volume 7 , 1998 .

[8]  Michael Gelfond,et al.  Knowledge Representation, Reasoning, and the Design of Intelligent Agents: The Answer-Set Programming Approach , 2014 .

[9]  Joao Marques-Silva,et al.  GRASP-A new search algorithm for satisfiability , 1996, Proceedings of International Conference on Computer Aided Design.

[10]  Manuel Carro,et al.  Constraint Answer Set Programming without Grounding , 2018, Theory and Practice of Logic Programming.

[11]  Peter Szolovits,et al.  What Is a Knowledge Representation? , 1993, AI Mag..

[12]  Torsten Schaub,et al.  Graphs and colorings for answer set programming , 2005, Theory and Practice of Logic Programming.

[13]  Timo Soininen,et al.  Extending and implementing the stable model semantics , 2000, Artif. Intell..

[14]  Donald B. Johnson,et al.  Finding All the Elementary Circuits of a Directed Graph , 1975, SIAM J. Comput..