Equivalence Relation is Congruence iff Compatible with Operation

Theorem
Let $\struct {S, \circ}$ 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$.