Induct on to prove the stronger assertion that any submodule is a free module of rank of a free module at most . For this is immediate. Project onto the first coordinate by . Its image is an ideal of the principal ideal domain, so .
If , then embeds in the remaining coordinates and the induction hypothesis applies. Otherwise choose with . Put , a submodule of , which is free by induction. For every , there is with , so . If , then ; the integral domain property and give . Therefore
Appending to a basis of proves that is a free module of rank of a free module at most . This proof of the submodule theorem for free modules over a principal ideal domain does not assume in advance that is a finitely generated module.
A subset freely generates when every has a unique expression
with and only finitely many nonzero coefficients. Equivalently, is a basis of a module and is the free module on .
If freely generates and is any function, define
Unique coordinates make well defined; it is an -module homomorphism and is the only extension of . Conversely, apply the proposed universal property to the free module and the inclusion of into . It gives maps and extending the corresponding functions on . Uniqueness makes both composites identity maps, so and freely generates . This is the universal property of a free module.
Now let generate the free module and . Choose a maximal ideal of the nontrivial ring . Then is a field, and
is a -vector space. The images of a basis of form a vector-space basis, while the images of span it. Therefore
In particular is finite. Applying this result in both directions to two finite bases shows that they have equal cardinality, the rank of a free module .
A Euclidean domain is a principal ideal domain. By the submodule theorem for free modules over a principal ideal domain, every submodule of the finite-rank free module is free. Since a basis of generates it, the preceding inequality applied in the standard proof gives
The primary decomposition theorem for finitely generated modules over a principal ideal domain states that
where ranges over finitely many nonassociate irreducibles and the positive exponents are uniquely determined up to order. Equivalently, the torsion part decomposes into its primary cyclic summands.
Let be a finite subgroup of the multiplicative group of a field. It is a finite abelian group, hence the theorem over gives an invariant-factor decomposition
Its exponent is , so every element of is a root of . A degree- polynomial over a field has at most roots, whence
But , and equality forces all earlier factors to be trivial. Thus
If (i) holds, the submodule theorem for free modules over a principal ideal domain says that any submodule is free. Its rank is at most , since tensoring the inclusion with embeds into . Hence has at most generators, proving (iv).
Conversely, apply (iv) with . Every ideal is an -submodule of and therefore has one generator, which is (i). Thus all four conditions are equivalent.
We prove by induction on that every submodule is free. The case is immediate. Let be projection onto the first coordinate. Since is a principal ideal domain,
for some . If , then and induction applies. Otherwise choose with . For every , write ; then . Also because is a domain and . Therefore
The kernel is a submodule of and is free by induction, while . Hence is free. This is the submodule theorem for free modules over a principal ideal domain.
If is finitely generated and projective, choose a surjection . Projectivity supplies with , so
Thus is a submodule of the finitely generated free module , and the result just proved shows that is free.