Lemma. Truncation levels › Truncation levels for sets [01GB]

A type is a set if and only if it is 0-truncated.

We compute out the formal definition of 0-truncation for a type A:

\mathsf {isTrunc}_0(A) \equiv {\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(x,y:A)}} \mathsf {isTrunc}_{-1}(x=_Ay)

By our previous lemma characterising propositions, this is equivalent to being a set. (We haven’t yet formalised the appropriate notion of “equivalence”, but for now it suffices that we can pass from set-hood to 0-truncation and vice versa.)