I've seen a lot of questions like the following:
Show there is a bijection from $(0,1]$ to $(0,1)$.
The bijections I've been using in my answers to this question have involved numerating the sequence of real numbers between zero and one:
$(r_\alpha)_{\alpha \in \mathbb{N}}$
Then I use the Hilbert Hotel method of simply shifting the initial values in that sequence by the number of end points opening or closing on the interval:
If the current input to the bijection equals one, shift the entire sequence $(r_\alpha)_{\alpha \in \mathbb{N}}$ right one index and make the current input the first object in the sequence $(r_\alpha)_{\alpha \in \mathbb{N}}$.
Similarly as in this proof.
The issue I'm having with this proof is Cantor's Diagonal Lemma. My understanding is that Cantor's Diagonal Lemma proves that the real numbers in any interval cannot be mapped to $\mathbb{N}$. If this is correct, then we cannot define the sequence of reals between $(0,1)$ as $(r_\alpha)_{\alpha \in \mathbb{N}}$.
Is there some flaw in my understanding above? It seems to me that Cantor's Diagonal Lemma makes it so that Hilbert's Hotel can't accommodate another, single guest if the hotel is already full.