Given:
Let $P$ be a partition of the set $S$. Let $a$ and $b$ in $S$. Relation $R$ on $S$: $a R b$ iff $a \in X$ and $b \in X$ for some $X \in P$. Then, $R$ is an equivalence relation.
I have asked this before, but I am not confident I understood the answer well enough.
Here's my attempt at proving it again. Please, see if it's correct.
Let $a$ be $\in S$. Since $P$ is a partition of $S$, there's $X \in P$ with $a \in X$.
By definition, $[a] = \{x \in S| a R x\}$. So, $[a] = X$.
Let $\{[a]| a \in S\}$ be the set of all equivalence classes of $R$.
Since $[a] = X$, $[a] \in P$ and $X \in \{[a]| a \in S\}$. So, $P = \{[a]| a \in S\}$