Relation
A set of ordered pairs encoding which elements are related.
Relation
A relation from a set to a set is a set with
where is the Cartesian product . If , one often writes .
A relation on a set means a relation from to itself, i.e. a subset of . Special kinds of relations include equivalence relations , which encode “having the same type” in a precise sense.
Examples:
- The “less than or equal to” relation on is .
- For any set , the equality relation on is .