01.03.02 · foundations / rings-modules

Modules over a PID and the structure theorem

shipped3 tiersLean: none

Anchor (Master): Lang Algebra §III.7; Bourbaki Algebra Ch. VII; Hungerford Algebra §IV.9

Intuition Beginner

Some rings have a tidy property: every ideal inside them is generated by a single element. The integers are the model, since every collection closed under integer multiples is just the multiples of one number, like all multiples of . Such rings are called principal ideal domains, or PIDs for short.

A module over a ring is like a vector space whose scalars come from the ring instead of a field 01.03.01. Over a PID, any module built from finitely many generators always breaks into clean blocks: a few free copies of the ring (plain number lines) plus some looping torsion pieces, each tied to one divisor.

This block list is a complete census: two such modules give the same blocks exactly when they are the same module. Two famous payoffs follow. The same census classifies every finitely generated abelian group (the integers form a PID), and it produces the Jordan normal form of a matrix (via polynomials over a field).

Visual Beginner

A finitely generated module over a PID splits into two kinds of blocks.

The free part is a stack of plain number lines; the torsion part is a chain of looping blocks, each labelled by a divisor that divides the next.

 M  =   R + R + R        (d1) -> (d2) -> ... -> (dk)
        \____ ____/       \_____ _____/
             v                  v
         free part          torsion part
                         d1 divides d2 divides ... divides dk

Worked example Beginner

Take the cyclic group of order . Its order factors as , and the factors and share no common divisor larger than .

Step 1. Split the order along coprime factors: .

Step 2. The group of order is the group of order together with the group of order .

Step 3. Check the sizes multiply: , matching the original.

What this tells us: a cyclic group splits along coprime factors of its order. This is the integer shadow of the structure theorem — the divisors of the general theorem show up here as the prime-power pieces of a finite cyclic group.

Check your understanding Beginner

Formal definition Intermediate+

A principal ideal domain is an integral domain in which every ideal is principal, that is, of the form for some [Lang §III.7]. The prototypes are and the polynomial ring over a field 01.02.07.

Let be an -module, where is commutative with 01.03.01. A subset generates if every element of is an -linear combination of elements of ; is finitely generated if some finite generates it. The module is free if it admits a basis, that is, a linearly independent generating set; the cardinality of any basis is the rank , well defined over a commutative ring.

An element is a torsion element if for some nonzero . The torsion elements form a submodule , the torsion submodule; is a torsion module if and is torsion-free if .

A presentation matrix of a finitely generated module is any matrix over obtained as follows: choose a finite generating set of elements, lift it to a surjection , let , and choose generators of ; the inclusion is then a matrix , and . Different choices of generators change by left and right multiplication by invertible matrices.

Given a decomposition with each a nonzero non-unit and , the elements are the invariant factors of . Factoring each into prime powers (up to units) and splitting each cyclic factor via the Chinese remainder theorem yields the elementary divisors .

Counterexamples to common slips

  • Submodules of free modules need not be direct summands over an arbitrary ring. Over , the submodule has no complement. The structure theorem arranges the obstruction into the torsion part.
  • Not every finitely generated module is free, even over a PID. The -module is torsion and admits no basis.
  • Presentation matrices are not unique. The matrix and present isomorphic modules over ; Smith normal form reconciles them.

Key theorem with proof Intermediate+

Theorem (Structure theorem for finitely generated modules over a PID). Let be a PID and let be a finitely generated -module. Then there exist a nonnegative integer and nonzero non-unit elements with such that

The integer and the elements (each determined up to multiplication by a unit of ) are uniquely determined by [Jacobson §3.9].

Proof (existence, via Smith normal form). Choose generators of and lift them to a surjection sending the -th standard basis vector to . Let . A PID is Noetherian, so the submodule is finitely generated; pick generators . Expressing each in the standard basis of records the inclusion as an matrix with entries in , and the sequence

is exact. Thus .

Smith normal form over a PID. By elementary row and column operations — equivalently, by multiplying on the left and right by invertible matrices over — the matrix can be brought to a diagonal form with each nonzero and . The reduction proceeds by induction on the dimensions: at each stage, move an entry of smallest nonzero valuation into the position, use it to clear the first row and column, and recurse on the remaining block. Column operations replace the chosen generators of ; row operations replace the chosen generators of ; neither changes the isomorphism type of the module being presented.

Reading off the diagonal presentation gives the module as a combination of cyclic pieces: each nonzero diagonal entry contributes a copy of , and each zero on the diagonal contributes a free copy of . With nonzero diagonal entries, this yields

Discarding any that is a unit — for which — and renaming, one obtains with and each a nonzero non-unit.

Uniqueness (sketch). The free rank is recovered as , where , an invariant of . For the invariant factors, the product equals, up to a unit, the greatest common divisor of all minors of any presentation matrix — the -th determinantal divisor — and these divisors are unchanged by row and column operations, hence depend only on . Recovering pins each invariant factor down up to a unit. The determinantal argument is given in full in the Full proof set below.

Bridge. This decomposition builds toward 01.01.11 (Jordan canonical form), where the same theorem applied to the -module defined by a linear operator produces the Jordan blocks, and it appears again in 01.02.01 (abelian groups) as the classification of every finitely generated abelian group via the case . The foundational reason one theorem governs both outcomes is that a single linear operator and a finitely generated abelian group are instances of the same object — a finitely generated module over a PID; this is exactly the unification that makes the structure theorem the load-bearing classification of elementary algebra, and the bridge is that every finitely generated linear-algebraic or group-theoretic situation over a PID reduces to reading a single diagonal matrix.

Exercises Intermediate+

Lean formalization Intermediate+

lean_status: none is recorded because the Codex project has not yet built a local module exposing the invariant-factor decomposition and its two application specialisations. Mathlib already supplies the typeclass infrastructure: IsPrincipalIdealDomain, the finite-generation hierarchy for modules, and Smith normal form for matrices in Mathlib.LinearAlgebra.Matrix.SmithNormalForm. The remaining work is local naming and the curriculum-internal bridge to the consumers in 01.01.11 and 01.02.01.

Advanced results Master

The structure theorem has two standard shapes, related by the Chinese remainder theorem. In invariant-factor form the torsion part is with . In elementary-divisor form, each is factored into prime powers and each cyclic factor is split as whenever the are pairwise coprime. The elementary divisors are the multiset of prime powers ; they classify the torsion part just as completely as the invariant factors. Passing between the two forms is pure arithmetic: regroup coprime prime powers into invariant factors by multiplying the largest remaining powers at each stage [Hungerford §IV.9].

A structural fact that underlies the whole theory: over a PID, a finitely generated module is torsion-free if and only if it is free. The forward direction is nontrivial and is proved in the Full proof set via the lemma that submodules of free modules over a PID are free. Over a general integral domain this fails — for instance, the ideal in is torsion-free but not free — so the PID hypothesis is essential.

The two canonical applications spell out the same theorem twice. Taking classifies finitely generated abelian groups: every such group is with 01.02.01. Taking for a field classifies a linear operator on a finite-dimensional vector space : turning into a -module via , the structure theorem returns the rational canonical form, and the elementary-divisor version returns the Jordan canonical form over an algebraically closed field 01.01.11. The minimal polynomial is the largest invariant factor; the characteristic polynomial is the product of all invariant factors.

Smith normal form is also a genuine algorithm. Given an integer matrix, each reduction step lowers the entries and terminates; the resulting diagonal entries are computable in polynomial time using extended gcd operations. This makes the structure theorem effective for computing the homology of a chain complex of finitely generated free abelian groups, a step that recurs throughout algebraic topology 01.06.01.

Synthesis. The structure theorem builds toward the linear-algebra classifications of 01.01.11 and the homological machinery of 01.06.01, it appears again in 01.02.01 as the census of finitely generated abelian groups, the foundational reason is that a PID is precisely the threshold at which finitely generated modules admit a unique diagonal presentation, this is exactly the content of Smith normal form, the torsion-free-implies-free lemma generalises to the classification of finitely generated projective modules over Dedekind domains in 01.05.01, and the bridge is that invariant factors and elementary divisors are two faces of one diagonalisation, so the same row-and-column reduction underlies both the abelian-group census and the canonical form of a matrix; putting these together, finitely generated module theory over a PID is the single engine behind the classification theorems of elementary algebra.

Full proof set Master

Lemma (Submodules of free modules over a PID are free). Let be a PID and let be a submodule. Then is free of rank at most .

Proof. By induction on . For , a submodule of is an ideal, hence principal, so for some ; since is a domain, via multiplication by when , and otherwise, giving rank at most .

For the step, let be projection onto the first coordinate. Then is an ideal of , and is a submodule of , hence free of rank at most by the induction hypothesis. The sequence

is exact. The ideal is free (it is either or isomorphic to , since is a domain), so the sequence splits, giving , a free module of rank at most .

Proposition (Torsion-free implies free over a PID). Let be a PID and let be a finitely generated torsion-free -module. Then is free.

Proof. Let . The scalar extension is a finite-dimensional -vector space; set . The natural map is injective because is torsion-free: if , then is killed by some nonzero scalar, contradicting torsion-freeness. Choose a -basis of the image and lift each basis vector to an element of ; clearing denominators (multiplying each lift by a suitable nonzero element of ) embeds into a free -module for some . By the lemma, , as a submodule of , is free.

Proposition (Uniqueness of the invariant factors). The free rank and the invariant factors are uniquely determined by up to multiplication by units.

Proof. The free rank is an invariant of . For the invariant factors, fix any presentation and, for each , let be the ideal generated by all minors of , the -th determinantal ideal (with ). A row or column operation changes each by multiplication by a unit at most, since elementary matrices have unit determinant; hence depends, up to units, only on the module .

Bring to Smith normal form . For , the minors of have gcd equal to , so ; for , all minors vanish, so . Therefore each product is determined up to a unit, and recovering

(with ) determines each invariant factor up to a unit of .

Connections Master

  • Jordan and rational canonical form 01.01.11. A linear operator on a finite-dimensional vector space is exactly a finitely generated module over the PID , and the structure theorem returns the rational canonical form (invariant factors) and the Jordan form (elementary divisors); the minimal polynomial is the largest invariant factor and the characteristic polynomial is their product.

  • Finitely generated abelian groups 01.02.01. Specialising to turns the structure theorem into the classification of finitely generated abelian groups as ; this is the prototype from which the module-theoretic statement was historically abstracted.

  • Homological algebra 01.06.01. Smith normal form is the effective tool for computing the homology of a chain complex of finitely generated free abelian groups: each boundary matrix is reduced to diagonal form, and the torsion in homology is read off from the non-unit diagonal entries.

  • Commutative algebra over Dedekind domains 01.05.01. Beyond a PID, the torsion-free-implies-free lemma degrades to torsion-free-implies-projective over a Dedekind domain, and finitely generated projective modules are then classified by their rank together with an element of the class group.

Historical & philosophical context Master

The diagonal reduction of an integer matrix by row and column operations is due to Henry John Stephen Smith, whose 1861 paper On systems of linear indeterminate equations and congruences introduced what is now called Smith normal form [Smith 1861]. The group-theoretic counterpart — the classification of finite abelian groups as products of cyclic groups — was established by Frobenius and Stickelberger in their 1879 paper Ueber Gruppen von vertauschbaren Elementen [Frobenius-Stickelberger 1879].

The recognition that the abelian-group theorem and the Jordan-form theorem are instances of a single statement about modules over a PID is the contribution of the modern algebra synthesis of Noether, Krull, and van der Waerden in the 1920s and 1930s. The module concept, by replacing the two parallel theories of abelian groups and of linear operators with one theory of modules over a ring, produced the unification that the structure theorem expresses. The contemporary route via presentation matrices and Smith normal form, used in this unit, is the form fixed by Jacobson and Bourbaki in the mid-twentieth-century textbooks [Jacobson §3.9].

Bibliography Master

  1. H. J. S. Smith, On systems of linear indeterminate equations and congruences, Philos. Trans. Roy. Soc. London 151 (1861), 293–326.

  2. G. Frobenius and L. Stickelberger, Ueber Gruppen von vertauschbaren Elementen, J. reine angew. Math. 89 (1879), 181–199.

  3. N. Jacobson, Basic Algebra I, 2nd ed., W. H. Freeman, New York, 1985, §3.8–3.9.

  4. S. Lang, Algebra, 3rd ed., Graduate Texts in Mathematics 211, Springer, 2002, §III.7.

  5. T. W. Hungerford, Algebra, Graduate Texts in Mathematics 73, Springer, 1974, §IV.2, §IV.9.

  6. D. S. Dummit and R. M. Foote, Abstract Algebra, 3rd ed., John Wiley and Sons, 2004, §12.1, §12.3.

Unit 01.03.02. Produced for the §01 algebra depth fill.