Euclidean Domain
Statement
A Euclidean domain is an integral domain equipped with a norm function such that for every and , there exist with
Examples:
- with : ordinary integer division.
- for a field with : polynomial long division.
- (Gaussian integers) with : Euclidean for Gaussian integers.
Key fact: Every Euclidean domain is a PID (principal ideal domain).
Visualization
Division in with : divide by .
Step 1: Compute in :
Step 2: Round to nearest Gaussian integer: .
Step 3: Compute remainder: .
Step 4: Check : . Division algorithm holds.
| Step | Value |
|---|---|
| , | |
| in | |
| (rounded) | |
| , | |
| Check ? | ✓ |
Proof Sketch
Every Euclidean domain is a PID:
-
Let be a non-zero ideal. Pick with minimal.
-
For any , write with or .
-
Since and is an ideal, .
-
By minimality of , if then , contradiction. So and .
-
Therefore is principal. Every ideal is principal, so is a PID.
Connections
The Euclidean domain property powers the Euclidean AlgorithmEuclidean AlgorithmThe oldest surviving algorithm, computing the greatest common divisor via iterated remaindersRead more → for computing GCDs. The chain Euclidean PID UFD (see PID Implies UFDPID Implies UFDEvery principal ideal domain is a unique factorisation domain: elements factor uniquely into irreducibles up to units and order.Read more →) explains why has unique prime factorisation. The same norm argument drives polynomial division in Polynomial Division AlgorithmPolynomial Division AlgorithmFor any polynomial f and monic g, there exist unique q and r with f = qg + r and deg r < deg g.Read more →.
Lean4 Proof
-- Mathlib: Int.euclideanDomain
-- in Mathlib.Algebra.EuclideanDomain.Int (line 20)
-- Mathlib: EuclideanDomain.to_principal_ideal_domain
-- in Mathlib.RingTheory.PrincipalIdealDomain (line 265)
/-- ℤ is a Euclidean domain with norm N(n) = |n|. -/
#check (Int.euclideanDomain : EuclideanDomain ℤ)
/-- Every Euclidean domain is a PID. -/
example (R : Type*) [EuclideanDomain R] : IsPrincipalIdealRing R :=
EuclideanDomain.to_principal_ideal_domainReferenced by
- Polynomial Division AlgorithmRing Theory
- PID Implies UFDRing Theory