Lemma. Coherence for sections [01IN]

Let f:A\to B be a function equipped with a retraction r_f:B\to A. Then the type \mathsf {sectionOf}(f) \equiv {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(s:B\to A)}} f\circ s \sim 1_B of sections of f is a proposition.