Prove that there is no $x,y$ rationals such that $x^2 + y^2 = 3$.
Let's assume for the sake of contradiction that this statement is false, i.e. that there exists $x,y \in \mathbb{Q}$ satisfying $x^2 + y^2 = 3$. This is equivalent to: $$\exists(p,q) \in \mathbb{Z}\times \mathbb{N}^*, \exists (p',q') \in \mathbb{Z}\times \mathbb{N}^*: \left(\frac{p}{q}\right)^2 + \left(\frac{p'}{q'}\right)^2 = 3 \wedge \gcd(p,q) = 1 \wedge \gcd(p',q') = 1$$ We then have: $$(pq')^2 + (p'q)^2 = 3(qq')^2$$ We know that a square is either $0$ or $1 \bmod 4$. $(qq')^2$ cannot be $1 \bmod 4$ because that would imply $3(qq')^2 \equiv 3\pmod4$ whereas $(pq')^2 + (p'q)^2 \bmod 3$ cannot be greater than $2$. So $(pq')^2 \equiv 0 \pmod4$, $(p'q)^2 \equiv 0 \pmod 4$ and $(qq')^2 \equiv 0 \pmod 4$. It follows that $p$ or $q'$ is even, $p'$ or $q$ is even and $q$ or $q'$ is even, thus ensuring the following statement to be true: $$(2 \mid p \vee 2 \mid q') \wedge (2 \mid p' \vee 2 \mid q) \wedge (2 \mid q \vee 2 \mid q')$$
The fact that $\frac{p}{q}$ and $\frac{p'}{q'}$ are irreducible prevents $2$ from dividing both $p$ and $q$ or both $p'$ and $q'$. Thus, only $q$ and $q'$ are even numbers while $p$ and $p'$ are odd. Furthermore, by definition: $$ \begin{align} y^2 & = 3 - x^2 \\ & = \frac{3q^2 - p^2}{q^2} \end{align} $$
Since $p$ is odd and $q$ is even, we have $p^2 \equiv 1 \pmod 4$ and $q^2 \equiv 0 \pmod 4$ so $3q^2 - p^2 \equiv 3 \pmod 4$; consequently, $3q^2 - p^2$ is not a perfect square and we have successively: $$\nexists p' \in \mathbb{Z} : p'^2 = 3q^2 - p^2 \\ \forall q' \in \mathbb{N}^*, \nexists p' \in \mathbb{Z} : y^2 = \frac{p'^2}{q'^2} \\ \nexists (p',q') \in \mathbb{Z} \times \mathbb{N}^* : y = \frac{p'}{q'}$$
Thus contradicting our initial assumption. $\blacksquare$
My questions are: how can I improve the writing of this proof? Are there other, more effective ones?