I am studying the following problem, in which I don't see why one of the congruences has a single solution:
What is the number of solutions $(\bmod m n)$ for the equations $x=a(\bmod m)$ and $x=b(\bmod n)$ where $\operatorname{gcd}(m, n)=\operatorname{gcd}(a, m)=\operatorname{gcd}(b, n)=d ?$ Answer: $d$. There is a single solution for $y=a / d(\bmod m / d)$ and $y=b / d(\bmod n / d)$, and $x=$ $y d+i m n / d(\bmod m n)$ for $i \in\{0, \ldots, d-1\}$ satisfies $x=a(\bmod m)$ and $x=b(\bmod n)$ as $m n / d=0$ $(\bmod m)$ and $m n / d=0(\bmod n)$. Any $z=0 \bmod m$ and $z=0(\bmod n)$ implies that $z$ is a multiple of $m n / d$, these are the only solutions.
I am not seeing why there is a single solution for $y=a / d\pmod {m / d}$ and $y=b / d\pmod {n / d}$, as $m \over d$ and $n \over d$ don't seem necessarily coprime, as they could have other factors in common besides $d$, so eliminating $d$ doesn't seem to put us in a position where we could use CRT to conclude a unique solution here. What basis do we have to conclude that there exists a single solution here?
$$\quad\ \begin{align} x \equiv a!!!\pmod{! m}, &\equiv, {, a + k:!m}_{,\large 0\le k<\color{darkorange}d}!!\pmod{!dm}\[.3em] &\equiv, {a,,\ a! +! m,,\ldots,, a! +! (\color{darkorange}d!-!1)m} \end{align}\qquad$$
– Bill Dubuque Sep 30 '23 at 21:39$$ \overbrace{3x\equiv 6!!!!\pmod{!12}}^{{\rm\large cancel}\ \ \Large (3,12),=,\color{darkorange}3}\iff x\equiv 2!!!!\pmod{!4},\equiv, !!!!!!!!!!!!!!!!!!\overbrace{{2,6,10}}^{\qquad\ \ \Large{ 2,+,4k}_{\ \Large 0\le k< \color{darkorange}3}}!!!!!!!!!!!!!!!!!!!!!!\pmod{!\color{darkorange}3\cdot 4}\qquad $$ See also here.
– Bill Dubuque Sep 30 '23 at 21:41