Definitioncore
Gelfond-Lifschitz reduct
Also called GL reduct.
The reduct of a normal program by a set of atoms M deletes the rules blocked by M and the negative literals in the rest. The result has no negation, so it has a least model.
The Gelfond-Lifschitz reduct is the program transformation at the center of the stable model semantics. Given a ground normal program and a candidate set of true atoms, it fixes the meaning of every by and returns a program without negation. Gelfond and Lifschitz (1988) defined it, and called stable when the least model of the reduct is again. This page is about the transformation and its properties; the semantics built on it is on the stable model page, and the alternating fixpoint uses the same operator to compute the well-founded model.
Definition
Let be a ground normal program and a set of atoms. The reduct is obtained from in two steps.
- Delete each rule that has a negative literal with .
- Delete all negative literals from the remaining rules.
So a rule gives the rule in if no is in , and nothing otherwise. The reduct is a definite program, so it has a least model , which forward chaining computes in time linear in the size of (Horn satisfiability, Dowling and Gallier 1984). Write .
is a stable model of when .
For a non-ground program, the reduct is taken of its ground instance over the Herbrand universe.
Examples and non-examples
Take the program
p ← not q.
q ← not p.
r ← p, not s.
| stable | |||
|---|---|---|---|
| no | |||
| no | |||
| yes | |||
| yes | |||
| no |
The candidate is not stable: under it the rules also derive , and . The candidate blocks both rules for and , so it supports nothing. The stable models are and .
- Definite program. If has no negation, for every , and the only stable model is the least model.
- Self-blocking rule. For , and . No set is a fixpoint.
- Non-example. Deleting only the negative literals, without first deleting the blocked rules, is not the reduct: on it would make a fact for every .
Related definitions
- Antimonotonicity. If , then , so . Hence is monotone, and its least and greatest fixpoints give the true and the not-false atoms of the well-founded model (Van Gelder 1993). This is the alternating fixpoint.
- Reduct of a formula. For a disjunctive program, the same reduct gives a positive disjunctive program, and is an answer set when it is a minimal model of . For arbitrary propositional formulas, Ferraris (2005) defined a reduct that replaces each maximal subformula false in by .
- SE-models. The pairs with , and characterize strong equivalence.
- Stability check. Testing whether a given is stable takes linear time: build and compute its least model. To decide whether a stable model exists is NP-complete, because the candidate must be guessed.
References
- Michael Gelfond and Vladimir Lifschitz, The stable model semantics for logic programming, in Robert A. Kowalski and Kenneth A. Bowen (eds.), Logic Programming: Proceedings of the Fifth International Conference and Symposium, MIT Press, 1070 to 1080 (1988), the definition of the transformation of a program by a set of atoms
- Allen Van Gelder, The alternating fixpoint of logic programs with negation, Journal of Computer and System Sciences 47(1), 185 to 221 (1993), the antimonotone operator built from the reduct
- Vladimir Lifschitz, Answer Set Programming, Springer (2019), the chapter on the reduct and stable models of propositional programs
- William F. Dowling and Jean H. Gallier, Linear-time algorithms for testing the satisfiability of propositional Horn formulae, Journal of Logic Programming 1(3), 267 to 284 (1984), the linear-time computation of the least model of a Horn program
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 84D73X Edit this page History Report an error Markdown