Let $m$ and $n$ be two nonnegative integers. Assume that there is a group isomorphism $\mathbb{Z}^m \cong \mathbb{Z}^n$. Prove that $m = n$.
I tried using a contrapositive, ($m \neq n$ implies $\mathbb{Z}^m \ncong \mathbb{Z}^n$), and I think the problem is that there won't be a homomorphism, but did not get anywhere. Is there a better approach to this problem?
Once again, I'll give you the outline, you fill in the details.
Suppose that $\mathbb{Z}^m\cong\mathbb{Z}^n$. Then, you see that $\mathbb{Z}^m\otimes_{\mathbb{Z}}\mathbb{Z}_2\cong\mathbb{Z}^n\otimes_{\mathbb{Z}}\mathbb{Z}_2$, which tells you that $\mathbb{Z}_2^m\cong\mathbb{Z}_2^n$, and so $2^m=2^n$--thus $m=n$.
EDIT: Since you don't know tensor products, perhaps this will be more understandable. If $\mathbb{Z}^m\cong\mathbb{Z}^n$, then $\text{Hom}_\mathbb{Z}(\mathbb{Z}^m,\mathbb{Q})\cong\text{Hom}_\mathbb{Z}(\mathbb{Z}^n,\mathbb{Q})$ as $\mathbb{Q}$-vector spaces. But, you can prove that as $\mathbb{Q}$-vector spaces one has that $\text{Hom}_\mathbb{Z}(\mathbb{Z}^k,\mathbb{Q})\cong\mathbb{Q}^k$, and so we have $\mathbb{Q}^m\cong\mathbb{Q}^n$, from where normal vector space theory tells us that $m=n$.
EDIT EDIT: You seemed to only take issue with the previous proof because of the vector spaces. In patticular,you seemed ok with the Hom manipulation. Here's a way to combine the first and the previous proof! Show first that $\text{Hom}(\mathbb{Z}^k,A)\cong A^k$ for any abelian group A. Then apply this fact to show that our problem implies $\mathbb{Z}_2^m\cong\mathbb{Z}_2^n$ again.