Artificial intelligent assistant

substraction of groups in direct sum Assume I have a sub group $G\leq \mathbb Z^n$ and I have $\mathbb Z^n = G\oplus \mathbb Z^m $ for some $m\leq n$. I want to deduce $G\cong\mathbb Z^{n-m}$. Is that true? how can I do it?

$G$ is a subgroup of a finitely generated abelian group. So itself must be also finitely generated. $G$ cannot contain any non-zero torsion as $\mathbb{Z}^n$ doesn't either. So $G\cong \mathbb{Z}^k$ where $k$ is a non negative integer. $\mathbb{Z}^k\oplus \mathbb{Z}^m \cong \mathbb{Z}^{m+k}$ so it follows.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2f5a52bcdce7abbeea2bda6713902404