Lemma. Rationals in terms of proper fractions [01BV]

A positive real number x is rational if and only if there exist positive integers m,n such that x=m/n and there exists no prime p dividing both m and n.

If we knew how to compute greatest common divisors, we could give a very direct and constructive proof. For the sake of the game, however, we will give a proof by contradiction.