Statement to be proved:
Prove that if $n > 1$ is not divisible by any prime number $p$ where $p \le \sqrt{n}$ then $n$ is a prime number.
Suppose we assume that $n$ is composite. We then prove that $n$ is divisible by a prime number $\le \sqrt{n}$.
We proved that a composite number is divisible by a prime number $\le \sqrt{n}$. Can we fairly deduce from this that a prime number is not divisible by a number $\le \sqrt{n}$? I doubt this. As far as this proof is concerned, for all we know, both composite and prime numbers could be divisible by a prime number $\le \sqrt{n}$. Where is the contradiction?