Lemma. Path spaces of algebra homomorphisms [003Y]

Given a path of reflection algebras X,Y:{A}\downarrow {\mathcal {U}} and a homomorphism f : X\multimap Y, the type \mathchoice {\textstyle \sum _{{\mathopen {}\left (g:X\multimap Y\right )\mathclose {}}}}{\textstyle \sum _{{\mathopen {}\left (g:X\multimap Y\right )\mathclose {}}}}{\scriptstyle \sum _{{\mathopen {}\left (g:X\multimap Y\right )\mathclose {}}}}{\scriptscriptstyle \sum _{{\mathopen {}\left (g:X\multimap Y\right )\mathclose {}}}}{{g} \sim _{X\multimap Y} {f}} of homomorphisms equipped with a homotopy to f is contractible, by function extensionality and the characterization of path spaces in dependent sums. Hence it follows that the canonical map {f} =_{X\multimap Y} {g}\to {f} \sim _{X\multimap Y} {g} is an equivalence.