Suppose that one has the statement $\forall x\exists y :P(x,y)$. Given an $a$, then it follows that there is a $b$ such that $P(a,b)$.
My question is: Am I allowed to call this object $b_a$ or $b(a)$ or any other version that behaves like a function symbol? If so, why or why not?
Why am I asking this? Suppose that $X$ is a set and we have $\forall x \in X \exists y \in X: P(x,y)$ and suppose that we are allowed to introduce $b_a$ for the appropriate object as explained above. Then we know that there exists the set $A$ such that $$\forall z : z \in A \iff \exists a,b \in X : z=(a,b) \wedge =b_a$$ or in other words $$A=\{(a,b_a):a \in X\}.$$
If this were allowed, I wouldn't need the axiom of choice to construct the set $A$. However, if this wasn't allowed, I would need the axiom of choice, since I can't (or at least I don't know how to) construct such a set from the statement $\forall x \in X \exists y \in X:P(x,y)$. More precisely, I don't see how one could prove the existence of a set $A$ that consists of pairs of the elements $x$ of $X$ with exactly one element $y$ of $X$ that satisfy $P(x,y)$. If the object $y$ is unique, then this is easy: $$\forall z : z \in A \iff \exists x,y \in X: z=(x,y) \wedge P(x,y)$$ or $$A=\{(x,y) \in X \times X: P(x,y)\}$$ One possible explanation? I think in formal logic this is not allowed, but I am not sure how it is in more informal maths other than formal logic, or even why its not allowed in formal logic. One potential reason I came up with is the following. Suppose one has an object $x$ and introduces a function symbol $f(x)$ for an object $y$ that satisfies $P(x,y)$. Then, if $y_1,y_2$ are two objects that satisfy $P(x,y_1),P(x,y_2)$, one might be tempted to incorrectly infer: $P(x,y_1)$ implies $y_1=f(x)$ and $P(x,y_2)$ implies $y_2=f(x)$, thus $y_2=y_1$, where one used the intuition that function symbols should be unique objects, which they of course are not in this case. However, with enough caution, such mistakes shouldn't happen. Therefore I am not entirely sure why its not allowed to introduce those.