It is proved that if P is prime, then the ratio of root P is irrational

It is proved that if P is prime, then the ratio of root P is irrational

To the contrary, suppose that √ P is a rational number and equal to X
√P=x
P=x^2
Because P is prime, it can only be expressed as 1 * P
And P = x ^ 2 = x * x * 1
It is concluded that P is not a prime number, which contradicts the known conditions
So √ P is irrational