Order relations, visualized on graphs
Order relations can be visualized by how they can be represented by graph models. Partial orders, total orders, strict partial orders and strict total orders are introduced below property-by-property.
Starting from a set and a relation
The most general case begins with a set,
Directed graphs, enumerated
For two elements of
There are four possible values of the pair of
Compressed representations
As we place restrictions on the possible combinations, more structure can be introduced into the graph model to compress the representation. The four types of order relations correspond to the following graph representations:
- Partial order
- Directed acyclic graph (with R(a, a) = True). Note that (I think) branching (in or out) is possible (e.g. R(a,b) = R(b,a) = False, while R(a,c) = R(b,c) = True).
- Restricted partial order
- There are many restrictions that can be introduced that introduce more structure, without becoming a total order. For example, a semi-lattice is a partial order with the rule that any two nodes must have common 'parent'. A semi-lattice is a slight generalization of a tree. In a semi-lattice, if direction of paths are ignored, then all nodes are connected.
Partial order
Starting from the general case. We introduce the following:
- Reflexivity
- Reflexivity removes the need represent self-cycles, as R(a, a) is always true.
Total order
Carrying on from a partial order, we introduce one more restriction:
- (What is the name for this?): for every
and in , either or .
This extra rule means that all elements of the set exist in a single [...] describing the relation.
Strict partial order
Strict partial order begins like partial order, but removes self-cycles in a different way, such that we don't later need [...] in order to prevent cycles.
- [...]
- irreflexivity (
for every in ) removes the need for any loops, including self-loops. If were in a loop, we would have , which this rule prohibits. - Transitivity
- transitivity just like with the partial order case, transitivity allows paths to represent all values of the relation.
Strict total order
Like with the case of total order, we force all elements of the set to be part of the same [...] by introducing the restriction:
- trichotomy:
, , or for every and in .
Pre-order
It's worth touching on pre-orders and where they fit in. A pre-order has even less restrictions than a partial order, and thus, the concept is more general.Specifically, we remove anti-symmetry.
