I have some trouble proving that if $x,y\in\mathbb{R}$ then $\lfloor x\rfloor \geq y$ if, and only if, $x\geq\lceil y\rceil$.
I have tried some different approaches, the most recent being a proof by contradiction: Assume (for contradiction) that $x<\lceil y\rceil$, then $\lfloor x\rfloor < y +1$. However, I can not (of course) get rid of the $+1$ term because in general $y \leq\lceil y\rceil$.
One can perhaps prove that both the floor- and ceiling function preserve inequalities? If so, the result become trivial.
Any ideas are highly appreciated.
We need to prove both direction, that is
and
For the first one we have that
$$\lfloor x\rfloor \geq y \implies \lfloor x\rfloor \geq \lceil y\rceil $$
and therefore
$$x\ge \lfloor x\rfloor \geq \lceil y\rceil \implies x\geq\lceil y\rceil$$
For the second one we have that
$$x\geq\lceil y\rceil \implies \lfloor x\rfloor \geq \lceil y\rceil $$
and therefore
$$\lfloor x\rfloor \geq \lceil y\rceil \ge y \implies \lfloor x\rfloor \ge y$$