Repository | Book | Chapter

(2012) Epistemology versus ontology, Dordrecht, Springer.
We develop rules for coalgebras in type theory, and give meaning explanations for them. We show that elements of coalgebras are determined by their elimination rules, whereas the introduction rules can be considered as derived. This is in contrast with algebraic data types, for which the opposite is true: elements are determined by their introduction rules, and the elimination rules can be considered as derived. In this sense, the function type from the logical framework is more like a coalgebraic data type, the elements of which are determined by the elimination rule. We illustrate why the simplest form of guarded recursion is nothing but the introduction rule originating from the formulation of coalgebras in category theory. We discuss restrictions needed in order to preserve decidability of equality.
Publication details
DOI: 10.1007/978-94-007-4435-6_16
Full citation:
Setzer, A. (2012)., Coalgebras as types determined by their elimination rules, in P. Dybjer, S. Lindström, E. Palmgren & G. Sundholm (eds.), Epistemology versus ontology, Dordrecht, Springer, pp. 351-369.
This document is unfortunately not available for download at the moment.