The Logic Programming Paradigm pp 375-398 | Cite as
Stable Models and an Alternative Logic Programming Paradigm
Summary
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, a program does not describe a single intended model, but a family of its 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.
Keywords
Logic Program Logic Programming Stable Model Function Symbol Constraint Satisfaction ProblemPreview
Unable to display preview. Download preview PDF.
References
- [ADP95]J.J. Alferes, C.V. Damásio and L.M. Pereira. A logic programming system for nonmonotonic reasoning. Journal of Automated Reasoning, 14:93–147, 1995 MathSciNetMATHCrossRefGoogle Scholar
- [AB90]K. Apt and H.A. Blair. Arithmetical classification of perfect models of stratified programs. Fundamenta Informaticae, 12:1–17, 1990 MathSciNetGoogle Scholar
- [ABW88]K. Apt, H.A. Blair, and A. Walker. Towards a theory of declarative knowledge. In J. Minker, editor, Foundations of deductive databases and logic programming, pages 89–142, Los Altos, CA, 1988. Morgan Kaufmann Google Scholar
- [ACY91]F. Afrati, S. Cosmodakis, and M. Yannakakis. On DATALOG vs. polynomial time. In Proceedings of PODS’91, pages 13–25, 1991 Google Scholar
- [ADN97]C. Aravindan, J. Dix, and I. Niemelä. Dislop: Toward a disjunctive logic programming system. In Proceedings of the 4th International Conference on Logic Programming and Nonmonotonic Reasoning, pages 341–352, 1997. Springer LN in Computer Science 1265 Google Scholar
- [AHV95]S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley Publishing Company, 1995MATHGoogle Scholar
- [AN78]H. Andreka and I. Nemeti. The generalized completeness of Horn predicate logic as a programming language. Acta Cybernetica, 4:3–10, 1978. MathSciNetMATHGoogle Scholar
- [AvE82]K.R. Apt and M.H. van Emden. Contributions to the theory of logic programming. Journal of the ACM, 29:841–862, 1982 MATHCrossRefGoogle Scholar
- [BF91]N.Bidoit and C. Froidevaux. Negation by default and unstratifiable logic programs. Theoretical Computer Science, 78:85–112, 1991MathSciNetMATHCrossRefGoogle Scholar
- [BMS95]H.A. Blair, W. Marek, and J. Schlipf. The expressiveness of locally stratified programs. Annals of Mathematics and Artificial Intelligence, 15:209–229, 1995 MathSciNetMATHCrossRefGoogle Scholar
- [Cho96]P. Cholewinski. Automated reasoning with Default Logic. PhD thesis, University of Kentucky, 1996. Ph.D. Thesis.Google Scholar
- [CKPR73]A. Colmerauer, H. Kanoui, R. Pasero, and P. Roussel. Un système de communication homme-machine en frangais. Technical report, University of Marseille, 1973. Google Scholar
- [CL-73]C.-L. Chang and C.-T. Lee. Symbolic Logic and Mechanical Theorem Proving. Academic Press, 1973MATHGoogle Scholar
- [Cla78]K.L. Clark. Negation as failure. In H. Gallaire and J. Minker, editors, Logic and data bases, pages 293–322. Plenum Press, 1978Google Scholar
- [CMMT95]P. Cholewiński, W. Marek, A. Mikitiuk, and M. Truszczyński. Experimenting with nonmonotonic reasoning. In Proceedings of the 12th International Conference on Logic Programming, pages 267–281. MIT Press, 1995Google Scholar
- [CMMT98]P. Cholewiński, W. Marek, A. Mikitiuk, and M. Truszczyński. Programming with default logic. Submitted for publication, 1998Google Scholar
- [CMMT96]P. Cholewiński, W. Marek, and M. Truszczyński. Default reasoning system DeReS. In Proceedings of KR-96, pages 518–528. Morgan Kaufmann, 1996 Google Scholar
- [CP98]M. Cadoli and L. Palipoli. Circumscribing datalog: expressive power and complexity. Theoretical Computer Science, 193:215–244, 1998MathSciNetMATHCrossRefGoogle Scholar
- [CPSV98]M. Cadoli, L. Palipoli, A. Schaerf, and D. Vasile. Np-spec: An executable specification language for solving all problems in np. Unpublished manuscript, 1998. Google Scholar
- [DABC96]O. Dubois, P. Andre, Y. Boufkhad, and J. Carlier. Sat versus unsat. In Cliques, Coloring and Satisfiability, Second DIM ACS Implementation Challenge, pages 415–436. American Mathematical Society, 1996Google Scholar
- [ELM+97]T. Eiter, N. Leone, C. Mateis, G. Pfeifer, and F. Scarcello. A deductive system for non-monotonic reasoning. In Proceedings of the 4th International Conference on Logic Programming and Nonmonotonic Reasoning, pages 363–374, 1997. Springer LN in Computer Science 1265Google Scholar
- [ELM+98]T. Eiter, N. Leone, C. Mateis, G. Pfeifer, and F. Scarcello. The KR System dlv: Progress Report, Comparisons, and Benchmarks. In Proceedings Sixth International Conference on Principles of Knowledge Representation and Reasoning (KR-98), pages 406–417, June 2–4 1998 Google Scholar
- [GJ79]M.R. Garey and D.S. Johnson. Computers and intractability; a guide to the theory of NP-completeness. W.H. Freeman, 1979MATHGoogle Scholar
- [GL88]M. Gelfond and V. Lifschitz. The stable semantics for logic programs. In Proceedings of the 5th International Symposium on Logic Programming, pages 1070–1080, Cambridge, MA, 1988. MIT Press Google Scholar
- [Her30]J. Herbrand. Recherches sur la théorie de la démonstrations. PhD thesis, Paris, 1930Google Scholar
- [Kam97]M. Kaminski. A note on stable semantics for logic programs. Artificial Intelligence Journal, 96:467–479, 1997.MathSciNetMATHCrossRefGoogle Scholar
- [Kow74]R. Kowalski. Predicate logic as a programming language. In Proceedings of IFIP 74, pages 569–574, Amsterdam, 1974. North HollandGoogle Scholar
- [Kow79]R. Kowalski. Logic for Problem Solving. North Holland, Amsterdam, 1979.MATHGoogle Scholar
- [Lif98]V. Lifschitz. Action languages, answer sets and planning. This volume.Google Scholar
- [Llo84]J. Lloyd. Foundations of logic programming. Berlin: Springer-Verlag, 1984.MATHGoogle Scholar
- [Lov78]D. Loveland. Automated Theorem Proving: A Logical Basis. North Holland, 1978. MATHGoogle Scholar
- [LT84]J.W. Lloyd and R.W. Topor. Making prolog more expressive. Journal of Logic Programming, l (3):225–240, 1984 MathSciNetCrossRefGoogle Scholar
- [MNR94]W. Marek, A. Nerode, and J. B. Remmel. The stable models of predicate logic programs. Journal of Logic Programming, 21(3):129–154, 1994 MathSciNetGoogle Scholar
- [MT89]W. Marek and M. Truszczyński. Stable semantics for logic programs and default theories. In Proceedings of the North American Conference on Logic Programming, pages 243–256. MIT Press, 1989 Google Scholar
- [MT91]W. Marek and M. Truszczyński. Autoepistemic logic. Journal of the ACM, 38:588–619, 1991 MATHCrossRefGoogle Scholar
- [MT93]W. Marek and M. Truszczyński. Nonmonotonic Logic - Context- Dependent Reasoning. Series Artificial Intelligence, Springer-Verlag, 1993Google Scholar
- [MW88]D. Maier and D. S. Warren. Computing with logic. Logic programming with Prolog. The Benjamin/Cummings Publishing Company, Inc., 1988 MATHGoogle Scholar
- [Nie98]I. Niemelä. Logic programs with stable model semantics as a constraint programming paradigm. In Proceedings of the Workshop on Computational Aspects of Nonmonotonic Reasoning, pages 72–79, 1998Google Scholar
- [NS95]I. Niemelä and P. Simons. Evaluating an algorithm for default reasoning. In Proceedings of the IJCAI-95 Workshop on Applications and Implementations of Nonmonotonic Reasoning Systems, 1995 Google Scholar
- [NS96]I. Niemelä and P. Simons. Efficient implementation of the well-founded and stable model semantics. In Proceedings of JICSLP-96. MIT Press, 1996 Google Scholar
- [Prz88]T. Przymusiński. On the declarative semantics of deductive databases and logic programs. In Foundations of deductive databases and logic programming, pages 193–216, Los Altos, CA, 1988. Morgan Kaufmann Google Scholar
- [Prz90]T. Przymusiński. The Well-Founded Semantics Coincides With The Three-Valued Stable Semantics, Fundamenta Informaticae, 13:445–464, 1990.MathSciNetMATHGoogle Scholar
- [Rei80]R. Reiter. A logic for default reasoning. Artificial Intelligence, 13:81–132, 1980.MathSciNetMATHCrossRefGoogle Scholar
- [Rob65]J.A. Robinson. Machine-oriented logic based on resolution principle. Journal of the ACM, 12:23–41, 1965.MATHCrossRefGoogle Scholar
- [RRS+97]P. Rao, I.V. Ramskrishnan, K. Sagonas, T. Swift, D. S. Warren, and J. Freire. XSB: A system for efficiently computing well-founded semantics. In Proceedings of LPNMR ’97, pages 430–440, Lecture Notes in Computer Science, 1265, Springer-Verlag, 1997Google Scholar
- [Sch95]J. Schlipf. The expressive powers of the logic programming semantics. Journal of the Computer Systems and Science, 51:64–86, 1995.MathSciNetMATHCrossRefGoogle Scholar
- [SK92]B. Selman and H. A. Kautz. Planning as satisfiability. In Proceedings of the 10th European Conference on Artificial Intelligence, Vienna, Austria, 1992 Google Scholar
- [SK93]B. Selman and H. Kautz. Domain-independent extensions to GSAT: Solving large structured satisfiability problems. In Proceedings of IJCAI-93, San Mateo, CA, Morgan Kaufmann, 1993 Google Scholar
- [SKC94]B. Selman, H.A. Kautz, and B. Cohen. Noise strategies for improving local search. In Proceedings of the Twelfth National Conference on Artificial Intelligence (AAAI-94), Seattle, USA, AAAI Press, 1994. Google Scholar
- [Smu68]R.M. Smullyan. First-Order Logic. Springer-Verlag, 1968 MATHGoogle Scholar
- [U1188]J.D. Ullman. Principles of Database and Knowledge-Base Systems. Computer Science Press, Rockville, MD, 1988 Google Scholar
- [VRS91]A. Van Gelder, K.A. Ross, and J.S. Schlipf. Unfounded sets and well- founded semantics for general logic programs. Journal of the ACM, 38:620–650, 1991 MATHGoogle Scholar