Coalgebraic semantics for derivations in logic programming

Ekaterina Komendantskaya, John Power

Research output: Chapter or section in a book/report/conference proceedingChapter or section

18 Citations (SciVal)
208 Downloads (Pure)


Every variable-free logic program induces a Pf P f -coalgebra on the set of atomic formulae in the program. The coalgebra p sends an atomic formula A to the set of the sets of atomic formulae in the antecedent of each clause for which A is the head. In an earlier paper, we identified a variable-free logic program with a Pf P f -coalgebra on Set and showed that, if C(Pf P f ) is the cofree comonad on Pf P f , then given a logic program P qua Pf P f -coalgebra, the corresponding C(Pf P f )-coalgebra structure describes the parallel and-or derivation trees of P. In this paper, we extend that analysis to arbitrary logic programs. That requires a subtle analysis of lax natural transformations between Poset-valued functors on a Lawvere theory, of locally ordered endofunctors and comonads on locally ordered categories, and of coalgebras, oplax maps of coalgebras, and the relationships between such for locally ordered endofunctors and the cofree comonads on them
Original languageEnglish
Title of host publicationAlgebra and Coalgebra in Computer Science: 4th International Conference, CALCO 2011, Winchetser, UK, August 30 - September 2, 2011. Proceedings
EditorsAndrea Corradini, Bartek Kin, Corina Cirstea
Place of PublicationHeidelberg
Number of pages15
ISBN (Electronic)978-3-642-22944-2
ISBN (Print)978-3-22943-5
Publication statusPublished - 2011
Event4th International Conference on Algebra and Coalgebra in Computer Science - Winchester, UK United Kingdom
Duration: 30 Aug 20112 Sept 2011

Publication series

NameLecture Notes in Computer Science
ISSN (Print)0302-9743


Conference4th International Conference on Algebra and Coalgebra in Computer Science
Abbreviated titleCALCO 2011
Country/TerritoryUK United Kingdom


Dive into the research topics of 'Coalgebraic semantics for derivations in logic programming'. Together they form a unique fingerprint.

Cite this