2.14.1 Lifting equivalences
When working loosely, one might say that a bijection between sets and “obviously” induces an isomorphism between semigroupstructures
on and semigroup structures on . With univalence,this is indeed obvious, because given an equivalence between types and , we can automatically derive a semigroup structure on fromone on , and moreover show that this derivation
is an equivalence ofsemigroup structures. The reason is that is a familyof types, and therefore has an action on paths between types given by:
Moreover, this map is an equivalence, because is always an equivalence with inverse, see Lemma 2.3.9 (http://planetmath.org/23typefamiliesarefibrations#Thmprelem6),Lemma 2.1.4 (http://planetmath.org/21typesarehighergroupoids#Thmprelem3).
While the univalence axiom ensures that this map exists, we need to usefacts about proven in the preceding sections tocalculate what it actually does. Let be a semigroup structure on, and we investigate the induced semigroup structure on given by
First, because(X) is defined to be a -type, byTheorem 2.7.4 (http://planetmath.org/27sigmatypes#Thmprethm2),
(2.14.2) |
where is the type .That is, the induced semigroup structure consists of an inducedmultiplication operation
on
together with an induced proof that is associative. By functionextensionality, it suffices to investigate the behavior of whenapplied to arguments . By applying(LABEL:eq:transport-arrow) twice, we have that is equal to
Then, because is quasi-inverse to , this is equal to
Thus, given two elements of , the induced multiplication sends them to using the equivalence , multiplies them in , andthen brings the result back to by , just as one would expect.
Moreover, though we do not show the proof, one can calculate that theinduced proof that is associative (the second component of the pairin (2.14.2)) is equal to a function sending to a path given by the following steps:
(2.14.3) | ||||
These steps use the proof that is associative and the inverselaws for . From an algebra perspective, it may seem strange toinvestigate the identity of a proof that an operation is associative,but this makes sense if we think of and as general spaces, withnon-trivial homotopies between paths. In http://planetmath.org/node/87576Chapter 3, we willintroduce the notion of a set, which is a type with only trivialhomotopies, and if we consider semigroup structures on sets, then anytwo such associativity proofs are automatically equal.