A.1.1 Type universes
We postulate a hierarchy of universes
denoted by primitive constants
π°0,π°1,π°2,β¦ |
The first two rules for universes say that they form a cumulative hierarchy of types:
-
β’
π°m:π°n for m<n,
-
β’
if A:π°m and mβ€n, then A:π°n,
and the third expresses the idea that an object of a universe can serve as a type and stand to the right of a colon in judgments:
-
β’
if Ξβ’A:π°n, and x is a new variable,11By βnewβ we mean that it does not appear in Ξ or A. then β’(Ξ,x:A)πΌππ.
In the body of the book, an equality judgment Aβ‘B:π°n between types A and B is usually abbreviated to Aβ‘B. This is an instance of typical ambiguity, as we can always switch to a larger universe, which however does not affect the validity of the judgment.
The following conversion rule allows us to replace a type by one equal to it in a typing judgment:
-
β’
if a:A and Aβ‘B then a:B.
Title | A.1.1 Type universes |
---|---|
\metatable |