# Logic programming semantics made easy

## Abstract

We propose a new model-theoretic semantics for logic programs, called pure semantics, based on the notions of unfounded set and assumption set. The pure semantics emerges from the observation that major logic programming semantics have the following feature in common: given an ’intended model’ *M*, the set of negative literals in *M* corresponds exactly with the greatest unfounded set w.r.t. the set of positive literals in *M*. In other words, a model contains redundant information as its negative part can be described in function of its positive part. Thus, the total models and the partial models of programs can now be characterized by a set of positive literals. Based on this idea, we develop the pure semantics for logic programs. The result is a remarkably simple semantics that unifies previous approaches and explains how partial model semantics follows from a weaker closed world assumption.

## Preview

Unable to display preview. Download preview PDF.

## References

- Gel88a.A. Van Gelder, K. Ross, and J. S. Schlipf,
*The Well-Founded Semantics for General Logic Programs*, 1988. UCSC-CRL-88-16Google Scholar - Gel88b.M. Gelfond and V. Lifschitz, “'The Stable Model Semantics for Logic Programming,”
*in Proc. of the Intl. Conf. on Logic Programming*, pp. 1071–1079, 1988.Google Scholar - Gel89a.M. Gelfond and V. Lifschitz,
*Logic Programs with Classical Negation*, 1989. ManuscriptGoogle Scholar - Lae90a.E. Laenens and D. Vermeir, “A Fixpoint Semantics of Ordered Logic,”
*Journal of Logic and Computation*, vol. 1, no. 2, pp. 159–185, 1990.Google Scholar - Lae90b.E. Laenens, “Foundations of Ordered Logic,”
*PhD Thesis, University of Antwerp (UIA)*, 1990.Google Scholar - Lae90c.E. Laenens, D. Vermeir, and D. Sacca, “Extending logic programming,” in
*Proceedings of the SIGMOD conference*, pp. 184–193, 1990.Google Scholar - Lae91a.E. Laenens, D. Vermeir, and C. Zaniolo, “Pure models for logic programs: a simplification and unification of logic programming semantics,”
*Technical report*,*91–31*, 1991.Google Scholar - Lae92a.E. Laenens,
*A universally consistent semantics for extended logic programs*, Submitted for puclication, 1992.Google Scholar - Prz89a.T. Przymusinski, “Three-Valued Formalizations of Non-Monotonic Reasoning and Logic Programming,”
*Proc. 1st Int. Conference on Principles of Knowledge Representation and Reasoning*, pp. 341–349, 1989.Google Scholar - Prz90a.T. Przymusinski, “Well-founded semantics coincides with three-valued stable semantics,”
*Fundamenta Informaticae*, vol. 13, pp. 445–463, IOS Press, 1990.Google Scholar - Sac90a.D. Sacca and C. Zaniolo, “Stable models and Non-determinism for logic programs with negation,”
*Proc. ACM Symp. on Principles of Database Systems*, 1990.Google Scholar - You90a.Jia-Huai You and Li Yan Yuan, “Three-Valued Formalization of Logic Programming: Is It Needed?,” in
*Proc. of the PODS'90 conference*, pp. 172–182, 1990.Google Scholar