Ultimate Well-Founded and Stable Semantics for Logic Programs with Aggregates

  • Marc Denecker
  • Nikolay Pelov
  • Maurice Bruynooghe
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2237)


In this paper, we propose an extension of the well-founded and stable model semantics for logic programs with aggregates. Our approach uses Approximation Theory, a fixpoint theory of stable and well-founded fixpoints of non-monotone operators in a complete lattice. We define the syntax of logic programs with aggregates and define the immediate consequence operator of such programs. We investigate the well-founded and stable semantics generated by Approximation Theory. We show that our approach extends logic programs with stratified aggregation and that it correctly deals with well-known benchmark problems such as the shortest path program and the company control problem.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    M. P. Consens and A. O. Mendelzon. Low-complexity aggregation in GraphLog and Datalog. Theoretical Computer Science, 116(1):95–116, 1993.MATHCrossRefMathSciNetGoogle Scholar
  2. 2.
    M. Denecker. The well-founded semantics is the principle of inductive definition. In J. Dix, L. F. del Cerro, and U. Furbach, editors, Logics in Artificial Intelligence, European Workshop, volume 1489 of Lecture Notes in Computer Science, pages 1–16, Dagstuhl, Germany, 1998. Springer.CrossRefGoogle Scholar
  3. 3.
    M. Denecker. Extending classical logic with inductive definitions. In J. Lloyd et al., editors, 1st International Conference on Computational Logic, volume 1861 of Lecture Notes in Artificial Intelligence, pages 703–717, London, U.K., July 2000. Springer.Google Scholar
  4. 4.
    M. Denecker, M. Bruynooghe, and V. W. Marek. Logic programming revisited: logic programs as inductive definitions. ACM Transactions on Computational Logic, 2001. accepted.Google Scholar
  5. 5.
    M. Denecker, V. Marek, and M. Truszczyński. Approximating operators, stable operators, well-founded fixpoints and applications in non-monotonic reasoning. In J. Minker, editor, Logic-based Artificial Intelligence, pages 127–144. Kluwer Academic Publishers, 2000.Google Scholar
  6. 6.
    M. Denecker, V. Marek, and M. Truszczyński. Ultimate approximations. Report CW 320, Department of Computer Science, K.U.Leuven, Belgium, Sept. 2001.Google Scholar
  7. 7.
    M. Denecker, V. W. Marek, and M. Truszczynski. Uniform semantic treatment of default and autoepistemic logics. In A. Cohn, F. Giunchiglia, and B. Selman, editors, Proceedings of the 7th International Conference on Principles of Knowledge Representation and Reasoning, pages 74–84, 2000.Google Scholar
  8. 8.
    J. Dix and M. Osorio. On well-behaved semantics suitable for aggregation. Technical ReportTR 11/97, University of Koblenz, Department of Computer Science, Rheinau 1, Apr. 1997. Accepted at ILPS’ 97 as poster paper.Google Scholar
  9. 9.
    M. Fitting. Bilattices and the semantics of logic programming. The Journal of Logic Programming, 11(1,2):91–116, 1991.MATHCrossRefMathSciNetGoogle Scholar
  10. 10.
    M. Gelfond and V. Lifschitz. The stable model semantics for logic programming. In R. A. Kowalski and K. A. Bowen, editors, Logic Programming, Proceedings of the 5th International Conference and Symposium, pages 1070–1080, Seattle, Washington, 1988. MIT Press.Google Scholar
  11. 11.
    A. C. Kakas, R. Kowalski, and F. Toni. Abductive logic programming. Journal of Logic and Computation, 2(6):719–770, Dec. 1992.MATHCrossRefMathSciNetGoogle Scholar
  12. 12.
    D. B. Kemp and P. J. Stuckey. Semantics of logic programs with aggregates. In V. A. Saraswat and K. Ueda, editors, Proceedings of the International Logic Programming Symposium, pages 387–401. MIT Press, 1991.Google Scholar
  13. 13.
    V. W. Marek and M. Truszczyński. Stable models and an alternative logic programming paradigm. In K. R. Apt, V. W. Marek, M. Truszczyński, and D. S. Warren, editors, The Logic Programming Paradigm: A 25-Year Perespective, pages 375–398. Springer, 1999.Google Scholar
  14. 14.
    I. S. Mumick, H. Pirahesh, and R. Ramakrishnan. The magic of duplicates and aggregates. In D. McLeod, R. Sacks-Davis, and H.-J. Schek, editors, 16th International Conference on Very Large Data Bases, pages 264–277. Morgan Kaufmann, 1990.Google Scholar
  15. 15.
    I. Niemelä. Logic programs with stable model semantics as a constraint programming paradigm. Annals of Mathematics and Artificial Intelligence, 25(3,4):241–273, 1999.MATHCrossRefMathSciNetGoogle Scholar
  16. 16.
    I. Niemelä, P. Simons, and T. Soininen. Stable model semantics of weight constraint rules. In M. Gelfond, N. Leone, and G. Pfeifer, editors, Proceedings of the Fifth International Conference on Logic Programming and Nonmonotonic Reasoning, volume 1730 of Lecture Nortes in Computer Science, pages 317–331. Springer-Verlag, 1999.Google Scholar
  17. 17.
    K. A. Ross and Y. Sagiv. Monotonic aggregation in deductive databases. Journal of Computer and System Sciences, 54(1):79–97, 1997.MATHCrossRefMathSciNetGoogle Scholar
  18. 18.
    S. Sudarshan, D. Srivastava, R. Ramakrishnan, and C. Beeri. Extending the wellfounded and valid semantics for aggregation. In D. Miller, editor, Proceedings of the International Logic Programming Symposium, pages 590–608. MIT Press, 1993.Google Scholar
  19. 19.
    A. Van Gelder. The well-founded semantics of aggregation. In Proceedings of the Eleventh ACM Symposium on Principles of Database Systems, pages 127–138. ACM Press, 1992.Google Scholar
  20. 20.
    A. Van Gelder. Foundations of aggregation in deductive databases. In S. Ceri, K. Tanaka, and S. Tsur, editors, Third International Conference on Deductive and Object-Oriented Databases, volume 760of Lecture Notes in Computer Science, pages 13–34. Springer-Verlag, 1993.Google Scholar
  21. 21.
    A. Van Gelder, K. A. Ross, and J. S. Schlipf. The well-founded semantics for general logic programs. Journal of the ACM, 38(3):620–650, 1991.MATHCrossRefGoogle Scholar
  22. 22.
    B. Van Nuffelen and M. Denecker. Problem solving in ID-logic with aggregates: some experiments. In A. K. Mark Denecker, editor, Eight International Workshop on Nonmonotonic Reasoning, special track on Abductive Reasoning, Breckenridge, Colorado, USA, 2000.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Marc Denecker
    • 1
  • Nikolay Pelov
    • 1
  • Maurice Bruynooghe
    • 1
  1. 1.Dept. of Computer ScienceK.U.LeuvenHeverleeBelgium

Personalised recommendations