Exercise 11.3.4 from Book of Proof by Richard Hammack:
Proof that R is an equivalence relation:
First we show $xRx\space\space \forall x \in A$. From the definition of $R$, $xRx$ if $x \in X$ for some $X \in P$. Now, since $x \in A$, it has to be in the partition of the set $A$, hence $x$ is in some $X \in P$. This shows $xRx$.
We show $xRy \implies yRx\space\space \forall x,y\in A$. Let $xRy$, then $x,y \in X$ for some $X \in P$. Now, since the order in a set does not matter, we may say $y,x \in X$ for some $X \in P$ [not sure about this argument]. Hence $yRx$ from the definition of $R$.
- We show $((xRy) \wedge (yRz))\implies(xRz)$. Assume the antecedent. Then $x,y \in X$ for some $X \in P$ and $y,z \in X$ for some $X \in P$. Now, since $\bigcap_{X\in P}=\{\}$, $x,y,z$ must all be in some one $X \in P$. Hence $xRz$ from the definition of $R$. $\blacksquare$
Proof that P is the set of equivalence classes of R:
Take any $X \in P$. Then for any two elements $x,y \in X$, $xRy$. Since $R$ is an equivalence relation and since $X$ consists of all elements that relate to $y$, that means $X=[y]$. $\blacksquare$
EDIT (in response to Bram28):
Define $E = \{ [x]| x \in A\}$. Now, let $X$ be an arbitrary set in $P$. That means for any $y,x \in X$, $yRx$. So $X=\{y\in A|yRx\}=[x]$ (by definition of equivalence class). So $X \in E$.
Conversely, let $X \in E$. Then $X=[x]=\{y\in A|yRx\}$. Then for any $y,x \in X$, $yRx$. Which means $X$ has to be in $P$. $\blacksquare$
