In Stephen Abbott's book, Understanding Analysis, theorem 1.2.6 is stated as
Two real numbers $a$ and $b$ are equal if and only if for every real number $\epsilon$ it follows that $\vert{a-b}\vert<\epsilon$
For proving $(\Rightarrow)$ we must show that:
if $a=b$, then $\forall{\epsilon>0}:\bigl(\vert{a-b}\vert<\epsilon\bigr)$
which is fairly straightforward. If $a=b$, then $\vert{a-b}\vert=0$ which is smaller than every $\epsilon$.
And for proving $(\Leftarrow)$ we must show that:
if $\forall{\epsilon>0}:\bigl(\vert{a-b}\vert<\epsilon\bigr)$, then $a=b$
which in the book is proved by contradiction.
I am trying to prove $(\Leftarrow)$ through a contrapositive instead but I seem to have confused myself with what the contrapositive statement to $(\Leftarrow)$ should be.
Will it be the negation of the quantifiers and statements, and then switching the if and then around so that instead of:
if $\forall{\epsilon>0}:\bigl(\vert{a-b}\vert<\epsilon\bigr)$, then $a=b$
we get:
if $a\neq{b}$, then $\exists{\epsilon>0}:\bigl(\vert{a-b}\vert\geq\epsilon\bigr)$
and now to prove by contrapositive, we must show that if $a-b\neq0$ then there exists some $\epsilon>0$ that is smaller than or equal to $\vert{a-b}\vert$?