Structure theorem for finitely generated modules over a PID
ProvedFamousTheorems.structure_theorem_pidThe structure theorem for finitely generated modules over a principal ideal domain.
Every finitely generated module over a PID decomposes as
with the free rank and each irreducible.
A free part plus a torsion part, and the torsion part splits into primary cyclic pieces. This single statement specialises to two of the most-used classification theorems in algebra: over it is the classification of finitely generated abelian groups, and over applied to a vector space made into a -module by a linear operator it yields rational and Jordan canonical forms, with the becoming elementary divisors.
Principality is what makes it work — the same statement fails over or , where finitely generated modules can be far more complicated. The invariants ( and the multiset of ) are uniquely determined, though that uniqueness is a separate statement from the existence asserted here.
Formalization note. Fin n →₀ R is the free module of rank n, ⨁ is the direct sum,
and R ∙ p i ^ e i is the ideal generated by . The result is Mathlib's
Module.equiv_free_prod_directSum.
import Mathlib
namespace FamousTheorems
universe u v
open Filter Set Topology DirectSum
theorem structure_theorem_pid {R : Type u} [CommRing R] [IsPrincipalIdealRing R] [IsDomain R]
(M : Type v) [AddCommGroup M] [Module R M] [Module.Finite R M] :
∃ (n : ℕ) (ι : Type u) (_ : Fintype ι) (p : ι → R) (_ : ∀ i, Irreducible <| p i) (e : ι → ℕ),
Nonempty <| M ≃ₗ[R] (Fin n →₀ R) × ⨁ i : ι, R ⧸ R ∙ p i ^ e i := by sorry
end FamousTheorems