Way Below iff Second Operand Preceding Supremum of Ideal implies First Operand is Element of Ideal

Theorem
Let $\mathscr S = \left({S, \preceq}\right)$ be an up-complete ordered set.

Let $x, y \in S$.

Then $x \ll y$
 * $\forall I \in {\it Ids}\left({\mathscr S}\right): y \preceq \sup I \implies x \in I$

where
 * $\ll$ denotes the way below relation,
 * ${\it Ids}\left({\mathscr S}\right)$ denotes the set of all ideals in $\mathscr S$.

Sufficient Condition
Let $x \ll y$

Let $I \in {\it Ids}\left({\mathscr S}\right)$ such that
 * $y \preceq \sup I$

By definition of ideal:
 * $I$ is directed and lower.

By definition of up-complete:
 * $I$ admits a supremum.

By definition of way below relation:
 * $\exists i \in I: x \preceq i$

Thus by definition of lower set:
 * $x \in I$

Necessary Condition
Assume that
 * $\forall I \in {\it Ids}\left({\mathscr S}\right): y \preceq \sup I \implies x \in I$

Let $D$ be a directed subset of $S$ such that
 * $D$ admits a supremum and $y \preceq \sup D$

By Supremum of Lower Closure of Set:
 * $D^\preceq$ admits a supremum and $\sup D^\preceq = \sup D$

where $D^\preceq$ denotes the lower closure of $D$.

By Lower Closure of Directed Subset is Ideal:
 * $D^\preceq$ is an ideal.

By assumption:
 * $x \in D^\preceq$

Thus by definition of lower closure of set:
 * $\exists d \in D: x \preceq d$

Thus by definition of way below relation:
 * $x \ll y$