Proposition 7
Tag 074D, permanent. Cite it as [Bourbaki, Tag 074D].
Algebra, chapter VII, § 4. Finitely generated modules over a principal ideal domain
— Let be a commutative ring, let be a prime ideal of (I, p. 117, Def. 3), and let be an ideal of contained in . Suppose that for every there exists an integer such that . Then the -module is indecomposable.
Let and be two ideals of , such that and . Then ; if and , then , so (I, p. 316, Prop. 4); hence either or . Suppose for example that , so ; then there exist and such that ; let be such that ; then . so , so . Lemma 2 now shows that is indecomposable.
Now suppose that is a principal ideal domain; by VII, p. 2, Prop. 2, the prime ideals of are the ideals , where is an irreducible element of , and the ideal ; by the previous proposition, the modules and , for irreducible and , are indecomposable. Since every cyclic module is a direct sum of modules of this type (VII, p. 3, Prop. 4) and since every finitely generated -module is a direct sum of cyclic modules (VII, p. 19, Th. 2), we deduce:
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.