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.
- finitely generated abelian groups
- free abelian groups
- torsion
- cyclic prime-power groups
- direct sums
- additive equivalence
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.
Finitely Generated Abelian Groups — free rank and prime-power torsion

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
This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.
A finitely generated abelian group separates into free and prime-power parts

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
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.
- The selected declaration proves existence of a decomposition, not uniqueness or canonicity.
- It does not order, merge, or require distinct prime-power factors.
- The formal endpoint is an additive equivalence, not literal definitional equality of types.
- It provides no algorithm for extracting the factors from a presentation.
- ProofAtlas is indexing an existing Mathlib theorem, not claiming new mathematics.
Source and local evidence
Where the theorem comes from
- Existing declaration
AddCommGroup.equiv_free_prod_directSum_zmodin mathlib- Relationship
- The checked artifact is the upstream declaration itself
- Local Lean evidence
artifact.library.mathlib.finitely-generated-abelian-groups.v001