An equivalence relation is a binary relation that is simultaneously a reflexive relation, a symmetric relation and a transitive relation: ; implies ; and , imply . The equivalence class of is
Each equivalence class is nonempty by reflexivity, and every belongs to , so the classes cover . If , then the symmetric relation and transitive relation properties give . Every therefore satisfies , so ; the reverse inclusion follows similarly. Thus two classes are either identical or disjoint. The distinct equivalence classes consequently form a set partition of .
The divisibility-comparability relation is a reflexive relation and a symmetric relation, but is not an equivalence relation. Indeed, and , whereas neither nor , so transitivity fails.
For the requested four-class construction, partition the positive integers into
Define exactly when they lie in the same . Equality of the class label is an equivalence relation. Its four classes are the two finite singletons and the two infinite parity classes displayed above.

Articles by others on the same topic (0)

There are currently no matching articles.