Definition
A partial equivalence relation on a set is a binary relation that is symmetric and transitive. Unlike an equivalence relation, it need not be reflexive on all of .
The elements for which reflexivity does hold form the support or domain of definition of the PER:
On this support, a partial equivalence relation behaves exactly like an equivalence relation.
Equivalent Characterisation
A relation on is a partial equivalence relation if and only if there is a subset such that:
- restricts to an equivalence relation on
- whenever holds, both and lie in
- outside , the relation is nowhere inhabited
One may take . Indeed, if then by symmetry and transitivity we get and , so every related element lies in the support.
Interpretation
A partial equivalence relation represents a notion of equality that is only defined on part of the ambient set. Two elements can be compared only when they lie in the support, and there the comparison is equivalence-like.
For this reason, PERs are often used to model partial objects or defined elements up to extensional equality. The quotient of a PER is usually taken to be the set of equivalence classes of its support.
Examples
- Any equivalence relation is a partial equivalence relation.
- If , the identity relation on extended by false outside is a partial equivalence relation on .
- In realizability and categorical logic, PERs on a set of codes can be used to represent abstract mathematical objects together with an extensional equality relation.