Homotopies, sections, retractions, (bi-)inverses [01FH]

So far we have encountered three possible kinds of sameness for dependent functions f,g:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{B[x]}:

  1. They could be judgementally equal in the sense that f\equiv g:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}{B[x]} holds. We have seen that this is equivalent to the values of the function being equal in the sense that x:A\vdash fx\equiv gx:B[x] holds.
  2. They could be identified by an element p:f=_{{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}B[x]}g of the identification type.
  3. Their values could be identified by a family x:A\vdash h[x]:fx=_{B[x]}gx of identifications, or (equivalent) by a dependent function h:{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}}fx=_{B[x]}gx assigning identifications to elements of A.

The third notion is above is called a homotopy from f to g. With the foundations that we have set up so far, homotopies are the most correct way to express the mathematical sameness of two functions. Later on, we will see how univalent foundations ensures that identifications of functions (the second notion) are equivalent to homotopies between functions.

Be careful! Although we have shown above that we can convert between bi-inverses and quasi-inverses, the two notions are not equivalence in the sense of univalent foundations: indeed, it is not the case that function sending a quasi-inverse to a bi-inverse is contractible.

Context

Lecture. Univalent foundations I [01FG]

Related

Lemma. From bi-inverses to quasi-inverses [01HG]

Definition. Equivalence (I) [01HC]

Definition. n-truncated function [01HB]

Definition. Bi-inverse [01FI]

Definition. Quasi-inverse [01H7]

Exercise. Dependent types I › The product of a family of types › Extensionality [01DJ]

Dependent types I › Identification types [01E8]

Dependent types I › Judgemental structure of dependent types › Judgemental equality [01CY]