When computing modular expressions, I see that $x\pmod m \equiv r$ rather than $x\pmod m = r$. Why do we use logical equivalence instead of the equals sign here?
Also, in general can we write $\equiv$ instead of $=$ between 2 numbers when they have the same numerical values?
EDIT: I am now confused on whether $\equiv$ always refers to congruence or whether it can mean numerical equality in this context, due to the following quote by my course notes:
we can define $x \pmod m$ to be the remainder $r$ when we divide $x$ by $m$. I.e., if $x \pmod m \equiv r$, then $x = mq+r$ where $0 ≤ r ≤ m−1$ and $q$ is an integer
I am confused because they are defining mod operations here and the restriction on $r$ implies they are talking about $r$ being the numerical quantity equal to the mod operation, rather than a value to which it is congruent. So does $\equiv$ at all refer to numerical equivalence rather than just congruence in modular arithmetic?
a \equiv b \pmod n
produces the parentheses with the correct spacing, as in $a\equiv b\pmod n$. – Jackozee Hakkiuz Aug 18 '23 at 03:16