The proof consists of three parts.
Existence of a solution for k = 1 or 2.
Existence of a solution for k > 2.
and
For a solution of both congruences we therefore have
i.e.,
Since gcd(m1,m2) = 1 there exist integers p1, p2 such that
Therefore, a solution of both congruences is
has a solution, a say. Now consider the system of two congruences:
x = a mod m1m2 ··· mk - 1,
x = ak mod mk.
The numbers m1m2 ··· mk - 1 and mk are relatively prime, so the case k = 2 tells us that this system has a solution. This solution is also a solution of the original system.