Surjective functions and the existential quantifier [01K1]

In ordinary mathematics, a function p\colon E\to B is said to be surjective when for every b:B there exists some e such that pe=b. This will be the correct definition of surjectivity in univalent foundations too, but we need to be careful to correctly interpret the English phrase “there exists”. For example, translating the statement above to the following type would be far too strong and would lead to incorrect results:

{\mathop {\mathchoice {\textstyle \prod }{\textstyle \prod }{\scriptstyle \prod }{\scriptscriptstyle \prod } }_{(b:B)}} {\mathop {\mathchoice {\textstyle \sum }{\textstyle \sum }{\scriptstyle \sum }{\scriptscriptstyle \sum } }_{(e:E)}} pe=b

The first problem is that the above is not a proposition; but even supposing we did not care about that, using this definition would lead to incorrect results unless we assumed the axiom of choice. This would be an extremist version of the “propositions as types” principle that mathematical experience has shown to be scientifically invalid.

The axiom of n-truncations gives us the language in which to express the correct general notion of existence (though there are other variations that are worthy of study in their own right). In particular, we give the meaning of “there exists” in terms of propositional truncation.

Context

Reflections of types in subuniverses (e.g. truncation) [01JF]

Related

Axiom. The axiom of n-truncations [01JJ]

Definition. Truncation levels › Propositions [01FK]