After my first exposure to diagonalization argument in a proof for the proposition $$\mathbb N < \mathbb R$$ I hunted around on S.E. for a more in-depth breakdown. I found this post How does Cantor's diagonal argument work?, and enjoyed a lovely response, which was the accepted answer.
In the supplied response to the aforementioned post, the following framework is posed: define a function $f: \mathbb N \to 2^{\mathbb N}$ and prove that it cannot be surjective by virtue of strategically constructing an element of $2^{\mathbb N}$ (call it $s_f$) for which no $n$ can map into via $f$...i.e. such that $\forall n f(n) \neq s_f$.
This was a very cool argument, and it made me think of the collection of all such functions that follow the "form" of $f: \mathbb N \to 2^{\mathbb N}$.
So, for example, let's start by saying that there is an: $$f_1 : \mathbb N \to 2^{\mathbb N}$$
Then there is an: $$ f_2\neq f_1\ \ \ \text{s.t.}\ \ \ f_2: \mathbb N \to 2^{\mathbb N}$$
Then there is an: $$ f_3\neq f_2,f_1\ \ \ \text{s.t.}\ \ \ f_3: \mathbb N \to 2^{\mathbb N}$$ etc, etc.
Suppose I define the union: $\bigcup_{i=1}^\infty \{\text{range}(f_i)\}$...note the set-brackets around $\text{range}(f_i)$ . Does this equal $2^{\mathbb N}$? Said differently, can I union countably infinite numbers of sets in order to create a set (in this case $2^{\mathbb N}$) that is not countably infinite?
I assume the answer is no (see here: countably infinite union of countably infinite sets is countable), but I am having a little difficulty understanding why this must be so.
In natural language, $2^{\mathbb N}$ "describes the set of all functions from $\mathbb N$ to $\{0,1\}$". But isn't that precisely what the infinite union of all sets $\{\text{range}(f_i)\}$ is describing?
Any insight is greatly appreciated!