Computing Stable Models of Normal Logic Programs Without Grounding

We present a method for computing stable models of normal logic programs, i.e., logic programs extended with negation, in the presence of predicates with arbitrary terms. Such programs need not have a finite grounding, so traditional methods do not apply. Our method relies on the use of a non-Herbrand universe, as well as coinduction, constructive negation and a number of other novel techniques. Using our method, a normal logic program with predicates can be executed directly under the stable model semantics without requiring it to be grounded either before or during execution and without requiring that its variables range over a finite domain. As a result, our method is quite general and supports the use of terms as arguments, including lists and complex data structures. A prototype implementation and non-trivial applications have been developed to demonstrate the feasibility of our method.

[1]  Stijn Heymans,et al.  Integrating Semantic Web Reasoning and Answer Set Programming , 2003, Answer Set Programming.

[2]  Piero A. Bonatti Resolution for Skeptical Stable Model Semantics , 2004, Journal of Automated Reasoning.

[3]  Vladimir Lifschitz,et al.  Splitting a Logic Program , 1994, ICLP.

[4]  Antonius Weinzierl,et al.  OMiGA : An Open Minded Grounding On-The-Fly Answer Set Solver , 2012, JELIA.

[5]  David Scott Warren,et al.  XSB: Extending Prolog with Tabled Logic Programming , 2010, Theory and Practice of Logic Programming.

[6]  Gopal Gupta,et al.  A Physician Advisory System for Chronic Heart Failure management based on knowledge patterns , 2016, Theory and Practice of Logic Programming.

[7]  Fangzhen Lin,et al.  ASSAT: computing answer sets of a logic program by SAT solvers , 2002, Artif. Intell..

[8]  Li-Yan Yuan,et al.  Enhancing global SLS-resolution with loop cutting and tabling mechanisms , 2004, Theor. Comput. Sci..

[9]  Gopal Gupta,et al.  Coinductive Logic Programming and Its Applications , 2007, ICLP.

[10]  Piero A. Bonatti,et al.  Reasoning with infinite stable models , 2001, Artif. Intell..

[11]  Martin Gebser,et al.  Conflict-Driven Answer Set Solving , 2007, IJCAI.

[12]  Luís Moniz Pereira,et al.  Layered Models Top-Down Querying of Normal Logic Programs , 2009, PADL.

[13]  Enrico Pontelli,et al.  Credulous Resolution for Answer Set Programming , 2008, AAAI.

[14]  Alex M. Andrew,et al.  Knowledge Representation, Reasoning and Declarative Problem Solving , 2004 .

[15]  Pascal Nicolas,et al.  The First Version of a New ASP Solver : ASPeRiX , 2009, LPNMR.

[16]  David Pearce,et al.  A First Order Nonmonotonic Extension of Constructive Logic , 2005, Stud Logica.

[17]  Gopal Gupta,et al.  Goal-directed execution of answer set programs , 2012, PPDP.

[18]  Joseph R. Shoenfield,et al.  Mathematical logic , 1967 .

[19]  Joxan Jaffar,et al.  Constraint logic programming , 1987, POPL '87.

[20]  Wolfgang Faber,et al.  The DLV system for knowledge representation and reasoning , 2002, TOCL.

[21]  Gopal Gupta,et al.  Galliwasp: A Goal-Directed Answer Set Solver , 2012, LOPSTR.

[22]  David Scott Warren,et al.  Efficient Top-Down Computation of Queries under the Well-Founded Semantics , 1995, J. Log. Program..

[23]  Peter J. Stuckey,et al.  Constructive negation for constraint logic programming , 1991, [1991] Proceedings Sixth Annual IEEE Symposium on Logic in Computer Science.

[24]  John Wylie Lloyd,et al.  Foundations of Logic Programming , 1987, Symbolic Computation.

[25]  John S. Schlipf,et al.  The Expressive Powers of the Logic Programming Semantics , 1995, J. Comput. Syst. Sci..

[26]  David Chan,et al.  Constructive Negation Based on the Completed Database , 1988, ICLP/SLP.

[27]  Jeffrey D. Ullman,et al.  Assigning an Appropriate Meaning to Database Logic With Negation , 1994 .

[28]  Melvin Fitting,et al.  A Kripke-Kleene Semantics for Logic Programs , 1985, J. Log. Program..

[29]  Gopal Gupta,et al.  Dynamic Consistency Checking in Goal-Directed Answer Set Programming , 2014, Theory and Practice of Logic Programming.

[30]  Gopal Gupta,et al.  Timed Planning , 2010, FLAIRS.

[31]  Pascal Nicolas,et al.  ASPeRiX, a first-order forward chaining approach for answer set computing* , 2009, Theory and Practice of Logic Programming.

[32]  José Júlio Alferes,et al.  Abduction in well-founded semantics and generalized stable models via tabled dual programs , 2003, Theory and Practice of Logic Programming.

[33]  Chitta Baral,et al.  Logic Programming and Knowledge Representation , 1994, J. Log. Program..

[34]  Krzysztof R. Apt,et al.  Arithmetic classification of perfect models of stratified programs , 1991, Fundam. Informaticae.

[35]  Luís Moniz Pereira,et al.  Revised Stable Models - A Semantics for Logic Programs , 2005, EPIA.

[36]  Kenneth A. Ross,et al.  The well-founded semantics for general logic programs , 1991, JACM.

[37]  Kyle Marple,et al.  Goal-directed answer set programming , 2014 .

[38]  Alessandro Dal Palù,et al.  GASP: Answer Set Programming with Lazy Grounding , 2009, Fundam. Informaticae.

[39]  Wolfgang Faber,et al.  Look-back techniques and heuristics in DLV: Implementation, evaluation, and comparison to QBF solvers , 2008, J. Algorithms.

[40]  Marco Schaerf,et al.  A Survey of Complexity Results for Planning , 1993 .