In Stephen Abbott's "Understanding Analysis" book, he proves that the set of Real numbers is an uncountable set in theorem 1.4.11. My issue with the proof is that it seems too strong, as in it seems like you can prove that the set of Integers or Rationals are uncountable with the exact same proof, just replace Reals with Integers or Rationals. Where does he invoke properties of the Reals that the Integers and Rationals don't have? I know I have to be missing something...
Here's the theorem and proof, copied straight out of Abbott:
Theorem 1.4.11. The set R of Real Numbers is uncountable.
Proof. Assume that there does exist a 1–1, onto function f : N → R. Again, what this suggests is that it is possible to enumerate the elements of R. If we let x1 = f(1), x2 = f(2), and so on, then our assumption that f is onto means that we can write
(1) R ={$x_1$, $x_2$, $x_2$, $x_2$,...}
and be confident that every real number appears somewhere on the list. We will now use the Nested Interval Property (Theorem 1.4.1) to produce a real number that is not there.
Let $I_1$ be a closed interval that does not contain $x_1$. Next, let $I_2$ be a closed interval, contained in $I_1$, which does not contain $x_2$. The existence of such an $I_2$ is easy to verify. Certainly $I_1$ contains two smaller disjoint closed intervals, and $x_2$ can only be in one of these. In general, given an interval $I_n$, construct $I_{n+1}$ to satisfy
(i) $I_{n+1}$ ⊆ $I_n$ and
(ii) $x_{n+}$ $\mathrel{{\epsilon}\llap{/}}$ $I_{n+1}$.
We now consider the intersection $\cap_{n=1}^{\infty}I_n$. If $x_{n_0}$ is some real number from the list in (1), then we have $x_{n_0} \mathrel{{\epsilon}\llap{/}} I_{n_0}$, and it follows that $x_{n_0} \mathrel{{\epsilon}\llap{/}} \cap_{n=1}^{\infty}I_n$. Now, we are assuming that the list in (1) contains every real number, and this leads to the conclusion that $\cap_{n=1}^{\infty}I_n =∅$. However, the Nested Interval Property (NIP) asserts that $\cap_{n=1}^{\infty}I_n \mathrel{{=}\llap{/}}∅$. By NIP, there is at least one $x ~\epsilon \cap_{n=1}^{\infty}I_n$ that, consequently, cannot be on the list in (1). This contradiction means that such an enumeration of R is impossible, and we conclude that R is an uncountable set.