I am totally confused when Tao gets into recursive definitions (page 26).
Paraphrasing, the axioms of natural numbers let us define sequences recursively. Suppose we want to build a sequence $a_0, a_1, a_2, ...$ by first defining $a_0 := c$ and then letting $a_1 := f_0(a_0)$, then $a_2 := f_1(a_1)$, etc. In general $a_{n++} := f_n(a_n)$. Now he claims that this procedure gives a single value to the sequence element $a_n$, i.e. there is a unique function $a(n)$ from $N$ to $N$ such that $a(0) = c$ and $a(n\text{++}) = f_n(a(n))$ for each natural number $n$.
Proof: Induction. $a_0 := c$ as a base case (which does not get redefined by anything else since $n\text{++}$ cannot be $0$ by Peano's third axiom). Then suppose inductively the procedure gives a single value to $a_n$. Then it gives a single value to $a_{n++} := f_n(a_n)$, which does not get redefined anywhere due to the successor function being injective. This completes the induction and so $a_n$ is defined for each natural number $n$ with a single value assigned to each $a_n$.
Now, I have no idea what's going on here. I've read this at least ten times and I'm just not seeing it.
I don't understand what he's doing here, what he's proving, what he's using this for, etc. He explains this definition right before we move forward into the definitions and derivations for things like addition: $0+m=m$ and $(n\text{++}) + m = (n+m)\text{++}$.
I don't understand why we have basically $n$ different functions denoted $f_n()$. Why not just $f()$? What is this function supposed to do? What does this have to do with recursion? What is this allowing us to do?
Tao sort of pulls this recursive paragraph out of nowhere and I don't understand what he's connecting this to or how it works or why we need it.
For example, if we let $S$ represent the successor function, then addition is defined as $m+0 = m$ with $m+S(n) = S(m+n)$. How would this functional, recursive relationship map between this and what Tao is talking about? What is $a_{n\text{++}}$? What is $f_n(a_n)$? And why not $f(a_n)$?
Why not just f()Sequences can have repeated terms. Consider for example the sequence $1,2,1,3,1,4,1,5,\ldots$. There is no $,f,$ such that $,a_{n+1}=f(a_n),$ for that sequence. – dxiv Mar 25 '18 at 01:46this procedure gives a single value to the sequence element a_n. – dxiv Mar 25 '18 at 01:53f_n(a_n)=S(a_n)Not sure I follow this right. If you want to add to the question, it would be better to edit the original post, rather than in comments. – dxiv Mar 25 '18 at 02:54why not f(a_n)?Because that doesn't work for recursive definitions in general, see my first comment. The top part you quoted was proving how recursive definitions work in general. You may not need to use the full generality of that definition in the second part (i.e. it may be enough to pick $,f_n=f,$), but I don't have that course handy, and there is not enough context to guess with complete confidence. – dxiv Mar 25 '18 at 03:16