I started to study the relation of congruence modulo n and a big important question came to me. In the book Poofs and Fundamentals, by Ethan D. Bloch, we have the definition:
Definition: Let $n \in \mathbb{N}$. Define operations $+$ and $\cdot$ on $\mathbb{Z}_{n}$ by letting $[a] + [b] = [a + b]$ and $[a] \cdot [b] = [ab]$ for all $[a], [b] \in \mathbb{Z}_{n}$.
Next, Bloch consider the following problem: Let $n \in \mathbb{N}$, and let $[a], [b], [c], [d] \in \mathbb{Z}_{n}$. Suppose that $[a] = [c]$ and $[b] = [d]$. Do $[a + b] = [c + d]$ and $[ab] = [cd]$ necessarily hold?
Bloch also states that if this doesn’t hold, then both operations are not well-defined. Reading this made me think of the following questions:
Why proving that if $[a] = [c]$ and $[b] = [d]$ then $[a+b] = [c+d]$ shows that $+$ is well-defined in $\mathbb{Z}_{n}$?
If I show that $\mathbb{Z}_{n}$ is closed under $+$, am I automatically showing that $+$ is well-defined in $\mathbb{Z}_{n}$? (If yes, what’s the relation between these two?)
Thank you so much for your attention!