Prove that a closed bounded set contains its supremum
Proof:
Consider a closed bounded set $ A $. Suppose to the contrary that $\sup (A) \notin A $. We know that since $ A $ is closed that $ \mathbb{R} \setminus A $ is open. Then since $ \sup (A) $ is an element of $ \mathbb{R}\setminus A $ it follows that we can find a $ \delta >0 $ such that $ (\sup (A) - \delta,\; \sup (A) + \delta) \subset \mathbb{R}\setminus A$. Then $ \sup(A) -\delta $ is clearly an upper bound of $ A $ which is a contradiction.
The one thing that I think I may be missing is that I need to show that $\sup(A)-\delta$ is an upper bound. How would I do that in this case?