Terminal Semantics for Codata Types in Intensional Martin-Löf Type Theory
نویسندگان
چکیده
Infinite triangular matrices and, in particular, the redecoration operation on them, were studied by Matthes and Picard. In their work, redecoration is characterized as the cobind operation of what the authors call a “weak constructive comonad”. In this work, we identify weak constructive comonads as an instance of the more general notion of relative comonad. Afterwards, building upon the work by Matthes and Picard, we give a category-theoretic characterisation of infinite triangular matrices—equiped with the canonical bisimulation relation and a compatible comonadic cobind operation—as the terminal object in some category.
منابع مشابه
Game Semantics for Martin-Löf Type Theory
We present a new game semantics for Martin-Löf type theory (MLTT); our aim is to give a mathematical and intensional explanation of MLTT. Specifically, we propose a category with families (a categorical model of MLTT) of a novel variant of games, which induces an injective (when Id-types are excluded) and surjective interpretation of the intensional variant of MLTT equipped with unit-, empty-, ...
متن کاملHomotopy Models of Intensional Type Theory
We show how to provide a semantics for the identity type of intensional Martin-Löf type theory using the machinery of abstract homotopy theory. One specific consequence is that the identity type is soundly modelled in any Quillen model category. We then turn to the study of cocategory and (strict) interval objects and isolate two conditions under which an interval will model intensional identit...
متن کامل20th International Conference on Types for Proofs and Programs, TYPES 2014, May 12-15, 2014, Paris, France
We study the notions of relative comonad and comodule over a relative comonad. We use thesenotions to give categorical semantics for the coinductive type families of streams and of infinitetriangular matrices and their respective cosubstitution operations in intensional Martin-Löf typetheory. Our results are mechanized in the proof assistant Coq. 1998 ACM Subject Classification ...
متن کاملTwo-dimensional models of type theory
This is the second in a series of papers detailing the author’s investigations into the intensional type theory of Martin-Löf, as described in Nordström et al. (1990). The first of these papers, Garner (2009), investigated syntactic issues relating to its dependent product types. The present paper is a contribution to its categorical semantics. Seely (1984) proposed that the correct categorical...
متن کاملWeak Ω-categories from Intensional Type Theory
We show that for any type in Martin-Löf Intensional Type Theory, the terms of that type and its higher identity types form a weak ω-category in the sense of Leinster. Precisely, we construct a contractible globular operad PMLId of definable “composition laws”, and give an action of this operad on the terms of any type and its identity types.
متن کامل