Context
Universes
Type theory
Contents
Idea
In predicative constructive set theory, there is a hierarchy of possible axioms, starting from the existence of function sets and ending with the existence of power sets representing impredicativity. Intermediate is the existence of the set of entire relations, which is given by the axiom of fullness in set theory.
In predicative constructive dependent type theory, there is a similar hierarchy of possible axioms, which begins with the existence of dependent product types (corresponding to function sets in set theory) and ends with the existence of both dependent product types and the type of all propositions (corresponding to power sets in set theory), representing impredicativity. Intermediate to both that is the existence of the type of all entire relations between two types and , which is the type theoretic equivalent of the axiom of fullness.
Types of entire relations are important in dependent type theory because, assuming propositional truncations, quotient sets, and natural numbers, they allow the user to define the type of multivalued Cauchy real numbers - which are equivalent to Dedekind real numbers - predicatively (i.e. without power sets).
Definition
Recall that an entire relation between types and in type theory is a family such that for all
-
for all , is an h-proposition, and
-
there exists an such that .
If there exists a type of propositions , then the type of entire relations is given by the type
where
for Russell types of propositions and
for Tarski types of propositions. Otherwise, we could use inference rules to directly define the type of all entire relations between types and :
A la Russell
A la Russell, the type of all entire relations is given by the following rules:
Formation rules:
Introduction rules:
Elimination rules:
Computation rules:
- Judgmental computation rules
Uniqueness rules:
- Judgmental uniqueness rules:
Extensionality rule:
Strictly a la Tarski
Strictly a la Tarski, the type of all entire relations is given by the following rules:
Formation rules:
Introduction rules:
Elimination rules:
Computation rules:
- Judgmental computation rules
Uniqueness rules:
- Judgmental uniqueness rules:
Extensionality rule:
Weakly a la Tarski
Weakly a la Tarski, the type of all entire relations is given by the following rules:
Formation rules:
Introduction rules:
Elimination rules:
Computation rules:
- Judgmental computation rules
where the equivalence
is provided from the typal computation rules for .
Uniqueness rules:
- Judgmental uniqueness rules:
Extensionality rule: