Theorem (PID is UFD)

If $R$ is a principal ideal domain, then $R$ is a unique factorisation domain.

Proof