I use strong induction on $p$.
Proof:
We want to show that $\forall q\in \mathbb{N} \big[q>0 \rightarrow \neg\exists p\in\mathbb{N}\big(p/q=\sqrt{2}\big)\big]$. Let $q$ be arbitrary natural number and $q>0$.
Inductive Hypothesis :
Let $k\in\mathbb{N}$ and $k<p$ such that $\big[q>0 \rightarrow \neg\exists k\in\mathbb{N}\big(k/q=\sqrt{2}\big)\big]$.
Inductive Step :
If $p=0$ then $k<0$ therefore the statement $\big[q>0 \rightarrow \neg\exists p\in\mathbb{N}\big(k/q=\sqrt{2}\big)\big]$ is vacuously true. If $p>0$ to see that $\sqrt{2}$ is irrational, suppose it isn't. This means that $\big[\exists p\in\mathbb{N}\big(p/q=\sqrt{2}\big)\big]$. So $p/q=\sqrt{2} \iff q=p/\sqrt{2}$. It follows that $k=\frac{p}{\sqrt{2}}\sqrt{2} \iff k=p$. Then if we let $p=k$ we get $\big[\exists k\in\mathbb{N}\big(k/q=\sqrt{2}\big)\big]$. This contradicts our inductive hypothesis. Thus $\sqrt{2}$ is irrational.
If the proof is not correct then what have I gone wrong? Thanks in advance.