In type theory, the concepts of Grothendieck universes and Mahlo universes are adapted to the foundational framework of type systems, often used to handle large structures and avoid paradoxes. Here's a breakdown of their definitions and usage, with emphasis on how they differ from their set-theoretic counterparts:
1. Grothendieck Universes in Type Theory
In type theory, a Grothendieck universe is typically modeled as a type (or a "universe") that is closed under certain operations (e.g., products, coproducts, power types, etc.), analogous to the set-theoretic closure properties. However, the exact definition depends on the type system:
-
Standard Universes: Most type theories (e.g., Martin-Löf Type Theory, Coq's Calculus of Inductive Constructions) include a hierarchy of universes (e.g., Type₀ : Type₁ : Type₂ : ...). These are not necessarily closed under all operations required for a Grothendieck universe, but they allow for stratification of types to avoid paradoxes (e.g., Russell's paradox).
-
Grothendieck-like Universes: To mimic the set-theoretic Grothendieck universe, a type theory might introduce an axiom asserting the existence of a universe U such that:
- U is closed under dependent products (e.g., for ).