Definition. Truncation levels › Decidable equality and Hedberg’s theorem › Decidable equality [01GG]

A type A is said to have decidable equality when all of its identification types are decidable:

\mathsf {hasDecEq}(A) :\equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x,y:A)}} \mathsf {isDec}(A) x=_Ay + (x=_Ay\to \mathsf {empty})