Equivalence of Definitions of Injection/Definition 1 iff Definition 1 a

Proof
Let $f: S \to T$ be an injection by definition 1.

Thus:
 * $\forall x_1, x_2 \in S: f \paren {x_1} = f \paren {x_2} \implies x_1 = x_2$

Let $x_1 \ne x_2$.

Aiming for a contradiction, suppose that:
 * $f \paren {x_1} = f \paren {x_2}$

Then by definition 1:
 * $x_1 = x_2$

This contradicts the assumption that $x_1 \ne x_2$.

Thus by Proof by Contradiction:
 * $\forall x_1, x_2 \in S: x_1 \ne x_2 \implies f \paren {x_1} \ne f \paren {x_2}$

Thus $f$ is an injection by definition 1 a.

Let $f: S \to T$ be an injection by definition 1 a.

Thus:
 * $\forall x_1, x_2 \in S: x_1 \ne x_2 \implies f \paren {x_1} \ne f \paren {x_2}$

Let $f \paren {x_1} = f \paren {x_2}$.

Aiming for a contradiction, suppose that:
 * $x_1 \ne x_2$

Then by definition 1 a:
 * $f \paren {x_1} \ne f \paren {x_2}$

This contradicts the assumption that $f \paren {x_1} = f \paren {x_2}$.

Thus by Proof by Contradiction:
 * $\forall x_1, x_2 \in S: f \paren {x_1} = f \paren {x_2} \implies x_1 = x_2$

Thus $f$ is an injection by definition 1.