In mathematics, a partial equivalence relation (often abbreviated as PER, in older literature also called restricted equivalence relation)
Contents
- Properties and applications
- Examples
- Kernels of partial functions
- Functions respecting equivalence relations
- Equality of IEEE floating point values
- References
- if
a R b , thenb R a (symmetry) - if
a R b andb R c , thena R c (transitivity)
If
Properties and applications
In a set-theoretic context, there is a simple structure to the general PER
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.
Every partial equivalence relation is a difunctional relation, but the converse does not hold.
The algebraic notion of congruence can also be generalized to partial equivalences, yielding the notion of subcongruence, i.e. a homomorphic relation that is symmetric and transitive, but not necessarily reflexive.
Examples
A simple example of a PER that is not an equivalence relation is the empty relation
Kernels of partial functions
For another example of a PER, consider a set
is a partial equivalence relation but not an equivalence relation. It possesses the symmetry and transitivity properties, but it is not reflexive since if
Functions respecting equivalence relations
Let X and Y be sets equipped with equivalence relations (or PERs)
then
Equality of [IEEE floating point] values
IEEE 754:2008 floating point standard defines an "EQ" relation for floating point values. This predicate is symmetrical and transitive, but is not reflexive because of the presence of [NaN] values that are not EQ to themselves.