Equivalence relation
A relation that formalizes when two elements should be regarded as the same type.
Equivalence relation
An equivalence relation on a set is a relation satisfying the following three properties for all :
- Reflexive: .
- Symmetric: if , then .
- Transitive: if and , then .
Equivalence relations partition into equivalence classes , and the set of all classes forms a quotient set .
Examples:
- On , define iff is divisible by a fixed (congruence modulo ).
- On any set , the equality relation is an equivalence relation.