This post is about "proof by induction". I want to understand if I've been doing it right. I'm a little confused by something I read in a textbook. My background in math doesn't go beyond undergraduate classes (basic analysis, algebra).
On pg47 of Handbook of Analysis and its Foundations, Schechter writes: "Induction is a method for proving statements about objects that have already been defined; recursion is a method for defining new objects." He gives this principle:
Principle of Countable Induction. Suppose $1\in T\subseteq\mathbb{N}$ and $T$ has the property that whenever $n\in T$ then also $n + 1\in T$. Then $T = \mathbb{N}$.
Suppose I wanted to prove the statement "every infinite set has a countable subset". Here is how I would do it: Suppose $S$ is our infinite set. We know $S\neq\emptyset$, so there exists some $x_1\in S$. Suppose $x_1,x_2,\dots,x_{k}\in S$ ($k=1,2,\dots$) have been picked. There exists some $x_{k+1}\in S$ such that $x_{k+1}\neq x_i$ (for $i=1,2,\dots,k$). "By induction", I've defined a sequence of distinct terms in $S$, which shows $S$ has a countable subset.
My question is this: based on the quote from Schechter, am I actually using induction in my proof? What is the set $T$? It seems $T$ would be the domain of the sequence. If I wanted to be more explicit in my proof, I would say let $f$ be a function with domain $T$. Define $f(1)=x_1$ (so $1\in T$), and so on. So in my proof I'm defining the contents of $T$. $T$ isn't defined in advance, which is something that is required?
The author also gives another principle:
Principle of Countable Recursion. Let $T$ be a set, and let $p$ be some mapping from $\{$finite sequences in T$\}$ into $T$. Then there exists a unique sequence $(t_1,t_2, t_3,\dots)$ in $T$ that satisfies $t_n= p(t_1 , t_2 ,\dots, t_{n - 1})$ for all $n$.
But this is foreign to me.