*** Welcome to piglix ***

Equivalence relation


In mathematics, an equivalence relation is a binary relation that is at the same time a reflexive relation, a symmetric relation and a transitive relation. As a consequence of these properties an equivalence relation provides a partition of a set into equivalence classes.

Although various notations are used throughout the literature to denote that two elements a and b of a set are equivalent with respect to an equivalence relation R, the most common are "a ~ b" and "ab", which are used when R is the obvious relation being referenced, and variations of "a ~Rb", "aRb", or "aRb" otherwise.

A given binary relation ~ on a set X is said to be an equivalence relation if and only if it is reflexive, symmetric and transitive. That is, for all a, b and c in X:

X together with the relation ~ is called a setoid. The equivalence class of under ~, denoted , is defined as .


...
Wikipedia

...