Definition. Truncation levels › Decidable equality and Hedberg’s theorem › Identity function [01GQ]

A function f:A\to A is called an identity function when we its value on #x:A can be identified with x; in other words, when we have an element of the following type:

\mathsf {isIdentity}(f) :\equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x:A)}} fx=_Ax