EQV#DEF. Equivalence Relation.
A binary relation $\sim$ on $X$ is an equivalence relation if:
Reflexivitiy. For all $x\in X$,
\[x \sim x.\]Symmetry. For all $x$, $y\in X$,
\[x\sim y \enspace\rimp\enspace y\sim x.\]Transitivity. For all $x$, $y$, $z\in X$,
\[x\sim y \,\land\, y\sim z \enspace\rimp\enspace x\sim z.\]
EQV#DEF-CLS. Equivalence Class.
Let $\sim$ be an equivalence relation on $X$ and $a\in X$. The equivalence class of $a$ with respect to $\sim$ is
\[[a]_\sim = \{x\in X:a\sim x\}.\]If there is no ambiguity, $[a]_\sim$ can be simply written as $[a]$.
Let $\sim$ be an equivalence relation on $X$. The quotient set of $X$ by $\sim$ is the set
\[X/{\sim} \enspace=\enspace \{[x]:x\in X\}\](“$X$ modulo $\sim$”).
Let $\sim$ be an equivalence relation on $X$ and $x$, $y\in X$. The following statements are equivalent:
- \[x \sim y.\]
- \[[x] = [y].\]
- \[x \in [y].\]
- \[[x]\cap[y] \neq \varnothing.\]