In mathematics, a partial equivalence relation (often abbreviated as PER) R on a set X is a relation that is symmetric and transitive. In other words, it holds for all
that:
- if aRb, then bRa (symmetry)
- if aRb and bRc, then aRc (transitivity)
If R is also reflexive, then R is an equivalence relation.
In a set-theoretic context, there is a simple structure to the general PER R on X: it is an equivalence relation on the subset
. (Y is the subset of X such that in the complement of Y (
) no element is related by R to any other.) By construction, R is reflexive on Y and therefore an equivalence relation on Y. Notice that R is actually only true on elements of Y: if xRy, then yRx by symmetry, so xRx and yRy by transitivity. Conversely, given a subset Y of X, any equivalence relation on Y is automatically a PER on X.
PERs are therefore used mainly in computer science, type theory and constructive mathematics, particularly to define setoids, sometimes called partial setoids. The action of forming one from a type and a PER is analogous to the operations of subset and quotient in classical set-theoretic mathematics.
Contents |
Examples
A simple example of a PER that is not an equivalence relation is the empty relation
(unless
, in which case the empty relation is an equivalence relation (and is the only relation on X)).
Kernels of partial functions
For another example of a PER, consider a set A and a partial function f that is defined on some elements of A but not all. Then the relation
defined by
if and only if f is defined at x, f is defined at y, and f(x) = f(y)
is a partial equivalence relation but not an equivalence relation. It possesses the symmetry and transitivity properties, but it is not reflexive since if f(x) is not defined then
— in fact, for such an x there is no
such that
. (It follows immediately that the subset of A for which
is an equivalence relation is precisely the subset on which f is defined.)
Functions respecting equivalence relations
Let X and Y be sets equipped with equivalence relations (or PERs)
. For
, define
to mean:
then
means that f induces a well-defined function of the quotients
. Thus, the PER
captures both the idea of definedness on the quotients and of two functions inducing the same function on the quotient.
Reference
- Mitchell, John C. Foundations of programming languages. MIT Press, 1996.
See also
Open source encyclopedia content modification information:
This page was last modified on 20 December 2009 at 05:35.
Authorship and Review
Open source encyclopedia content provided here is not reviewed directly by MedLibrary.org. Content is sourced directly from Wikipedia and is authored by an open community of volunteers. It is not produced by or in any way affiliated with MedLibrary.org.
Usage Guidelines
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article on "Partial equivalence relation", which is available in its original form here:
http://en.wikipedia.org/w/index.php?title=Partial_equivalence_relation
All material adapted used from Wikipedia is available under the terms of the GNU Free Documentation License. Wikipedia® itself is a registered trademark of the Wikimedia Foundation, Inc.

