Poset ========== A partially ordered set (poset) is a set equipped with a partial order relation. This relation must satisfy three properties: reflexivity (every element is related to itself), antisymmetry (if two elements are mutually related, they must be equal), and transitivity (if element *a* is related to *b*, and *b* is related to *c*, then *a* is related to *c*). Definition --------- A **Poset** (Partially ordered set) is defined as a directed graph possessing the following property: - If :math:`ab` and :math:`bc` are edges of this graph, then :math:`ac` must also be an edge of this graph. Since many mathematical concepts can be represented as posets, their study proves particularly useful. .. rst: The First Problem ~~~~~~~~~~~~~~~~~~~~~ Suppose we have a set of natural numbers denoted as :math:`A`, and we want to find the largest subset :math:`B` such that for any two members of :math:`B`, one is divisible by the other. We can model this problem with a graph as follows: For each member of :math:`A`, create a vertex in the graph. For any two vertices :math:`x` and :math:`y` where :math:`x|y` (x divides y), draw a directed edge from :math:`x` to :math:`y`. Now, the problem is equivalent to finding the longest path in this graph! .. _chain-antichain: Chain and Antichain ~~~~~~~~~~~~~~~~~~ A sequence of distinct vertices such as :math:`u_1,...,u_k`, where for every :math:`i