related: induction (vs recursion) in proof
I want to be explicit with this principle (PCR):
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$.
in the proof for "every interval $[a,b]$ is compact". Here's the relevant part of the proof:
Suppose for a contradiction that our interval $I_1=[a,b]$ is not compact. Let $T$ be the set of intervals $[x,y]\subseteq I_1$ such that $[x,y]$ is not compact. Let $S=\{$finite sequences in $T\}$. I define a sequence $(I_n:n\in\mathbb{N})$ in $T$ using PCR.
Let $f:S\rightarrow T$. When $s$ is the empty sequence, define $f(s)=I_1$. Let $s=(I_1,\dots,I_{k-1})$ (for $k=2,3,\dots)$ where each $I_i\in T$. $I_{k-1}$ is not compact. We have an interval $I_k$ such that $I_k\subseteq I_{k-1}$, $I_k$ is not compact, and diam${I_k}=\frac{1}{2^{k-1}}(b-a)$. Define $f(s)=I_k$. By PCR, there exists a unique sequence $(I_n:n\in\mathbb{N})$ such that $I_n=f(I_1,I_2,\dots,I_{n-1})$ for every $n\in\mathbb{N}$.
Here's what I'm wondering: does my "mapping" $f:S\rightarrow T$ have to be defined for all sequences in $S$? Right now it isn't. It's only defined for sequences starting with $I_1$.
Phrased another way: is it sufficient to define $f$ for a subset of $S$? The wording of PCR makes me think that I have to define $f$ for every $s\in S$.
Thanks
Let me outline an approach that works, using this alternative formulation of PCR:
You should justify each step.