As part of a proof in my lecture notes, it states:
Let $f$ be a function such that $f:\mathbb{Z}_{mn}\rightarrow\mathbb{Z}_m\times\mathbb{Z}_n$ such that $b\mapsto(b\mod m,b\mod n)$. Then, we now show that $f$ is injective.
Suppose $f(u)=(r,s)=f(v)$ where $u,v\in\mathbb Z_{mn}$. Then, when $u$ and $v$ by $m$, the remainder is $r$ and then $u$ and $v$ are divided by $n$, the reaminder is $s$. Hence, $u\equiv_m v$ and $u\equiv_n v$.
First, when they mention $u,v\in\mathbb{Z}_{mn}$, from my understanding, they are referring to the congruence classes of $[u]_{mn}$ and $[v]_{mn}$ (but the square brackets are just ignored).
However, then they go ahead and say that $u$ is congruent to $v\mod m$ (i.e. $u\equiv_m v$). How is congruent modulo $n$ defined for congruence classes? Do we still treat $u$ and $v$ as integers despite them being congruence classes?