In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary relation indicating that, for certain pairs of elements in the set, one of the elements precedes the other in the ordering. The relation itself is called a “partial order.”
The word partial in the names “partial order” and “partially ordered set” is used as an indication that not every pair of elements needs to be comparable. That is, there may be pairs of elements for which neither element precedes the other in the poset. Partial orders thus generalize total orders, in which every pair is comparable.
Fig.1 The Hasse diagram of the set of all subsets of a three-element set {\displaystyle {x,y,z},}{\displaystyle {x,y,z},} ordered by inclusion. Sets connected by an upward path, like {\displaystyle \emptyset }\emptyset and {\displaystyle {x,y}}{x,y}, are comparable, while e.g. {\displaystyle {x}}{x} and {\displaystyle {y}}{y} are not.
A partial order defines a notion of comparison. Two elements x and y may stand in any of four mutually exclusive relationships to each other: either x < y, or x = y, or x > y, or x and y are incomparable.[1][2]
A set with a partial order is called a partially ordered set (also called a poset). The term ordered set is sometimes also used, as long as it is clear from the context that no other kind of order is meant. In particular, totally ordered sets can also be referred to as “ordered sets”, especially in areas where these structures are more common than posets.
A poset can be visualized through its Hasse diagram, which depicts the ordering relation.[3]