On the algebraic structure of declarative programming languages

  • Authors:
  • Gianluca Amato;James Lipton;Robert McGrail

  • Affiliations:
  • Dipartimento di Scienze, Università degli Studi G. dAnnunzio, viale Pindaro 42, 65127 Pescara, Italy;Department of Mathematics, Wesleyan University, Middletown, CT 06459, USA;Reem-Kayden Center 207, 31 Campus Road, Bard College, Annandale-on-Hudson, NY 12504B, USA

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2009

Quantified Score

Hi-index 5.23

Visualization

Abstract

We develop an algebraic framework, Logic Programming Doctrines, for the syntax, proof theory, operational semantics and model theory of Horn Clause logic programming based on indexed premonoidal categories. Our aim is to provide a uniform framework for logic programming and its extensions capable of incorporating constraints, abstract data types, features imported from other programming language paradigms and a mathematical description of the state space in a declarative manner. We define a new way to embed information about data into logic programming derivations by building a sketch-like description of data structures directly into an indexed category of proofs. We give an algebraic axiomatization of bottom-up semantics in this general setting, describing categorical models as fixed points of a continuous operator.