Prove that if $d$ is a common divisor of $a$ & $b$, then $d=\gcd(a,b)$ if and only if $\gcd(\frac{a}{d},\frac{b}{d})=1$
I know I already posted this question, but I want to know if my proof is valid: So for my preliminary definition work I have: $\frac{a}{d}=k, a=\frac{dk b}{d}=l,b=ld $
so then I wrote a linear combination of the $\gcd(a,b)$, $$ax+by=d$$ and substituted:
$$dk(x)+dl(y)=d d(kx+ly)=d kx+ly=1 a/d(x)+b/d(y)=1$$
Is this proof correct? If not, where did I go wrong? Thanks!