I'm reading a Mathematical Proofs by Polimeni, Chartrand, and Zhang and their definition of a set partition is confusing me:
A partition of A can be defined as a collection S of subsets of A satisfying the three properties:
(1) $ X \neq \emptyset $ for every set $ X \in S $;
(2) for every two sets $X,Y \in S$, either $X = Y$ or $X \cap Y = \emptyset$;
(3) $ \cup_{X \in S} X = A $.
How is the $X = Y$ part of (2) compatible with the idea that the subsets have to be pairwise disjoint? If X and Y are equivalent, then they aren't disjoint and I don't think they can be part of a partition.
Clearly, there's something very basic I'm not understanding. Please clue me in.