Proposition 1.19. Let be a Set. There is a one-to-one correspondence between the ways to partition and the equivalence relations on .
Source: 7 Sketches Proposition 1.19, Exercise 1.20.
Proof
Partition equivalence relation. Given , define to mean and are in the same part: there is with . Reflexivity, symmetry and transitivity are immediate (” is in the same part as itself”, etc.).
Equivalence relation partition. Given , call -closed if and imply , and -connected if it is nonempty and for all . The parts are exactly the -closed, -connected subsets. That these form a partition is 7S Exercise 1.20: each part is nonempty by connectedness; two distinct parts are disjoint (if then closedness and connectedness force ); and every lies in the part .
The two constructions are mutually inverse.
The set of parts is the Quotient Set . In Kittenlab’s terms, is the set of connected components of the relation, computed by union-find.