Indefinite description is inconsistent with HoTT/UF [00B2]
Unfortunately, global choice and indefinite description are inconsistent with homotopy type theory / univalent foundations, as they imply that every type is a set. In fact, as can be seen from the proof of Theorem 3.2.2 of the HoTT Book, it is even inconsistent with univalent foundations to assume global choice only for sets!
To express classical mathematics in univalent foundations, it is therefore necessary to use the more cumbersome axiom of choice — which is strictly weaker than global choice. When {\mathopen {}\left \lVert -\right \rVert \mathclose {}} is the propositional truncation operator, global choice would be witnessed by a family of functions \mathsf {some}_A : {\mathopen {}\left \lVert A\right \rVert \mathclose {}}\to A whereas the axiom of choice is witnessed by a family of functions \mathsf {AC}_{A,B} : {\mathopen {}\left (\mathchoice {\textstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\mathopen {}\left \lVert B{\mathopen {}\left (x\right )\mathclose {}}\right \rVert \mathclose {}}\right )\mathclose {}}\to {\mathopen {}\left \lVert \mathchoice {\textstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (x:A\right )\mathclose {}}}}B{\mathopen {}\left (x\right )\mathclose {}}\right \rVert \mathclose {}}. The crucial difference is the presence of propositional truncation in the output.