Theorem 1
Tag 072C, permanent. Cite it as [Bourbaki, Tag 072C].
Algebra, VII, p. 8, § 2. Torsion modules over a principal ideal domain
Let M be a torsion module over a principal ideal domain A; for each irreducible element of A, let be the submodule of M consisting of elements annihilated by some power of . If P is a system of representatives of irreducible elements of A, then M is the direct sum of its submodules for . Every element belongs to the submodule for some , so by Lemma 1 is a sum of a finite number of elements, each of which belongs to some submodule . On the other hand, if , where for all , and where all but finitely many of the and are zero, then Lemma 2 shows that there exists in A such that all the and belong to the same submodule ; applying Lemma 1 to shows that for all , which completes the proof.
Clearly, if and are two associate irreducible elements, then ; thus, for a given module M, the submodule depends only on the ideal of A; it is called the rr-primary component of the module M, and the decomposition of M as a direct sum of the is called the canonical decomposition of M as a direct sum of its rr-primary components.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.