Proof (Chinese remainder theorem for modules)

Consider $$ \begin{align*} ϕ: R/(a) \oplus R/(b) &\to R/(ab) \\ (r_1 + (a), r_2 + (b)) &\mapsto br_2 + ar_1 + (ab). \end{align*} $$

To see $ϕ$ is well-defined, suppose $r_1+(a) = r_1'+(a)$ and $r_2+(b) = r_2' + (b)$. Then $r_1' = r_1 + az$ and $r_2' = r_2 + bw$ for some $z,w\in R$. By computation, $$ \begin{align*} br_2' + ar_1' + (ab) = br_2 + ar_1 + \underbrace{abz + abw}_{\in (ab)} + (ab) = br_2 + ar_1 + (ab). \end{align*} $$

This is a $R$-module homomorphism.

For surjectivity, by Bézout identity, there exists $a,b\in R$ such that $br_2 + ar_1 = 1$, and note that $R/(ab)$ is generated by $1 + (ab)$.

For injectivity, we will show $\ker(ϕ)$ is trivial. If $br_2 + ar_1 \in (ab)$, then $a\mid br_2 + ar_1$ and thus $a\mid br_2$. Because $a$ and $b$ are coprime, the prime factors of $a$ and $b$ are disjoint, so by unique factorisation, $a\mid r_2$. Similarly $b\mid r_1$ as claimed.

Thus $ϕ$ is an isomorphism.