There is a theorem stated as follows.
Let $x$,$y \in \mathbb{R}$ and suppose for all $\epsilon > 0$ we have $x\leq y+\epsilon$. Then $x \leq y$.
I was doing some busy work when I noticed a possible abuse of this theorem, and I wish to see what illegal move was made whether explicitly or implicitly.
Let $S$ be a nonempty subset of $\mathbb{R}$ that is bounded from above. By the completeness axiom, the supremum of $S$ exists, call it $x$.
Now let $\epsilon > 0$. Then $x-\epsilon < x$. Because $x$ is the least upper bound of $S$, there exists an $s^{\prime} \in S$ such that
$$x - \epsilon < s^{\prime} < x$$
which implies
$$x - \epsilon < s^{\prime} $$
or
$$x < s^{\prime} + \epsilon \tag{1}$$
But from the above theorem $(1)$ becomes
$$x \leq s^{\prime} \tag{2}$$
which is a contradiction. We cannot even take $x = s^{\prime}$, because this would imply that the supremum of a set is always the maximum, but that is obviously not true.
Is there an invalid move somewhere before reaching $(2)$? I know that because $(2)$ produces a contradiction, we can infer by the Trichotomy Law that $s^{\prime} < x$, but I want to know if there is an illegal move written above or that may be implied from the above reasoning, but it is not explicitly written.
Edit. Made an edit to the theorem to include universal quantification of $\epsilon$ over the positive reals.
Yes, there is a false step. The problem is that your theorem is incorrectly phrased. It should be:
If $\forall\epsilon>0$ we have $x\leq y+\epsilon$, then $x\leq y$.
Notice the $\forall$ quantifier. Note also that $y$ is independent of $\epsilon$ in this theorem.
Now it is true that for any $\epsilon$ you can find an $s'$ such that $x-\epsilon\leq s'$. However this $s'$ depends on $\epsilon$, in fact for any $s'$ that you choose for a given $\epsilon$ such that the inequality holds I can find a smaller $\epsilon$ for which it no longer holds (in the cases where the supremum is not the maximum, if the maximum exists then of course choosing s'=x will work $\forall\epsilon$)
You can therefore not apply the theorem.