Exercise from Algebra, Chapter $0$ by Aluffi:
Prove
using this proposition:
I'm totally lost as to how to begin. How would we relate finite abelian groups to this theorem dealing with matrices over a Euclidean Domain?
My only guess to start would be to let $R=\mathbb Z$ (since abelian groups are $\mathbb Z$-modules). I know also that $M_{m,n}(\mathbb Z) \cong \mathrm{Hom}_{\mathbb Z-\mathrm{Mod}}(\mathbb Z^n, \mathbb Z^m)$ (which is itself a $\mathbb Z$-module).
Am I on the right track? Any ideas on how to go about this?


Suppose $G$ is a finitely generated abelian group, generated by $m$ elements. Then it's a quotient of $\Bbb Z^m$, since $\Bbb Z^m$ is the free abelian group on $m$ generators. Next, the kernel of $\Bbb Z^m\to G$ is again a free abelian group, since every submodule of a free module over a PID is again free. So we can write a presentation for our group as $\Bbb Z^n\to \Bbb Z^m\to G$, and now we get to apply the theorem to the matrix which represents the first map.
Knowing this, see if you can figure out how to apply it for our situation of finite $G$. I'll leave the full answer in the following spoiler: