Capítulo de livro Acesso aberto Revisado por pares

Coalgebraic Semantics for Derivations in Logic Programming

2011; Springer Science+Business Media; Linguagem: Inglês

10.1007/978-3-642-22944-2_19

ISSN

1611-3349

Autores

Ekaterina Komendantskaya, John Power,

Tópico(s)

Formal Methods in Verification

Resumo

Every variable-free logic program induces a P f 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 P f P f -coalgebra on Set and showed that, if C(P f P f ) is the cofree comonad on P f P f , then given a logic program P qua P f P f -coalgebra, the corresponding C(P f 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.

Referência(s)