Redirected from "Coquand universes".
Context
Type theory
Universes
Contents
Idea
In dependent type theory, Coquand universes or universes à la Coquand are an alternative to Russell universes and Tarski universes in presenting types and the hierarchy of type universes. Unlike type theories with Russell universes, which usually have either no separate type judgment, like that found in the HoTT book, or one type judgment, or type theories with Tarski universe, which are required to have one type judgment, type theories with Coquand universes have a type judgment for every universe in the type theory.
With a type judgment for each universe
One formal definition of a type theory with Coquand universes is as follows:
The type theory has judgments
-
, that is a context
-
, that is a universe level,
-
, that is a proposition,
-
, that is a true proposition,
and consists of the formal signature and inference rules of first-order Heyting arithmetic or Peano arithmetic. These rules ensure that there are an infinite number of indices, which are strictly ordered with strict total order and upwardly unbounded, where is true for all indices .
This allows us to add an infinite number of type judgments, one type judgment for every level , indicating that is a type with level , as well as term judgments . Then, one has the following inference rules for Coquand universes:
There are also weak versions of Coquand universes, where one uses identifications and equivalences of types instead of judgmental equality:
The univalence axiom for Coquand universes states that for all and , transport across is an equivalence of types
With a single separate type judgment
It is also possible to define the hierarchy of Coquand universes with a single separate type judgment, such that every single type is in a Coquand universe. The advantage of doing so is that one doesn’t need to define the theory of universe levels before defining the type theory; one could instead simply define the natural numbers inside of the type theory itself, along with the hierarchy of Coquand universes:
In particular, every type has a universe level, which is a natural number, and the universe level of is zero and the universe level of given natural number is the successor .
Furthermore, every type of level lifts to another type of level , such that is a negative copy of :
Next are the rules for function types, which are necessary to define type families as elements of a type for dependent product types and the induction principle of the natural numbers type. Here, function types are indexed by the universe level , since the function type indexed by are only definable for -small types, aka types with level .
Similarly, the rules for dependent function types are as follows:
Finally, we have for each universe level a natural numbers type such that and . In addition, each has element and function , defined via lifting the elements of across universe levels. Finally, each satisfies the induction principle of the natural numbers type over the universe .
- Formation rules for natural numbers types:
- Introduction rules for natural numbers types:
- Elimination rules for natural numbers types:
- Computation rules for natural numbers types:
Something similar could be done for Russell universes.
Analogues in set theory
There are analogues of Coquand universes in set theory. Instead of having a single set theory, one has a whole collection of set theories which embed into each other, with indices indicating which level the set theory lies on.
One formal definition of a set theory with Coquand universes is as follows:
The set theory has judgments
-
, that is a context
-
, that is a level of set theory,
-
, that is a proposition,
-
, that is a true proposition,
and consists of the formal signature and inference rules of first-order Heyting arithmetic or Peano arithmetic. These rules ensure that there are an infinite number of indices, which are strictly ordered with strict total order and upwardly unbounded, where is true for all indices .
This allows us to add an infinite number of set judgments, one set judgment for every level , indicating that is a set with level , as well as an infinite number of membership relations , one for each set judgment . Then, one has the following inference rules for Coquand universes:
This says that each is a set which satisfies a reflection principle.
References
Universes à la Coquand are described in section 2.1 of