CRT for Rings
Statement
Let be a commutative ring and ideals that are pairwise coprime: for all .
Chinese Remainder Theorem (ring version). There is a ring isomorphism
The classical case: , with for , gives .
Visualization
Example: .
Ideals and in are coprime: .
| element of | |||
|---|---|---|---|
Reconstruction (CRT lift). Given , find .
Step 1: Need and .
Step 2: Bezout: . So , and , .
Step 3: .
Proof Sketch
-
Define the map. Let by . This is a ring homomorphism.
-
Surjectivity. Given , use pairwise coprimality to find idempotents with and for (via Bezout in ). Then maps to .
-
Kernel is . An element maps to iff for all , i.e., . By pairwise coprimality, (the product ideal).
-
First Isomorphism Theorem gives .
Connections
The number-theoretic Chinese Remainder TheoremChinese Remainder TheoremSimultaneous congruences with coprime moduli have a unique solution mod their productRead more → is the special case . The ring version generalises it to arbitrary commutative rings and gives Fundamental Theorem of ArithmeticFundamental Theorem of ArithmeticEvery integer greater than 1 has a unique prime factorizationRead more → a structural home: when .
Lean4 Proof
-- Mathlib: Ideal.quotientInfRingEquivPiQuotient
-- in Mathlib.RingTheory.Ideal.Quotient.Operations
open Ideal in
/-- CRT for rings: if ideals are pairwise coprime, the quotient by their
intersection is isomorphic to the product of the individual quotients. -/
#check @Ideal.quotientInfRingEquivPiQuotient
-- quotientInfRingEquivPiQuotient :
-- ∀ {R : Type u_1} [inst : CommRing R] {ι : Type u_2} (f : ι → Ideal R),
-- (∀ i j, i ≠ j → f i ⊔ f j = ⊤) →
-- R ⧸ ⨅ i, f i ≃+* ∀ i, R ⧸ f i
/-- Concrete instance: ℤ/15 ≅ ℤ/3 × ℤ/5. -/
example : ZMod 15 ≃+* ZMod 3 × ZMod 5 :=
(ZMod.chineseRemainder (by norm_num)).toRingEquiv