Folioby Interconnected
Log InSign Up

Partially Ordered Sets and Lattices: The Combinatorics of Order

We develop the theory of partially ordered sets (posets), including Hasse diagrams, chains and antichains, and prove Dilworth's theorem and Mirsky's theorem. We then introduce lattices and the M\"obius function of the incidence algebra.

FO
Folio Official
March 1, 2026

1 Fundamentals of Partially Ordered Sets

Definition 1 (Partially ordered set).
A binary relation ≤ on a set P is a partial order if it satisfies the following three axioms:
  1. Reflexivity:x≤x for all x∈P.

  2. Antisymmetry: if x≤y and y≤x, then x=y.

  3. Transitivity: if x≤y and y≤z, then x≤z.

The pair (P,≤) is called a partially ordered set (or poset).
Definition 2 (Covering relation).
We say that ycoversx, written x⋖y, if x<y and there is no element z with x<z<y.
Definition 3 (Hasse diagram).
The Hasse diagram of a finite poset (P,≤) is the graph whose vertices are the elements of P, with an upward edge from x to y whenever x⋖y.
Example 4.
Consider P={1,2,3,6,12} partially ordered by divisibility (a∣b). The covering relations are 1⋖2, 1⋖3, 2⋖6, 3⋖6, and 6⋖12.

2 Chains and Antichains

Definition 5 (Chain and antichain).
A subset C of a poset P is a chain if every two elements of C are comparable (i.e., x≤y or y≤x). A subset A is an antichain if no two distinct elements of A are comparable.
Definition 6.
The height of a poset P is the length of its longest chain (measured as the number of elements minus one). The width of P is the maximum size of an antichain.

3 Dilworth's Theorem

Theorem 7 (Dilworth's theorem).
Let w be the width (maximum antichain size) of a finite poset P. Then P can be partitioned into exactly w chains (and no fewer).
Proof.
Since a chain can contain at most one element from any antichain, at least w chains are needed. It remains to show that w chains suffice, which we prove by induction on ∣P∣.

Base case. If ∣P∣=1, then w=1 and P itself is a single chain.

Inductive step. Assume ∣P∣≥2 and the theorem holds for all posets of smaller size. Fix a maximum antichain A={a1​,…,aw​} and define
P+={x∈P∣∃a∈A,x≥a},P−={x∈P∣∃a∈A,x≤a}.

(i)P=P+∪P−: Every a∈A belongs to both P+ and P− (since a≥a and a≤a). If some x∈P∖(P+∪P−) existed, then x would be incomparable to every element of A, making A∪{x} an antichain of size w+1, contradicting the maximality of A.

(ii)P+⊊PandP−⊊P: If P=A (i.e., P is itself an antichain), the partition into w single-element chains is immediate. Otherwise, elements in P∖A exist, and a careful analysis using minimal and maximal elements shows that neither P+ nor P− equals all of P.

(iii) Constructing the partition: Since ∣P+∣<∣P∣ and ∣P−∣<∣P∣, and both P+ and P− have width w (the antichain A witnesses w in each, and they are subposets of P), the induction hypothesis provides partitions C1+​,…,Cw+​ of P+ and C1−​,…,Cw−​ of P− into chains. Since A is an antichain, each ai​ lies in a different chain of each partition. After relabeling, ai​∈Ci+​ and ai​∈Ci−​.

Setting Ci​=Ci+​∪Ci−​ for each i, every two elements of Ci​ are comparable via ai​ (elements of Ci+​ are ≥ai​ and elements of Ci−​ are ≤ai​), so Ci​ is a chain. Since Ci+​∩Ci−​={ai​} and P=P+∪P−, the chains C1​,…,Cw​ form a partition of P. □

4 Mirsky's Theorem

Theorem 8 (Mirsky's theorem).
Let ℓ be the maximum length (number of elements) of a chain in a finite poset P. Then P can be partitioned into exactly ℓ antichains.
Proof.
For each x∈P, let h(x) denote the length of the longest chain ending at x. Define Ak​={x∈P∣h(x)=k} for k=1,…,ℓ. The sets A1​,…,Aℓ​ partition P. Each Ak​ is an antichain: if x,y∈Ak​ with x<y, then h(y)≥h(x)+1>k, contradicting y∈Ak​. □

5 Lattices

Definition 9 (Lattice).
A poset (L,≤) is a lattice if every pair of elements x,y has a least upper bound (the join, x∨y) and a greatest lower bound (the meet, x∧y).
Example 10.
The positive integers under divisibility form a lattice with a∨b=lcm(a,b) and a∧b=gcd(a,b). The power set 2S of a set S, ordered by inclusion, is a lattice with A∨B=A∪B and A∧B=A∩B.
Definition 11 (Distributive lattice).
A lattice L is distributive if x∧(y∨z)=(x∧y)∨(x∧z) for all x,y,z∈L.

6 The Möbius Function and the Incidence Algebra

Definition 12 (M\"obius function of a poset).
The Möbius functionμ:P×P→Z of a finite poset P is defined recursively by:
μ(x,x)=1,x≤z≤y∑​μ(x,z)=0(x<y).
Equivalently, μ(x,y)=−∑x≤z<y​μ(x,z) for x<y. When x≤y, we set μ(x,y)=0.
Theorem 13 (M\"obius inversion on a poset).
Let P be a locally finite poset and let f,g:P→R. Then
g(x)=y≤x∑​f(y)⟺f(x)=y≤x∑​μ(y,x)g(y).
Proof.
Substitute g(y)=∑z≤y​f(z) into the right-hand side:
y≤x∑​μ(y,x)z≤y∑​f(z)=z≤x∑​f(z)z≤y≤x∑​μ(y,x).
When z<x, the inner sum ∑z≤y≤x​μ(y,x)=0 by the defining property of μ. When z=x, it equals μ(x,x)=1. Therefore the entire expression simplifies to f(x). □
Example 14.
For the poset P=(Z>0​,∣) (positive integers ordered by divisibility), μ(d,n)=μMo¨bius​(n/d), where μMo¨bius​ is the classical number-theoretic Möö
CombinatoricsDiscrete MathematicsTextbookPartially Ordered SetsLattices
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Combinatorics TextbookPart 12 of 13
Previous
Combinatorial Designs and Latin Squares: Balanced Arrangements
Next
Combinatorics and Algebra: Formal Power Series and an Introduction to Algebraic Combinatorics

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Recurrence Relations and Counting: Solving Linear Recurrences

We present the method of characteristic equations for solving linear recurrences with constant coefficients, treat the case of repeated roots, discuss nonhomogeneous recurrences, establish the equivalence with generating functions, and introduce matrix exponentiation and the Kitamasa method.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

The Inclusion--Exclusion Principle: Counting by Alternating Sums

We prove the inclusion--exclusion principle and apply it to derive the formula for the number of derangements D_n, Euler's totient function, the relationship between surjections and Stirling numbers of the second kind, and the M\"{o}bius inversion formula.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Combinatorial Designs and Latin Squares: Balanced Arrangements

We define Latin squares and prove their existence, introduce mutually orthogonal Latin squares (MOLS), develop the theory of balanced incomplete block designs (BIBDs), prove Fisher's inequality, and discuss the connection with finite projective planes.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Burnside's Lemma and P\'olya Enumeration: Counting Under Symmetry

Starting from the definitions of group actions, orbits, and stabilizers, we prove Burnside's lemma (the Cauchy--Frobenius theorem), introduce the cycle index of a permutation group, and derive P\'olya's enumeration theorem. Applications to necklace and bracelet counting are given.

CombinatoricsDiscrete MathematicsTextbook