Rel, bicategory of relations, allegory
left and right euclidean;
extensional, well-founded relations.
An equivalence relation on a set is a binary relation on that is:
Thus, an equivalence relation is a symmetric preorder.
(One can also define it as a relation that is both reflexive and euclidean.) The de Morgan dual of an equivalence relation is an apartness relation.
If is any relation on , there is a smallest equivalence relation containing (noting that an intersection of an arbitrary family of equivalence relations is again such; see also Moore closure), called the equivalence relation generated by .
In homotopy type theory, since propositions are subsingletons, an equivalence relation on a type is a type family indexed by elements and with witnesses of reflexivity, transitivity, and symmetry, and propositional truncation:
One then further distinguishes between a type with an equivalence relation (a symmetric preordered type) and an h-set with an equivalence relation (a symmetric proset).
Let and be two symmetric preordered types. An extensional function consists of a function and for all elements and a function .
The identity function is an extensional function which consists of the identity function for all elements and , the identity function .
Given symmetric preordered types , , and , the composition of extensional functions and is defined as
and for all objects and ,
An extensional function is a injection if for all elements the type of elements with a witness is a subsingleton.
An extensional function is a surjection if for all elements the type of elements with a witness is a pointed type.
An extensional function is a bijection if it is both an injection and a surjection; i.e. for all elements the type of elements with a witness is a pointed subsingleton, or a singleton.
An extensional function is a bijection if for all elements the type of elements with a witness is a singleton.
An extensional function is an isomorphism if there exist an extensional functiom with witnesses and .
An extensional function is an equivalence if the function is an equivalence of types and for all elements and the function is an equivalence of types.
The only symmetric preordered types for which bijection, isomorphism, and equivalence are the same are the symmetric posets, which are the h-sets.
A set equipped with an equivalence relation can be regarded as a groupoid enriched over the cartesian monoidal category of truth values. Equivalently, it is a groupoid that is 0-truncated. Then the equivalence relation on is a way of making into the set of objects of such a groupoid. Equivalently, a set with an equivalence relation is a (0,1)-category whose each morphism is iso, or a symmetric preordered set.
It may well be useful to consider several possible equivalence relations on a given set. When considering a single equivalence relation once and for all, however, it is common to take the quotient set and use that instead. As a groupoid, any set with an equivalence relation is equivalent to a set in this way (although in the absence of the axiom of choice, it is only a “weak” or ana-equivalence).
A set equipped with an equivalence relation is sometimes called a setoid, see there for more.
A partial equivalence relation is a symmetric and transitive relation.
A congruence is a notion of equivalence relation internal to a suitable category.
The generalization of this to (∞,1)-category theory is that of groupoid object in an (∞,1)-category.
set-like structure in homotopy type theory?
For the history of the notion of equivalence relation see this MO discussion.
Last revised on June 17, 2023 at 06:43:41. See the history of this page for a list of all contributions to it.