**natural deduction** metalanguage, practical foundations

**type theory** (dependent, intensional, observational type theory, homotopy type theory)

**computational trinitarianism** =

**propositions as types** +**programs as proofs** +**relation type theory/category theory**

The syntax for sets in homotopy type theory behaves a lot like the internal language of a topos.

Chapter 10 in the HoTT book and RijkeSpitters make this precise. Set is a $\Pi$W-pretopos. Assuming the resizing axiom, [Set]] is actually a topos. These arguments don’t quite work in the absence of type universes, because they use so-called large elimations — recursively defined functions into a universe. But one can augment (H)ITs in a universeless theory by special rules for large elims — in the HIT case, replacing paths in the universe by the equivalences that would correspond to them by univalence – and then the arguments go through.

If all types are sets, we cannot have very many univalent universes. Moreover, not all 1-toposes even contain non-univalent universes (beyond Prop). So we need a version of dependent type theory with a separate judgment “A is a type” that is not identified with “A:U for some universe U”. Then we need to assume function extensionality explicitly, since we don’t have univalence to derive it from, and we can assume a univalent Prop with resizing. At this point (and without any (H)ITs) we have a theory that’s almost just a notational variant of iHOL, hence corresponds very closely to elementary 1-toposes. (In this case the coherence issues are solvable, because the only universe Prop is already strict.) Adding ordinary inductive types corresponds to requiring the topos to have a NNO – it’s known that all inductive types can be constructed from a NNO in a topos.

However, now there is a problem on the other side: not every elementary topos with NNO admits *all* large elims. For instance, with a large elim over nat you can construct beth-omega, which is known not to exist in all toposes (e.g. models of Zermelo set theory). One can construct large elims “categorically” out of something else by using replacement and separation axioms, however, it’s not clear how to express in type theory.

Moreover, with HITs the problem is even worse: even replacement and separation don’t suffice. Using HITs we can construct uncountable regular cardinals, whereas (possibly assuming some large cardinal property) there are toposes satisfying replacement and separation (namely, certain models of ZF) in which all uncountable cardinals are singular. (we should check whether this construction requires large elims, but at the least, even without large elims, it’s certainly not clear how one might show that every elementary topos admits HITs).

- Egbert Rijke and Bas Spitters,
*Sets in homotopy type theory*$[$arXiv:1305.3835$]$ special issue “From type theory and homotopy theory to univalent foundations” of MSCS.

Last revised on June 9, 2022 at 15:12:42. See the history of this page for a list of all contributions to it.