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

A type A is said to be decidable when we have either an element of A or a proof that there can be no such element. This is formalised in the following type:

\mathsf {isDec}(A) :\equiv A + (A\to \mathsf {empty})