(in category theory/type theory/computer science)
of all homotopy types
of (-1)-truncated types/h-propositions
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
In dependent type theory, having a type of all types results in various paradoxes, such as Russell's paradox and Girard's paradox. There are two ways to resolve this issue. One way is to simply add a universe of small types and accept that not all types are small. On the other hand, one can use a hierarchy of universes or universe hierarchy and postulate that every type is an element of universes in this universe hierarchy: Given an universe level , each type universe consists of only the -small types, and itself, while not an element of , is an element of the successor universe , where is the successor universe level. Most commonly used for the universe levels are the natural numbers, but other options are available as well, such as the integers or the ordinal numbers.
There are a few advantages of using a hierarchy of universes where every type is an element of the hierarchy, instead of a single separate type judgment, in the formulation of dependent type theory:
Having a hierarchy of universes where every type in the type theory is an element of the hierarchy of universes avoids having to add a theory of telescopes to the dependent type theory. For example, if there is a single separate type judgment where not all types are elements of types, then given the type family , if it is not small relative to the hierarchy of universes, then the indexed heterogeneous identity type, elements , , , , and is represented by , where the subscript is a telescope used to represent the type family in context. With a hierarchy of universes where every type in the type theory is an element of the hierarchy of universes, the type family is represented by the function , and the same indexed heterogeneous identity type is then represented by , which is more concise when written out, and in addition, the subscript is now represents that the type depends upon the universe, rather than being a telescope in context, and can be written as the dependent type .
In the split context formalization of spatial type theory and cohesive type theory with an additional judgment for crisp terms of types, with a hierarchy of universes, one can define crisp types by simply postulating the type to crisply be an element of a type universe. However, without type universes, one has to add to the theory a separate judgment for crisp types, and all the requisite inference rules, structural rules, and congruence rules for crisp type judgments.
In addition, in dependent type theory with a hierarchy of universes,
the congruence rules for substitution implies the congruence rules for every type in the type theory
one can define a symbol as a type using the propositional equality or judgmental equality of terms .
However, with a single separate judgment for types, where not all types are elements of the hierarchy of universes, not all types can be compared using judgmental equality of terms, so neither of these are possible. There are two solutions to this, both of which are unwieldy:
One can add judgmental equality of types, and the associated structural rules for strict judgmental equality of types. However, the congruence rules for substitution no longer implies the congruence rules for every type former in the type theory, because not all types are terms of universes. Thus, the congruence rules for every type in the type theory have to be added separately.
Alternatively, one could add definitional transport across judgmental equality of terms as definitional isomorphism, whether using the definitional isomorphism type or using the natural deduction inference rules of strict negative copies. This results in a simpler formal theory, since one doesn’t need any of the structural and congruence rules for judgmental equality of types.
If one doesn’t even have judgmental equality of terms, one would need to use transport across identity types or path types. However, one needs to define weak equivalence of types and prove the congruence rules for weak equivalences of types, before weak equivalence of types could be used for definitions. Weak equivalences are significantly more complex to define, since the symbol usually representing the weak equivalence type hasn’t been formally defined in the theory yet, and any definition of weak equivalence type or isEquiv for functions is itself a very complex expression when only using dependent function types, function types, dependent pair types, pair types, and identity types in the expression. Alternatively, one can add natural deduction inference rules for as a positive copy or weak negative copy of , from which one can prove that the function in the introduction rule carries the structure of a weak equivalence of types. The proofs of the various congruence rules of type formers are also very complex; see dependent product type § typal congruence rules § using weak equivalences of types for a proof of the associated congruence rule for the formation rule of dependent product types and section 11.1.6 of Rijke 2025 for a proof of the associated congruence rule for the formation rule of dependent sum types.
However, this all comes at the cost of having to formalize the theory of universe levels of the hierarchy of universes before formalizing the type theory.
There are two main ways to define a hierarchy of universes:
The first way is done in dependent type theories with only a single separate type judgment, by defining a type of universe levels inside the type theory and then defining a family of type universes indexed by .
The second way is done in dependent type theories with either no separate type judgment à la Russell (see Univalent Foundations Project 2013, Kovács 2022), one separate type judgment (see Sterbac & Sterling 2026), or a separate type judgment for every type universe in the type theory à la Coquand (see Kovács 2022). Instead of having an internal type of universe levels, one has either a separate level judgment (see Bezem, Coquand, Dybjer, & Escardo 2023) or a meta-theoretic sort (see Sterbac & Sterling 2026) for universe levels.
The universe levels of the universe hierarchy satisfy a number of properties:
Most commonly used preorders for universe levels are the natural numbers, such as in Univalent Foundations Project 2013 and in the proof assistants Lean, Agda, and Rocq. However, the universe hierarchy used in Rijke 2025 are not indexed by the natural numbers.
Types of a universe in an hierarchy of universes are also types of the successor universe ; i.e. is a subtype of . There are two different ways of representing this, reminiscent of the distinction between Russell universes and Tarski universes.
The inclusion interpretation of subtyping of universes: given a universe level , the universe is a subtype of if given an element , one can derive that . This is similar to Russell universes in that elements of a cumulative universe are literally elements of , similar to how elements of a Russell universe are literally types.
The coercion interpretation of subtyping of universes: given a universe level , the universe is a subtype of if given a -small type , one can derive that . This is similar to Tarski universes in that elements of a universe are codes for elements of , represented by the family of elements , similar to how elements of a Tarski universe are codes for types, represented by the family of types .
According to Univalent Foundations Project 2013, a universe hierarchy is cumulative if given universe indices and such that , types in the universe are also elements of the universe . In Sterbac & Sterling 2026, cumulativity is defined as the following statement:
For a hierarchy of universes indexed by , given universe levels and where and , the hierarchy is cumulative if one can construct such that as types, where is judgmental equality.
However, in the absence of cumulativity, it is usually still possible to show that is isomorphic to the type (Sterbac & Sterling 2026), given a lifting operation from universe to for .
There are many ways to formalize cumulativity.
In Univalent Foundations Project 2013, cumulativity of book HoTT is formalized by the following inference rule: Given the hierarchy of universes and given universe indices and such that and , one can construct the judgment .
Sterbac & Sterling 2026 formalizes cumulativity of a universe hierarchy in terms of smallness judgments indexed by universe levels.
In some cases, like Rijke 2025, while the entire hierarchy of universes might not be cumulative, the hierarchy might be partially cumulative in the sense that the cumulativity condition for some of the universes in the hierarchy holds. This is the case for any universe and its -th successor universe for a natural number, since by the fourth judgment of Remark 6.2.4 of Rijke 2025, one has
where is the lifting operation from Tarski universes to . This means that given any universe , the smallest sub-hierarchy of the hierarchy in Rijke 2025 closed under the universe and the successor operation on universes is cumulative.
Some examples of type theories with a hierarchy of universes are as follows:
Rocq uses a hierarchy of Russell universes indexed by the natural numbers. For practical purposes, it also has cumulativity, although there is some question (perhaps mainly semantic) of whether this is true internally or whether it uses casts that are simply hidden from the user.
Agda uses a hierarchy of non-cumulative Russell universes indexed by the natural numbers.
UFP13 (first edition) uses a hierarchy of cumulative Russell universes indexed by the natural numbers.
Rijke 2025 uses a hierarchy of non-cumulative Tarski universes that is not indexed by the natural numbers.
Homotopy Type Theory: Univalent Foundations of Mathematics, The Univalent Foundations Project, Institute for Advanced Study, 2013. (web, pdf)
András Kovács, Generalized Universe Hierarchies and First-Class Universe Levels, In 30th EACSL Annual Conference on Computer Science Logic (CSL 2022). Leibniz International Proceedings in Informatics (LIPIcs), Volume 216, pp. 28:1-28:17, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2022) [doi:10.4230/LIPIcs.CSL.2022.28, arXiv:2103.00223]
Marc Bezem, Thierry Coquand, Peter Dybjer, Martín Escardó, Type Theory with Explicit Universe Polymorphism, In 28th International Conference on Types for Proofs and Programs (TYPES 2022). Leibniz International Proceedings in Informatics (LIPIcs), Volume 269, pp. 13:1-13:16, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023) [doi:10.4230/LIPIcs.TYPES.2022.13]
Egbert Rijke: Introduction to Homotopy Type Theory, Cambridge Studies in Advanced Mathematics, Cambridge University Press (2025) [doi:10.1017/9781108933568, arXiv:2212.11082]
Raphaël Sterbac, Jonathan Sterling, Fuss-free cumulative universes: theory and practice [arXiv:2607.11329]
Last revised on July 16, 2026 at 23:26:05. See the history of this page for a list of all contributions to it.