Dependent types I › Identification types › The action of a function on identifications [01GN]

Given a function f:A\to B and an identification p:u=_Av we should be able to obtain an identification \mathsf {act}_fp:fu=_B fv. This should satisfy the judgemental equation \mathsf {act}_f(\mathsf {refl}_u)\equiv \mathsf {refl}_{fu}\text {.}

We can define the action using transport, where the family is a function space:

\mathsf {act}_fp :\equiv \bigl (\mathsf {transport}_{z\mathpunct {.} fz=_Bfx \to fz=_Bfy} (p; \lambda q\mathpunct {.}q)\bigr ) (\mathsf {refl}_{fu})

Make sure you understand why the definition above work!

In many texts, this operation may be written \mathsf {ap}_fp; this stands for “action on paths”. In this course we prefer the word “identification” to “path”, but we might slip up sometimes. It is important to be flexible and find peace with a variety of different terminologies that may appear in different books and papers.