Present a finitely generated abelian group as the cokernel of an integer matrix . Changing by the invertible row and column operations used in its Smith normal form does not change the isomorphism type of the cokernel. If
then
where factors with may be omitted. This is the Fundamental theorem of finitely generated abelian groups; the rank of an abelian group and invariant factors are unique.