Proof (additive group of integer mod n)
For any $a,b\in\mathbb Z_n$, $a+b$ is in $\mathbb Z_n$ so $+$ is a binary operation of $\mathbb Z_n$.
Identity and associativity follows from addition.
For all $a\in\mathbb Z_n$, $a^{-1} = n-a$ modulo $n$.
For any $a,b\in\mathbb Z_n$, $a+b$ is in $\mathbb Z_n$ so $+$ is a binary operation of $\mathbb Z_n$.
Identity and associativity follows from addition.
For all $a\in\mathbb Z_n$, $a^{-1} = n-a$ modulo $n$.