Written in Abstract Algebra by T. W. Judson, in an example in the theory of rings it supposes (without proof) that: $$(a+b) \bmod n = (a \bmod n) + (b \bmod n) $$ and $$ ab \bmod n = (a \bmod n) · (b \bmod n).$$
I am trying to prove them but I can't.
$((a+b) \bmod n)$ means that there is an integer $k$ such that $0\le a+b-nk<n$, and $(a \bmod n) + (b \bmod n)$ means there are integers $k_1$ and $k_2$ such that $0\le a-nk_1<n$ and $0\le b-nk_2<n \implies 0\le a+b-n(k_1+k_2)<2n$ which has no relation to the $0\le a+b-nk<n$ especially resulting same numbers to say they are equal.
Edit - Here it is an incomplete proof for the first part of my questions, but it does not show how $(a \bmod n + b \bmod n) \bmod n = (a \bmod n + b \bmod n)$ in the last step?