Komendantskaya, Ekaterina; Power, John; Schmidt, Martin Coalgebraic logic programming: from semantics to implementation. (English) Zbl 1344.68044 J. Log. Comput. 26, No. 2, 745-783 (2016). Summary: Coinductive definitions, such as that of an infinite stream, may often be described by elegant logic programs, but ones for which SLD-refutation is of no value as SLD-derivations fall into infinite loops. Such definitions give rise to questions of lazy corecursive derivations and parallelism, as execution of such logic programs can have both recursive and corecursive features at once. Observational and coalgebraic semantics have been used to study them abstractly. The programming developments have often occurred separately and have usually been implementation-led. Here, we give a coherent semantics-led account of the issues, starting with abstract category theoretic semantics, developing coalgebra to characterize naturally arising trees and proceeding towards implementation of a new dialect, CoALP, of logic programming, characterised by guarded lazy corecursion and parallelism. Cited in 11 Documents MSC: 68N17 Logic programming 18C50 Categorical semantics of formal languages 68Q65 Abstract data types; algebraic specification Keywords:logic programming; coalgebra; observational semantics; corecursion; coinduction; parallelism Software:CoALP PDFBibTeX XMLCite \textit{E. Komendantskaya} et al., J. Log. Comput. 26, No. 2, 745--783 (2016; Zbl 1344.68044) Full Text: DOI arXiv