Theorem. Bijection between equivalence relations and partitions [00L7]

For every set A, we can define a bijection \Phi \colon \mathrm {EqRel}{\mathopen {}\left (A\right )\mathclose {}}\to \mathrm {Part}{\mathopen {}\left (A\right )\mathclose {}} sending every equivalence relation E on A to the partition \Phi {\mathopen {}\left (E\right )\mathclose {}} = {\mathopen {}\left \{{\mathopen {}\left [a\right ]\mathclose {}}_{E}\,\middle \vert \,a:A\right \}\mathclose {}} whose blocks consist of the equivalence classes of each element of A.