I am following a proof of an RSA algorithm and the proof states the following:
$p_1$ and $p_2$ are distinct primes, $a \equiv b \pmod{p_1}$ and $a \equiv b \pmod{p_2} \Rightarrow a \equiv b \pmod{p_1\times p_2}$. Let's call that FACT X.
can someone give me a proof for this. i have no formal mathematical training so a detailed proof will be much appreciated.