Skip to main content
QUICK REVIEW

[Paper Review] Stable models and an alternative logic programming paradigm

Victor W. Marek, Mirosław Truszczyński|ArXiv.org|Sep 18, 1998
Logic, Reasoning, and KnowledgeComputer Science25 references19 citations
TL;DR

This paper proposes Stable Logic Programming (SLP), a logic programming paradigm that interprets programs as sets of constraints rather than recursive definitions, using stable model semantics to represent solutions as stable models. By restricting syntax to exclude function symbols and reinterpreting clauses as constraints, SLP provides a declarative, control-separated framework well-suited for NP-complete and constraint satisfaction problems, with efficient computation enabled by modern stable model solvers.

ABSTRACT

In this paper we reexamine the place and role of stable model semantics in logic programming and contrast it with a least Herbrand model approach to Horn programs. We demonstrate that inherent features of stable model semantics naturally lead to a logic programming system that offers an interesting alternative to more traditional logic programming styles of Horn logic programming, stratified logic programming and logic programming with well-founded semantics. The proposed approach is based on the interpretation of program clauses as constraints. In this setting programs do not describe a single intended model, but a family of stable models. These stable models encode solutions to the constraint satisfaction problem described by the program. Our approach imposes restrictions on the syntax of logic programs. In particular, function symbols are eliminated from the language. We argue that the resulting logic programming system is well-attuned to problems in the class NP, has a well-defined domain of applications, and an emerging methodology of programming. We point out that what makes the whole approach viable is recent progress in implementations of algorithms to compute stable models of propositional logic programs.

Motivation & Objective

  • To reframe stable model semantics as a foundational paradigm for logic programming, moving beyond traditional Horn logic and SLD resolution.
  • To address the mismatch between stable model semantics and standard logic programming by proposing a new computational model that embraces its inherent features.
  • To demonstrate that SLP, with restricted syntax and constraint-based interpretation, is well-suited for NP problems and constraint satisfaction tasks.
  • To establish a methodology for programming in SLP and to explore its advantages over propositional logic encodings in terms of conciseness and minimality.
  • To motivate further research into SLP’s theoretical foundations, performance, and integration with constraint solving systems.

Proposed method

  • Restrict logic program syntax to exclude function symbols, aligning with DATALOG with negation and limiting recursion.
  • Interpret each clause as a constraint on potential solutions rather than a recursive definition, shifting from logical inference to model generation.
  • Use stable model semantics to define the meaning of a program as a family of stable models, each representing a valid solution to a constraint satisfaction problem.
  • Employ backtracking search algorithms (e.g., smodels) for computing stable models, replacing SLD resolution as the control mechanism.
  • Leverage recent advances in stable model computation to enable practical implementation and performance evaluation of SLP programs.
  • Compare SLP encodings with propositional CNF encodings, emphasizing the groundedness and minimality of stable models as advantages in conciseness and correctness.

Experimental results

Research questions

  • RQ1Can stable model semantics be reinterpreted as a viable, standalone logic programming paradigm rather than a mere semantics for negation?
  • RQ2What are the computational and expressive characteristics of a logic programming system based on stable models and constraint interpretation?
  • RQ3How does SLP compare to propositional logic in terms of encoding efficiency and solution structure for NP problems?
  • RQ4What programming methodology emerges when programs are viewed as sets of constraints rather than recursive definitions?
  • RQ5Can SLP be effectively integrated into constraint solving and planning systems in AI and operations research?

Key findings

  • SLP provides a well-defined domain of applications, primarily for problems in NP, including combinatorial optimization and constraint satisfaction.
  • The stable model semantics naturally yields minimal models, which is advantageous for optimization problems where minimality is a requirement.
  • SLP programs are grounded—facts are included only if they are justified—improving semantic clarity and reducing unintended models.
  • Encodings of problems like the Hamiltonian cycle in SLP are asymptotically more concise than equivalent CNF encodings in propositional logic.
  • The use of backtracking search for stable model computation, powered by systems like smodels, makes SLP practically viable despite its non-Horn nature.
  • Recent implementations of stable model computation algorithms have enabled the development of practical SLP systems, supporting further research and benchmarking.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.