Definition: Properties of relations

A relation on a set is a rule which returns true or false depending on if for some .

PropertyDefinitionOn a digraph
ReflexiveEvery vertex has a self-loop
IrreflexiveNo vertex has a self-loop
SymmetricAll paths are bi-directional
AntisymmetricAll paths are single directions or self-loops
TransitivePaths make a pointing to one vertex

Definition: Equivalence relation, equivalence class

A relation on a set is an equivalence relation if it is reflexive, symmetric, and transitive. The equivalence class of an element is the set , the set of all elements related to by .