The Category of Iterative Sets in Homotopy Type Theory and Univalent Foundations
<|reference_start|>The Category of Iterative Sets in Homotopy Type Theory and Univalent Foundations: When working in Homotopy Type Theory and Univalent Foundations, the traditional role of the category of sets, Set, is replaced by the category hSet of homotopy sets (h-sets); types with h-propositional identity types. Many of the properties of Set hold for hSet ((co)completeness, exactness, local cartesian closure, etc.). Notably, however, the univalence axiom implies that Ob(hSet) is not itself an h-set, but an h-groupoid. This is expected in univalent foundations, but it is sometimes useful to also have a stricter universe of sets, for example when constructing internal models of type theory. In this work, we equip the type of iterative sets V0, due to Gylterud (2018) as a refinement of the pioneering work of Aczel (1978) on universes of sets in type theory, with the structure of a Tarski universe and show that it satisfies many of the good properties of h-sets. In particular, we organize V0 into a (non-univalent strict) category and prove that it is locally cartesian closed. This enables us to organize it into a category with families with the structure necessary to model extensional type theory internally in HoTT/UF. We do this in a rather minimal univalent type theory with W-types, in particular we do not rely on any HITs, or other complex extensions of type theory. Furthermore, the construction of V0 and the model is fully constructive and predicative, while still being very convenient to work with as the decoding from V0 into h-sets commutes definitionally for all type constructors. Almost all of the paper has been formalized in Agda using the agda-unimath library of univalent mathematics.<|reference_end|>
@article{gratzer2024the,
    title={The Category of Iterative Sets in Homotopy Type Theory and Univalent
  Foundations},
    author={Daniel Gratzer, Hr{a}kon Gylterud, Anders M"ortberg, and Elisabeth
  Stenholm},
    journal={arXiv preprint arXiv:2402.04893},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.04893},
    primaryClass={cs.LO math.LO}
}