Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Algebra

Structure Theorem for Finitely Generated Abelian Groups

Every finitely generated abelian group has the same additive structure as a finite-rank free integer group together with finitely many cyclic groups whose orders are prime powers.

Exact theorem

Exact Mathlib statement

theorem AddCommGroup.equiv_free_prod_directSum_zmod (G : Type u) [AddCommGroup G] [hG : AddGroup.FG G] : ∃ (n : ℕ) (ι : Type) (_ : Fintype ι) (p : ι → ℕ) (_ : ∀ i, Nat.Prime (p i)) (e : ι → ℕ), Nonempty (G ≃+ (Fin n →₀ ℤ) × ⨁ i : ι, ZMod (p i ^ e i))

The theorem at a glance

Finitely Generated Abelian Groups — free rank and prime-power torsion

A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.

Finite generation forces an additive equivalence with a finite-rank free integer part and finitely many cyclic prime-power components. Explanatory diagram.
Detailed visual description

The exact existential decomposition identifies a natural number n, a finite index type, primes pᵢ, exponents eᵢ, and an additive equivalence. The checked route applies the finitely generated module structure theorem over the integers and converts cyclic quotient modules into ZMod prime-power factors.

Statement structure

From hypotheses to conclusion

Statement map for Structure Theorem for Finitely Generated Abelian GroupsEvery finitely generated abelian group decomposes into a finite-rank free part and finitely many cyclic prime-power parts. The pinned upstream declaration is AddCommGroup.equiv_free_prod_directSum_zmod. The exact checked statement is theorem AddCommGroup.equiv_free_prod_directSum_zmod (G : Type u) [AddCommGroup G] [hG : AddGroup.FG G] : ∃ (n : ℕ) (ι : Type) (_ : Fintype ι) (p : ι → ℕ) (_ : ∀ i, Nat.Prime (p i)) (e : ι → ℕ), Nonempty (G ≃+ (Fin n →₀ ℤ) × ⨁ i : ι, ZMod (p i ^ e i)).Mathematical readingEvery finitely generatedabelian group decomposesinto a finite-rank freepart and finitely manycyclic prime-powerparts.Pinned declarationmathlib ·AddCommGroup.equiv_free_prod_directSum_zmodExact checked formtheoremAddCommGroup.equiv_free_prod_directSum_zmod(G : Type u)[AddCommGroup G] [hG :AddGroup.FG G] : ∃ (n :ℕ) (ι : Type) (_ :Fintype ι) (p : ι → ℕ)(_ : ∀ i, Nat.Prime (pi)) (e : ι → ℕ),Nonempty (G ≃+ (Fin n →₀ℤ) × ⨁ i : ι, ZMod (p i^ e i))Statement map for Structure Theorem for Finitely Generated Abelian GroupsEvery finitely generated abelian group decomposes into a finite-rank free part and finitely many cyclic prime-power parts. The pinned upstream declaration is AddCommGroup.equiv_free_prod_directSum_zmod. The exact checked statement is theorem AddCommGroup.equiv_free_prod_directSum_zmod (G : Type u) [AddCommGroup G] [hG : AddGroup.FG G] : ∃ (n : ℕ) (ι : Type) (_ : Fintype ι) (p : ι → ℕ) (_ : ∀ i, Nat.Prime (p i)) (e : ι → ℕ), Nonempty (G ≃+ (Fin n →₀ ℤ) × ⨁ i : ι, ZMod (p i ^ e i)).Mathematical readingEvery finitely generatedabelian group decomposesinto a finite-rank freepart and finitely manycyclic prime-powerparts.Pinned declarationmathlib ·AddCommGroup.equiv_free_prod_directSum_zmodExact checked formtheoremAddCommGroup.equiv_free_prod_directSum_zmod(G : Type u)[AddCommGroup G] [hG :AddGroup.FG G] : ∃ (n :ℕ) (ι : Type) (_ :Fintype ι) (p : ι → ℕ)(_ : ∀ i, Nat.Prime (pi)) (e : ι → ℕ),Nonempty (G ≃+ (Fin n →₀ℤ) × ⨁ i : ι, ZMod (p i^ e i))

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

Every finitely generated abelian group is additively equivalent to a finite free integer part times finitely many cyclic prime-power parts. Explanatory diagram.
Detailed visual description

A unified commutative group structure separates into an unbounded integer lattice and finitely many closed cyclic components, each organized around one prime-power order. The relationship is drawn as an invertible equivalence rather than as literal equality or a canonical disassembly.

Why it matters

A mathematical landmark

The structure theorem turns every finitely generated abelian group into explicit free and prime-power building blocks. It is a central classification result linking group theory, modules over principal ideal domains, and arithmetic.

ProofAtlas record

What has been checked

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

Mathlib is the source of the theorem; the local Lean replay and page review are separate.

Claim boundary

No new theorem is claimed

This target indexes Mathlib's existence theorem: a finitely generated additive commutative group is additively equivalent to a finite-rank free integer part times a finite direct sum of cyclic prime-power groups. This declaration does not assert uniqueness, canonical factors, invariant-factor ordering, or an algorithm for computing the decomposition.

Source and local evidence

Where the theorem comes from

Existing declaration
AddCommGroup.equiv_free_prod_directSum_zmod in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.finitely-generated-abelian-groups.v001
Source
Open the pinned upstream reference