Lemma 10.1.9 (Characterizations of propositions). Let \(X\) be an anima. The following are logically equivalent:
(1) \(X\) is a proposition.
(2) For any two \(x,y:X\), the type \(X(x,y)\) is contractible; in formulas \(\prod_{x,y:X} \isContr X(x,y)\).
(3) For any two \(x,y:X\) we have an identification \(p : X(x,y)\); in formulas \(\prod_{x,y:X} X(x,y)\).
(4) If we have an inhabitant \(x : X\), then \(X\) is contractible; in formulas \(X \to \isContr X\).
Proof
The equivalence between (1) and (2) follows from the characterization of embeddings between animae as fully faithful functors. The implication from (2) to (3) is obtained by forgetting the contraction.
Assume (3), and write \(f : \prod_{x,y:X}X(x,y)\) for the given family. If \(c : X\), then \(f(c,-)\) contracts \(X\) onto \(c\). This proves (4).
Finally, assume (4) and let \(x,y : X\). Since \(x\) inhabits \(X\), the anima \(X\) is contractible. It follows that \(X(x,y)\) is contractible, which proves (2).