How do we prove that $\lfloor0.999\cdots\rfloor = \lfloor 1 \rfloor$?

The floor function is a discontinuous function. This means that limits cannot be interchanged before and after the action of the function, i.e. $f(\lim\limits_{n\to\infty}x_n)\ne \lim\limits_{n\to\infty} f(x_n)$ generally. In particular,

$$\lim_{n\to\infty}\left\lfloor 0.\underbrace{99\cdots9}_n \right\rfloor=\lim_{n\to\infty}0=0 $$

$\hskip 3.2in$ but

$$\left\lfloor \lim_{n\to\infty} 0.\underbrace{99\cdots9}_n \right\rfloor=\lfloor1\rfloor=1. $$

Now the expression $\lfloor0.999\dots\rfloor$ denotes the latter, which is $1$, but intuitively and at face value one notices that the floor function evaluated at the partial sums always returns $0$, so we might be tempted to accept the first formula above as the real answer, but appearance $\ne$ reality in general.