Definition

A relation is a partial order relation (or partial order) iff it is reflexive, antisymmetric and transitive. is used to denote a partial order relation (it replaces in , so ), read ” is curly less than or equal to

Partially Ordered Set

A set is a partially ordered set or poset with respect to a partial order relation on , denoted by A set with a partial order relation defined on it can be represented and be called a poset

Hasse Diagram

Partial order relations can be represented as hasse diagrams

  1. Start with a directed graph
  2. Remove loops on nodes (because reflexive)
  3. Arrange nodes such that all arrows are pointing up, then remove arrow heads (because antisymmetric)
  4. Remove arrows that are implied by transitivity
    • If there is an arrow from to and to , remove the arrow from to
    • Keep repeating to remove as many arrows as possible

Example

For the “divides” relation on set

Partial Order Relations 2024-10-05 06.21.24.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Directed Graph

Hasse Diagram

Embedded Files

200bb00677aa83342ccef1087c52e673c454aa82: image.png

acb4d4eb3d78d42155a9149398dea983c5eba8d5: image_0.png

Link to original

Formal Definition

Let be a partial order on a set . A Hasse diagram of satisfies the following condition for all distinct : If and no is such that , then is placed below with a line joining them, else no line joins and

Analogy

Putting on socks and shoes (ignore reflexivity)

  • left sock must go on before left shoe, same for right
  • but whether the left or right sock goes on first does not matter
  • whether the left shoe goes on before the right sock does not matter
  • left sock left shoe
  • right sock right shoe
  • the order is “partial” because there may not be an order between certain elements
  • left sock and right sock are not comparable

Common Examples

  • The “divides” relation, , on a set of positive integers
  • on a set of real numbers
  • on a set of sets

Properties of Poset Elements

Suppose is a partial order relation on a set For example, the hasse diagram of on

Comparability

Elements and of are said to be comparable iff either or . Otherwise, and are noncomparable Hasse diagram: Comparable means having a path between the elements that only goes up In the example and are comparable, but and are not

Compatibility

Elements and of are said to be compatible iff there exists such that and
Hasse diagram: The elements have have a path upwards to the same elements
In the example, and , and are compatible but and are not

Maximal Element

Element of is a maximal element of iff , either or and are noncomparable Hasse diagram: There are no lines upward from the element In the example are the maximal elements

Minimal Element

Element of is a minimal element of iff , either or and are noncomparable Hasse diagram: There are no lines downward from the element In the example is the maximal elements

Largest Element

Element of is the largest element of iff A largest element is always also maximal Note: largest element = greatest element = maximum Hasse diagram: There is a path downwards to all other elements In the example there is no largest element

Smallest Element

Element of is the smallest element of iff A smallest element is always also minimal Note: smallest element = least element = minimum Hasse diagram: There is a path upwards to all other elements In the example is the smallest element

Linearisation

Creating a Total Order Relations from a partial order, without violating the partial order relation Let be a partial order on a set . A linearisation of is a total order on such that

Example

For the “divides” relation on Linearisations will include:

  • etc.

Kahn’s Algorithm

An algorithm that takes a finite set and a partial order on , and outputs a linearisation of Informally:

  1. Find the a minimal element of
  2. Remove the element from
  3. Repeat until
  4. The linearisation is the elements that were removed, in the order of removal