Skip to main content

Indexed Categories and Bottom-Up Semantics of Logic Programs

  • Conference paper
  • First Online:
Logic for Programming, Artificial Intelligence, and Reasoning (LPAR 2001)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2250))

Abstract

We propose a categorical framework which formalizes and extends the syntax, operational semantics and declarative model theory of a broad range of logic programming languages. A program is interpreted in an indexed category in such a way that the base category contains all the possible states which can occur during the execution of the program (such as global constraints or type information), while each fiber encodes the logic at each state.

We define appropriate notions of categorical resolution and models, and we prove the related correctness and completeness properties.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. G. Amato. Sequent Calculi and Indexed Categories as a Foundation for Logic Programming. PhD thesis, Dipartimento di Informatica, Universitá di Pisa, 2000.

    Google Scholar 

  2. K. R. Apt. Introduction to Logic Programming. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B: Formal Models and Semantics, pages 495–574. Elsevier and The MIT Press, 1990.

    Google Scholar 

  3. A. Asperti and S. Martini. Projections instead of variables. In G. Levi and M. Martelli, editors, Proc. Sixth Int’l Conf. on Logic Programming, pages 337–352. The MIT Press, 1989.

    Google Scholar 

  4. R. Barbuti, R. Giacobazzi, and G. Levi. A General Framework for Semanticsbased Bottom-up Abstract Interpretation of Logic Programs. ACM Transactions on Programming Languages and Systems, 15(1):133–181, 1993.

    Article  Google Scholar 

  5. M. Barr and C. Wells. Category Theory for Computing Science. Prentice Hall, New York, 1990.

    Google Scholar 

  6. A. Bossi, M. Gabbrielli, G. Levi, and M. C. Meo. A Compositional Semantics for Logic Programs. Theoretical Computer Science, 122(1–2):3–47, 1994.

    Article  MATH  MathSciNet  Google Scholar 

  7. A. Brogi. Program Construction in Computational Logic. PhD thesis, Dipartimento di Informatica, Universitá di Pisa, 1993.

    Google Scholar 

  8. M. Comini, G. Levi, and M. C. Meo. A Theory of Observables for Logic Programs. Information and Computation, 169:23–80, 2001.

    Article  MATH  MathSciNet  Google Scholar 

  9. M. Comini, G. Levi, M. C. Meo, and G. Vitiello. Abstract diagnosis. Journal of Logic Programming, 39(1–3):43–93, 1999.

    Article  MATH  MathSciNet  Google Scholar 

  10. A. Corradini and A. Asperti. A categorical model for logic programs: Indexed monoidal categories. In Proceedings REX Workshop’ 92. Springer Lectures Notes in Computer Science, 1992.

    Google Scholar 

  11. A. Corradini and U. Montanari. An algebraic semantics for structured transition systems and its application to logic programs. Theoretical Computer Science, 103(1):51–106, August 1992.

    Article  MATH  MathSciNet  Google Scholar 

  12. P. Cousot and R. Cousot. Abstract Interpretation and Applications to Logic Programs. Journal of Logic Programming, 13(2 & 3):103–179, 1992.

    Article  MATH  MathSciNet  Google Scholar 

  13. S. Finkelstein, P. Freyd, and J. Lipton. Logic programming in taucategories. In Computer Science Logic’ 94, volume 933 of Lecture Notes in Computer Science, pages 249–263. Springer Verlag, Berlin, 1995.

    Chapter  Google Scholar 

  14. S. Finkelstein, P. Freyd, and J. Lipton. A new framework for declarative programming. To appear in Theoretical Computer Science, 2001.

    Google Scholar 

  15. P. J. Freyd and A. Scedrov. Categories, Allegories. North-Holland, Elsevier Publishers, Amsterdam, 1990.

    MATH  Google Scholar 

  16. B. Jacobs. Categorical Logic and Type Theory. Studies in Logic and the Foundations of Mathematics. North Holland, Elsevier, 1999.

    MATH  Google Scholar 

  17. J. Jaffar and M. J. Maher. Constraint logic programming: A survey. Journal of Logic Programming, 19–20:503–581, 1994.

    Article  MathSciNet  Google Scholar 

  18. Y. Kinoshita and A. J. Power. A fibrational semantics for logic programs. In R. Dyckhoff, H. Herre, and P. Schroeder-Heister, editors, Proceedings of the Fifth International Workshop on Extensions of Logic Programming, volume 1050 of LNAI, pages 177–192, Berlin, Mar. 28–30 1996. Springer.

    Google Scholar 

  19. A. Kock and G. E. Reyes. Doctrines in categorical logic. In J. Barwise, editor, Handbook of Mathematical Logic, pages 283–313. North Holland, 1977.

    Google Scholar 

  20. J. Lipton and R. McGrail. Encapsulating data in logic programming via categorical constraints. In C. Palamidessi, H. Glaser, and K. Meinke, editors, Principles of Declarative Programming, volume 1490 of Lecture Notes in Computer Science, pages 391–410. Springer Verlag, Berlin, 1998.

    Chapter  Google Scholar 

  21. G. Nadathur and D. Miller. An overview of λProlog. In R. A. Kowalski and K. A. Bowen, editors, Proc. Fifth Int’l Conf. on Logic Programming, pages 810–827. The MIT Press, 1988.

    Google Scholar 

  22. P. Panangaden, V. J. Saraswat, P. J. Scott, and R. A. G. Seely. A Hyperdoctrinal View of Concurrent Constraint Programming. In J. W. de Bakker et al, editor, Semantics: Foundations and Applications, volume 666 of Lecture Notes in Computer Science, pages 457–475. Springer-Verlag, 1993.

    Google Scholar 

  23. D. Rydeheard and R. Burstall. A categorical unification algorithm. In Category Theory and Computer Programming, LNCS 240, pages 493–505, Guildford, 1985. Springer Verlag.

    Google Scholar 

  24. R. Seely. Hyperdoctrines, Natural Deduction and the Beck Condition. Zeitschrift für Math. Logik Grundlagen der Math., 29(6):505–542, 1983.

    Article  MATH  MathSciNet  Google Scholar 

  25. M. H. van Emden and R. A. Kowalski. The semantics of predicate logic as a programming language. Journal of the ACM, 23(4):733–742, 1976.

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Amato, G., Lipton, J. (2001). Indexed Categories and Bottom-Up Semantics of Logic Programs. In: Nieuwenhuis, R., Voronkov, A. (eds) Logic for Programming, Artificial Intelligence, and Reasoning. LPAR 2001. Lecture Notes in Computer Science(), vol 2250. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45653-8_30

Download citation

  • DOI: https://doi.org/10.1007/3-540-45653-8_30

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42957-9

  • Online ISBN: 978-3-540-45653-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics