Constructing categories and setoids of setoids in type theory
Erik Palmgren (Department of Mathematics, Stockholm University), Olov, Wilander (Sj\"oland, Thyselius, Stockholm, Sweden)

TL;DR
This paper explores constructing rich categories of setoids within intensional Martin-Löf type theory, linking set-theoretic models with type-theoretic frameworks, and extending CZF with atoms validated in Coq.
Contribution
It introduces methods to build large families of setoids in type theory, connects these with set-theoretic models, and extends CZF to include atoms, all validated in Coq.
Findings
Categories of setoids can be constructed with rich structures.
Set-theoretic models can inform categorical properties in type theory.
Extension of CZF with atoms is validated by models.
Abstract
In this paper we consider the problem of building rich categories of setoids, in standard intensional Martin-L\"of type theory (MLTT), and in particular how to handle the problem of equality on objects in this context. Any (proof-irrelevant) family F of setoids over a setoid A gives rise to a category C(A, F) of setoids with objects A. We may regard the family F as a setoid of setoids, and a crucial issue in this article is to construct rich or large enough such families. Depending on closure conditions of F, the category C(A, F) has corresponding categorical constructions. We exemplify this with finite limits. A very large family F may be obtained from Aczel's model construction of CZF in type theory. It is proved that the category so obtained is isomorphic to the internal category of sets in this model. Set theory can thus establish (categorical) properties of C(A, F) which may be…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
