6.3 The interval
The interval, which we denote , is perhaps an even simpler higher inductive type than the circle. It is generated by:
-
β’
a point ,
-
β’
a point , and
-
β’
a path .
The recursion principle for the interval says that given a type along with
-
β’
a point ,
-
β’
a point , and
-
β’
a path ,
there is a function such that , , and . The induction principle says that given along with
-
β’
a point ,
-
β’
a point , and
-
β’
a path ,
there is a function such that , , and .
Regarded purely up to homotopy, the interval is not really interesting:
Lemma 6.3.1.
The type is contractible.
Proof.
We prove that for all we have . In other words we want a function of type . We begin to define in the following way:
It remains to define , which must have type . By definition this type is , which in turn is equivalent to . But there is a canonical element of that type, namely the proof that path inverses are in fact inverses. β
However, type-theoretically the interval does still have some interesting features, just like the topological interval in classical homotopy theory. For instance, it enables us to give an easy proof of function extensionality. (Of course, as in Β§4.9 (http://planetmath.org/49univalenceimpliesfunctionextensionality), for the duration of the following proof we suspend our overall assumption of the function extensionality axiom.)
Lemma 6.3.2.
If are two functions such that for every , then in the type .
Proof.
Letβs call the proof we have . For all we define a function by
We now define by
Then is the function , which is equal to because is defined by . Similarly, we have , and hence
Title | 6.3 The interval |
---|---|
\metatable |