4.9 Univalence implies function extensionality
In the last section of this chapter we include a proof that the univalence axiom implies functionextensionality. Thus, in this section we work without the function extensionality axiom.The proof consists of two steps. First we showin Theorem 4.9.4 (http://planetmath.org/49univalenceimpliesfunctionextensionality#Thmprethm1) that the univalenceaxiom implies a weak form of function extensionality, defined in Definition 4.9.1 (http://planetmath.org/49univalenceimpliesfunctionextensionality#Thmpredefn1) below. Theprinciple of weak function extensionality in turn implies the usual function extensionality,and it does so without the univalence axiom (Theorem 4.9.5 (http://planetmath.org/49univalenceimpliesfunctionextensionality#Thmprethm2)).
Let be a universe; we will explicitly indicate where we assume that it is univalent.
Definition 4.9.1.
The weak function extensionality principleasserts that there is a function
for any family of types over any type .
The following lemma is easy to prove using function extensionality; the point here is that it also follows from univalence without assuming function extensionality separately.
Lemma 4.9.2.
Assuming is univalent, for any and any , there is an equivalence
of which the underlying map is given by post-composition with the underlying function of .
Proof.
As in the proof of Lemma 4.1.1 (http://planetmath.org/41quasiinverses#Thmprelem1), we may assume that for some .Then by path induction, we may assume is , so that .But in this case, post-composition with is the identity
, hence an equivalence.∎
Corollary 4.9.3.
Let be a family of contractible types, i.e. Then the projection is an equivalence. Assuming is univalent, it follows immediately that precomposition with gives an equivalence
Proof.
By Lemma 4.8.1 (http://planetmath.org/48theobjectclassifier#Thmprelem1), for and we have an equivalence
Therefore is an equivalence whenever each is contractible. The assertion is now a consequence of Lemma 4.9.2 (http://planetmath.org/49univalenceimpliesfunctionextensionality#Thmprelem1).∎
In particular, the homotopy fiber of the above equivalence at is contractible. Therefore, we can show that univalence implies weak function extensionality by showing that the dependent function type is a retract of .
Theorem 4.9.4.
In a univalent universe , suppose that is a family of contractible typesand let be the function of Corollary 4.9.3 (http://planetmath.org/49univalenceimpliesfunctionextensionality#Thmprecor1).Then is a retract of . As a consequence, is contractible. In other words, the univalence axiom implies the weak function extensionality principle.
Proof.
Define the functions
and | ||||
Then , which is , by the uniqueness principle for dependent function types.∎
We now show that weak function extensionality implies the usual function extensionality.Recall from (2.9.2) (http://planetmath.org/29pitypesandthefunctionextensionalityaxiom#S0.E2) the function whichconverts equality of functions to homotopy. In the proof that follows, the univalenceaxiom is not used.
Theorem 4.9.5.
Weak function extensionality implies the function extensionality Axiom 2.9.3 (http://planetmath.org/29pitypesandthefunctionextensionalityaxiom#Thmpreaxiom1).
Proof.
We want to show that
Since a fiberwise map induces an equivalence on total spaces if and only if it is fiberwise an equivalence by Theorem 4.7.7 (http://planetmath.org/47closurepropertiesofequivalences#Thmprethm4), it suffices to show that the function of type
induced by is an equivalence.Since the type on the left is contractible by Lemma 3.11.8 (http://planetmath.org/311contractibility#Thmprelem5), it suffices to show that the type on the right:
(4.9.6) |
is contractible.Now Theorem 2.15.7 (http://planetmath.org/215universalproperties#Thmprethm3) says that this is equivalent to
(4.9.7) |
The proof of Theorem 2.15.7 (http://planetmath.org/215universalproperties#Thmprethm3) uses function extensionality, but only for one of the composites.Thus, without assuming function extensionality, we can conclude that (4.9.6) is a retract of (4.9.7).And (4.9.7) is a product of contractible types, which is contractible by the weak function extensionality principle; hence (4.9.6) is also contractible.∎