A categorical relationship between McCarthy algebras and Kleene lattices
The 3-valued logics of Kleene and McCarthy are among the most widely used frameworks for reasoning about partial recursive predicates in theoretical computer science. From the perspective of algebraic logic, these logics correspond to the varieties of Kleene lattices and Mc-Carthy algebras, respectively. However, the relationships between these algebraic structures have remained relatively underexplored. In this paper, we provide constructions that yield (partial) mappings from the variety of Kleene lattices to the variety of McCarthy algebras, and back. In particular, we show that the algebraic category of Kleene lattices is equivalent to a subcategory of the category of McCarthy algebras, and that every object of a category of ordered algebras based on McCarthy algebras is a colimit of its substructures from a corresponding category based on Kleene lattices.