Lemma. Characterisation of fibrewise equivalence [01HF]

Let x:A\vdash f_x:B[x]\to C[x] be a family of functions. The sum \tilde {f}:{\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{B[x]}\to {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(x:A)}}{C[x]} is an equivalence if and only if each f_x:B[x]\to C[x] is an equivalence.