In analogy to the Davis-Putnam procedure we develop a new procedure for computing stable models of propositional normal disjunctive logic programs, using case analysis and simpliication. Our procedure enumerates all stable models without repetition and without the need for a minimality check. Since it is not necessary to store the set of stable models explicitly, the procedure runs in polynomial space. We allow clauses with empty heads, in order to represent truth or falsity of a proposition as a one-literal clause. In particular, a clause of form A ! expresses that A is constrained to be true, without providing a justiication for A. Adding this clause to a program restricts its stable models to those containing A, without introducing new stable models. Together with A ! this provides the basis for case analysis. We present our procedure as a set of rules which transform a program into a set of solved forms, which resembles the standard method for presenting uniication algorithms. Rules are sound in the sense that they preserve the set of stable models. A subset of the rules is shown to be complete in the sense that for each stable model a solved form can be obtained. The method allows for concise presentation, exible choice of a control strategy and simple correctness proofs.
[1]
Hilary Putnam,et al.
A Computing Procedure for Quantification Theory
,
1960,
JACM.
[2]
John Wylie Lloyd,et al.
Foundations of Logic Programming
,
1987,
Symbolic Computation.
[3]
V. Lifschitz,et al.
The Stable Model Semantics for Logic Programming
,
1988,
ICLP/SLP.
[4]
Carlo Zaniolo,et al.
Stable models and non-determinism in logic programs with negation
,
1990,
PODS.
[5]
Kave Eshghi,et al.
Computing Stable Models by Using the ATMS
,
1990,
AAAI.
[6]
Katsumi Inoue,et al.
Embedding Negation as Failure into a Model Generation Theorem Prover
,
1992,
CADE.
[7]
Jack Minker,et al.
Disjunctive Deductive Databases
,
1992,
LPAR.
[8]
Victor W. Marek,et al.
The Relationship Between Stable, Supported, Default and Autoepistemic Semantics for General Logic Programs
,
1992,
Theor. Comput. Sci..
[9]
Georg Gottlob,et al.
Complexity Results for Disjunctive Logic Programming and Application to Nonmonotonic Logics
,
1993,
ILPS.
[10]
Anil Nerode,et al.
Mixed integer programming methods for computing nonmonotonic deductive databases
,
1994,
JACM.
[11]
V. S. Subrahmanian,et al.
WFS + Branch and Bound = Stable Models
,
1995,
IEEE Trans. Knowl. Data Eng..