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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
G. Amato. Sequent Calculi and Indexed Categories as a Foundation for Logic Programming. PhD thesis, Dipartimento di Informatica, Universitá di Pisa, 2000.
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.
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.
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.
M. Barr and C. Wells. Category Theory for Computing Science. Prentice Hall, New York, 1990.
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.
A. Brogi. Program Construction in Computational Logic. PhD thesis, Dipartimento di Informatica, Universitá di Pisa, 1993.
M. Comini, G. Levi, and M. C. Meo. A Theory of Observables for Logic Programs. Information and Computation, 169:23–80, 2001.
M. Comini, G. Levi, M. C. Meo, and G. Vitiello. Abstract diagnosis. Journal of Logic Programming, 39(1–3):43–93, 1999.
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.
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.
P. Cousot and R. Cousot. Abstract Interpretation and Applications to Logic Programs. Journal of Logic Programming, 13(2 & 3):103–179, 1992.
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.
S. Finkelstein, P. Freyd, and J. Lipton. A new framework for declarative programming. To appear in Theoretical Computer Science, 2001.
P. J. Freyd and A. Scedrov. Categories, Allegories. North-Holland, Elsevier Publishers, Amsterdam, 1990.
B. Jacobs. Categorical Logic and Type Theory. Studies in Logic and the Foundations of Mathematics. North Holland, Elsevier, 1999.
J. Jaffar and M. J. Maher. Constraint logic programming: A survey. Journal of Logic Programming, 19–20:503–581, 1994.
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.
A. Kock and G. E. Reyes. Doctrines in categorical logic. In J. Barwise, editor, Handbook of Mathematical Logic, pages 283–313. North Holland, 1977.
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.
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.
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.
D. Rydeheard and R. Burstall. A categorical unification algorithm. In Category Theory and Computer Programming, LNCS 240, pages 493–505, Guildford, 1985. Springer Verlag.
R. Seely. Hyperdoctrines, Natural Deduction and the Beck Condition. Zeitschrift für Math. Logik Grundlagen der Math., 29(6):505–542, 1983.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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