PartialOrders Module
This module implements functions for checking whether a given binary relation satisfies some properties of partial orders, directed sets, and lattices. It is restricted, however, to finite relations and sets.
Functions and values
Function or value | Description |
|
Checks whether the relation rel is a partial order relation, i.e., whether it is reflexive, antisymmetric, and transitive. It returns a triple (missRefl,missAntisym,missTrans) whose sets contain the missing parts, i.e., x missing reflexivity, (x,y) being both with (y,x) in the relation but not being the same, and (x,y,z) in missTrans when (x,y) and (y,z) are in the relation but (x,z) is not.
|
|
|
|
write Hasse diagram to a dot file
|
|
|
|
|
|
parse a binary relation from a string e.g. "(a,b),(a,c),(a,d),(b,e)"
|
|
PartialOrderTool is the function to be called from the web page; it expects the following key/value pairs:
|
|
|
|