I'm attempting to prove Euclid's Lemma in class, and while there are many proofs available on the internet which use Bezout's Identity and greatest common divisors and the Linear Diophantine equation, my class was specifically instructed to prove Euclid's Lemma only using basic axioms for the set of integers and properties of equality. As such, I was thinking that I could present a sketch of the proof I have in mind, and I hope that I could receive some feedback as to whether it is correct or if there are any problems and how to fix them if they exist. Thanks!
Statement: $\forall a,b \in \mathbb{Z}$, If $p\mid ab$, then $p \mid a$ or $p \mid b$, where $p$ is a prime integer.
Proof: (By Contradiction)
Let $p,a,b \in \mathbb{Z}$ where $p$ is a prime integer.
Suppose that $p \mid ab$ and $p \nmid a$
In order to prove the statement, it must be shown that $p \mid b$
Assume that $p \nmid b$
If $p \nmid b$, then $pk \neq b$ for some $k \in \mathbb{Z}$
Observe that $pk \neq b => pak \neq ab$
Since $\mathbb{Z}$ is closed under multiplication and $a,k \in \mathbb{Z}$, $ak = r$ where $r \in \mathbb{Z}$
Therefore, $pr \neq ab$ which implies that $p \nmid ab$
This is a contradiction since we were given $p \mid ab$
Thus, it must be true that $p \mid b$
Q.E.D.
Any thoughts?
If $p\not \mid b$ then $pk \ne b$ for all $k$ not just one $k$. (For example $3*k \ne 21$ for some $k$ i.e. for $k=6$, $3*k =18 \ne 21$. And yet somehow, $3|21$.)
So if we use that $p\ne ak$ for all $k$ we can say that $pak \ne ab$ for any $k$.
We can't say $r =ak$ because we don't have any specific $k$ in mind. But we can so that $pr \ne ab$ for any $r$ *that is a multiple of $a$.
But so far it could very possibly be that $ps = ab$ for some $s$ that is not a multiple of $a$.
I think you are doomed.
FWIW it's probably not a good idea to use the double negative that $pk \ne b$ for all$k$. It's better to say: there does not exist any $k$ so that $pk = b$.