The text that I have says something like this,
A real number s is the least upper bound for a set $A \subseteq R$ if it meets the following two criteria:
(1) s is an upper bound of A
(2) if b is any upper bound for A, then $s \le b$
Its the second statement that creates a confusion. I read answers to same question and the people have explained it with an example,
Ex: Let $[0,1]\subset \mathbb{R}$. Then we'd like to say that $1$ is the least upper bound. But as per the second definition you have, we find that $2$ is an upper bound and since $2$ is not not an upper bound the second condition you have is vacuous. Hence $2$ is a least upper bound. Which is not at all true.
But consider the statement it says, "if b is any upper bound for A" and if A is a set $[0,1]$ then 2, 3, any number above 1 is not a part of set A.
Can anyone explain how the second statement is true and what exactly it wants to convey regarding least upper bound?