[Paper Review] Computing Stable Models of Normal Logic Programs Without Grounding
This paper presents a novel, goal-directed method for computing stable models of normal logic programs with arbitrary terms and negation without grounding, using a non-Herbrand universe, coinduction, and constructive negation via dual rules. The approach enables sound, partial model computation for a broad class of predicate logic programs, including those with infinite domains and complex data structures.
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.
Motivation & Objective
- To address the fundamental limitation of grounding-based approaches in stable model computation, which fail for programs with infinite domains or arbitrary terms.
- To enable top-down, query-driven execution of normal logic programs with negation and complex data structures, avoiding full grounding.
- To support practical applications involving infinite or large data domains, such as symbolic reasoning over lists and recursive data structures.
- To provide a sound and operational semantics for normal logic programs with predicates under the stable model semantics, without restricting program syntax or requiring finite domains.
- To overcome the limitations of existing systems that either ground programs prematurely or restrict program acceptance to ensure consistency.
Proposed method
- The method employs a non-Herbrand universe—an infinite superset of the Herbrand universe—to preserve logical properties required for soundness while enabling computation on infinite terms.
- Coinductive logic programming is used to handle mutually recursive and coinductive dependencies, ensuring consistency in the presence of cyclic or infinite derivations.
- Dual rules are introduced to manage negation constructively, allowing for the derivation of negative literals without relying on classical negation or failure-based inference.
- Negatively constrained variables are used to track unification constraints in the presence of negation, enabling sound propagation of constraints during query resolution.
- The system performs goal-directed computation, exploring only the relevant portion of the model in response to a query, avoiding full grounding and SAT solving.
- A prototype implementation, s(ASP), compiles programs into an abstract machine and executes them via a WAM-style emulator, enabling efficient execution similar to Prolog.
Experimental results
Research questions
- RQ1Can stable model semantics be effectively applied to normal logic programs with arbitrary terms and negation without requiring grounding?
- RQ2Is it possible to design a sound, goal-directed execution mechanism for stable models that supports complex data structures like lists and recursive terms?
- RQ3How can coinduction and constructive negation be combined to ensure consistency and completeness in the presence of recursive and mutually dependent clauses?
- RQ4Can a non-Herbrand universe be used to maintain soundness while still allowing useful, partial model computation for infinite or large domains?
- RQ5What are the minimal syntactic restrictions needed to ensure soundness and practical efficiency in a query-driven stable model computation system?
Key findings
- The method successfully computes partial stable models for normal logic programs with arbitrary terms, including those with infinite Herbrand universes, without grounding.
- The use of a non-Herbrand universe enables soundness and correctness for a broad class of programs, including those with recursive and coinductive structures.
- Coinductive logic programming and dual rules allow for constructive negation and consistent handling of negative literals during query resolution.
- The prototype system s(ASP) has been implemented and used to develop non-trivial applications, including a biology textbook reasoning system and a birthday gift advisor.
- The method supports programs with unbounded integers and complex data structures, unlike systems requiring finite domain bounds or upper limits on numerical values.
- The approach avoids the completeness and consistency issues of bottom-up grounding methods by computing only the relevant portion of the model in response to a query.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.