Prove that for each $m \in \Bbb N$, there exists a unique $ f_m: \Bbb N \rightarrow \Bbb N$, such that $f_m(0)=m$ and $\forall n \in \Bbb N, f_m(S(n))=S(f_m(n))$. Where $S(n)$ denotes the successor of $n$, namely: $S(n)=n \cup \{n\}$.
The proof follows from application of the recursion theorem, however, I am trying to see if I could prove it from the Axioms directly. I am new to the subject of ZFC, so please bear with me.
By Axiom of Choice, considering the indexed family of sets $\{\Bbb N\}_{i \in \Bbb N}$ as follows: $$\prod\{\Bbb N\}_{i \in \Bbb N} \neq \emptyset=\{f:\Bbb N \rightarrow \Bbb N\}$$ Hence the set of all possible functions $f:\Bbb N \rightarrow \Bbb N$ exists and is nonempty.
By Axiom of Union, the following set exists: $$\bigcup \prod \{\Bbb N\}_{i \in \Bbb N}=\{z:\exists f \in \prod \{\Bbb N\}_{i \in \Bbb N} \;z \in f \}$$ which is the set of all possible ordered pairs.
By Axiom of Seperation, the following set exists: $$f_m= \biggr\{z \in \bigcup \prod \{\Bbb N\}_{i \in \Bbb N}: (x(z)=0 \implies y(z)=m)\; \land \;\biggr(\forall n \in \Bbb N \;\;\; y(S(x(z)))=S(y(x(z)))\biggr) \biggr\}$$ The variable used in the quantifier $z$ is an ordered pair, where $x(z)$ and $y(z)$ denote the $x$ and $y$ components respectively. To the right of the colon, we have a formula that selects all the ordered pairs satisfying the criterion in the question. Hence, we have demonstrated that such $f_m$ exists.
Is this method valid? I am really unsure: when we invoke the Axiom of Choice, we simply state that the Generalised Cartesian Product or simply the set of all functions $f:\Bbb N \rightarrow \Bbb N$ is nonempty, but we don't say anything about whether or not the given $f_m$ is a possible element of the product. So then we might end up with $f_m$ being the empty set when we apply the Axiom Schema of Separation.
I also have an additional concern, if you look at the criterion used when applying the Axiom of Separation, we check for $y(S(x(z)))$, which we wouldn't know unless we knew the successive ordered pair. This sounds problematic, however I've never seen a similar scenario where we consider the successive element, the existence of which is yet to be determined, as part of the formula.