English

Logic programming: laxness and saturation

Logic in Computer Science 2016-08-31 v2

Abstract

A propositional logic program PP may be identified with a PfPfP_fP_f-coalgebra on the set of atomic propositions in the program. The corresponding C(PfPf)C(P_fP_f)-coalgebra, where C(PfPf)C(P_fP_f) is the cofree comonad on PfPfP_fP_f, describes derivations by resolution. That correspondence has been developed to model first-order programs in two ways, with lax semantics and saturated semantics, based on locally ordered categories and right Kan extensions respectively. We unify the two approaches, exhibiting them as complementary rather than competing, reflecting the theorem-proving and proof-search aspects of logic programming. While maintaining that unity, we further refine lax semantics to give finitary models of logic programs with existential variables, and to develop a precise semantic relationship between variables in logic programming and worlds in local state.

Keywords

Cite

@article{arxiv.1608.07708,
  title  = {Logic programming: laxness and saturation},
  author = {Ekaterina Komendantskaya and John Power},
  journal= {arXiv preprint arXiv:1608.07708},
  year   = {2016}
}

Comments

30 pages, submitted to Journal of Logic and Algebraic Methods in Programming. arXiv admin note: substantial text overlap with arXiv:1602.05400