PID Implies UFD
Statement
A principal ideal domain (PID) is an integral domain in which every ideal is principal (generated by a single element). A unique factorisation domain (UFD) is an integral domain in which every non-zero non-unit factors into irreducibles uniquely up to order and associates.
Theorem. Every PID is a UFD.
Examples: , for a field , and the Gaussian integers are PIDs (hence UFDs).
Visualization
The Gaussian integers form a PID. Factor :
2 = (1+i)(1-i)
= -i · (1+i)^2 [since 1-i = -i(1+i)]
Norm check: , so . The element is irreducible in (its norm is prime in ).
| Factorisation | Notes |
|---|---|
| both irreducible, norms | |
| is a unit (norm ) | |
| so | unique up to units |
Any other factorisation of in is obtained by multiplying factors by units .
Proof Sketch
-
Every irreducible is prime. In a PID, if and , then for some . Since is irreducible, is a unit, so . Write , then ; since , we get . So is prime.
-
Existence of factorisations. A PID is Noetherian (all ideals are finitely generated — trivially, by one element). In a Noetherian domain, every non-zero non-unit has an irreducible factorisation: if is not irreducible, write and continue; this cannot go on indefinitely by the ascending chain condition on ideals .
-
Uniqueness. Since every irreducible is prime (step 1), uniqueness of factorisation follows by the standard argument: if , then divides some ; since is irreducible, and are associates. Cancel and induct.
Connections
The chain Euclidean domain PID UFD is the backbone of commutative algebra; see Euclidean DomainEuclidean DomainA domain with a division algorithm: any a, b give a = qb + r with r smaller than b under a norm function.Read more → for the first implication. UFD structure is what makes Gauss's Lemma (Polynomial)Gauss's Lemma (Polynomial)The product of primitive polynomials is primitive; irreducibility over a UFD transfers to irreducibility over its fraction field.Read more → work: the content map is multiplicative precisely when is a UFD.
Lean4 Proof
-- Mathlib: IsPrincipalIdealRing.to_uniqueFactorizationMonoid
-- in Mathlib.RingTheory.PrincipalIdealDomain (line 344)
/-- Every PID is a UFD.
Mathlib provides this as an automatic instance. -/
example (R : Type*) [CommRing R] [IsDomain R] [IsPrincipalIdealRing R] :
UniqueFactorizationMonoid R :=
inferInstanceReferenced by
- Hilbert Basis TheoremRing Theory
- Eisenstein's CriterionRing Theory
- Euclidean DomainRing Theory
- Gauss's Lemma (Polynomial)Ring Theory