Prove Every finite subset of a non-empty totally ordered set has both upper and lower bounds.
By completeness axiom every nonempty subset of real numbers that is bounded from above (respectively from below) has a supremum (respectively infimum) , a finite totally ordered set has finitely many elements and it's always possible to find a supremum or infimum of that set , and even upper or lower bounds, but I don't know how to prove that, because even completeness axiom consider the special case of a totally ordered set which is the set of real numbers, but what about the case where our totally ordered set is the power set of a specific set?
Can someone prove this statement?
Let $X$ be your finite set, say with $n$ elements. The total order of the ambient space induces a total order on $X$. Thus you can order the elents $x_i$ of $X$ so that $x_1< x_2<\dots< x_n$. Then $x_1$ is the minimum (hence a lower bound) and $x_n$ is the maximum (hence an upper bound).
In order to sort the elements of $X$ in an oredered way you can use the following algorithm:
Step $(1)$ Number the elements of $X$ as $x_1,\dots,x_n$ and go to next step.
Step $(2)$ Compare $x_1$ with $x_2$.
If $x_1>x_2$ then switch them and restart from Step $(2)$.
If $x_1<x_2$ go to next step.
Step $(3)$ Compare $x_2$ with $x_3$.
If $x_2>x_3$ then switch them and restart from Step $(2)$.
If $x_2<x_3$ go to next step.
...
Step $(n)$ Compare $x_{n-1}$ with $x_n$. If $x_{n-1}>x_n$ then switch them and restart from Step $(2)$.
If $x_{n-1}<x_n$ STOP.
The numbering you get when you stop is exactly that given by the order. Indeed, when you stop, then you passed all the checks of any Step $(i)$, and thus $x_{i}<x_{i+1}$.