where the βs are relatively prime and the βs are relatively prime. Consequently,
where is the product of and expressed in lowest terms. Hence,
If then since is a monic polynomial. Hence, either or If then either or In the first case where and are monic polynomials with and In the second case and are the correct monic polynomials since The case in which can be handled similarly.
Now suppose that Since there exists a prime such that and Also, since the coefficients of are relatively prime, there exists a coefficient such that Similarly, there exists a coefficient of such that Let and be the polynomials in obtained by reducing the coefficients of and modulo Since in However, this is impossible since neither nor is the zero polynomial and is an integral domain. Therefore, and the theorem is proven.