![[MONOiD]](monoid.png)
A binary relation seen as a directed graph on n points is completely determined by its degree and its list of edges. This information is represented in the form of a successors list which, for each single point i in {1, ..., n} contains the set i^R of succesors of i. Here each single set of successors is represented as a subset of {1, ..., n} by boolean list (see chapter "Boolean Lists").
A relation R of degree n is represented by a record with the following category components.
isRelation:true.
domain:Relations.
Moreover a relation record has the identification component
successors:A relation record rel can aquire the following knowledge components.
isReflexive:true if rel represents a reflexive relation (see
IsReflexive)
isSymmetric:true if rel represents a symmetric relation (see
IsSymmetric)
isTransitive:true if rel represents a transitive relation (see
IsTransitiveRel)
isPreOrder: true if rel represents a preorder (see IsPreOrder)
isPartialOrder:true if rel represents a partial order (see
IsPartialOrder)
isEquivalence:true if rel represents an equivalence relation (see
IsEquivalence)