I have the following theorem:

and I want to prove it by contradiction. I have started by negating the consequence, so I will have that

so if I rearrange these terms I will have that:

which will be against the closure property of integer numbers, because the substraction of both integers (which are integers because their division by the gcd will not affect that condition) is giving me a number which is not an integer, so there is a contradiction.
Is my proof ok?