Equivalence of Definitions of Maximal Element

Theorem
Let $\struct {S, \RR}$ be a relational structure.

Let $T \subseteq S$ be a subset of $S$.

Definition 1 implies Definition 2
Let $x$ be an maximal element by definition 1.

That is:
 * $(1): \quad \forall y \in T: x \mathrel \RR y \implies x = y$

that:
 * $\exists y \in T: x \mathrel {\RR^\ne} y$

Then by definition:
 * $x \mathrel \RR y \land x \ne y$

which contradicts $(1)$.

Thus by Proof by Contradiction:
 * $\nexists y \in T: x \mathrel {\RR^\ne} y$

That is $x$ is a maximal element by definition 2.

Definition 2 implies Definition 1
Let $x$ be a maximal element by definition 2.

That is:
 * $(2): \quad \nexists y \in T: x \mathrel {\RR^\ne} y$

that:
 * $\exists y \in T: x \mathrel \RR y: x \ne y$

That is:
 * $\exists y \in T: x \mathrel {\RR^\ne} y$

which contradicts $(2)$.

Thus:
 * $\forall y \in T: x \mathrel \RR y \implies x = y$

Thus $x$ is a maximal element by definition 1.