Equivalence Relation is Congruence iff Compatible with Operation

Theorem
Let $\left({S, \circ}\right)$ be an algebraic structure.

Let $\mathcal R$ be an equivalence relation on $S$.

Then $\mathcal R$ is a congruence relation for $\circ$ :

That is, $\mathcal R$ is compatible with $\circ$.