Let $B$ be the set of all the upper bounds of the non-empty bounded subset $A\subseteq\Bbb R$. Prove that $\inf B=\sup A$.
I divided it into two areas ($\inf B>\sup A$, $\inf B<\sup A$) and tried to show a contradiction. Is it the right approach? How can I prove it?