Chain Decompositions: Greene–Kleitman, Cocomparability Perfection, and Infinite Dilworth #
Formalizes three classical results on chain and antichain decompositions of partially ordered sets,
building on finite Mirsky (CslibFrontier.Foundations.Order.Mirsky), finite Dilworth
(CslibFrontier.Algorithms.Lean.MaxFlow.Dilworth), and integral minimum-cost flows with
complementary slackness (CslibFrontier.Algorithms.Lean.MaxFlow.MinCostFlow):
- Greene–Kleitman theorem (1976) ([GK76]; [Sch03], Chapter 14, locators
not verified against primary sources): for every finite poset
αandk : ℕ, the maximum size of ak-antichain family (IsKAntichainFamily k S, containing no(k + 1)-chain, equivalently a union of at mostkantichains) equals the minimumk-norm∑ C ∈ 𝒞, min |C| kover all partitions𝒞ofαinto nonempty chains (exists_isKAntichainFamily_and_chainPartition,exists_chainPartition_sum_min_le_iff). - Greene's theorem (1976) (dual Greene–Kleitman theorem; [Gre76]; [Sch03],
Chapter 14, locators not verified against primary sources): for every finite poset
αandk : ℕ, the maximum size of ak-chain family (IsKChainFamily k S, containing no(k + 1)-antichain, equivalently a union of at mostkchains) equals the minimumk-norm∑ A ∈ 𝒜, min |A| kover all partitions𝒜ofαinto nonempty antichains (exists_isKChainFamily_and_antichainPartition,exists_antichainPartition_sum_min_le_iff). Both strong-duality theorems are proved uniformly from integral minimum-cost flows on the split poset network: complementary slackness yields strictly antitone integer potentials defining the antichain layers, while Fulkerson's matching-to-chains reduction turns the flow on the split poset into disjoint chains. - Perfection of cocomparability graphs ([Dil50]; [Sch03], Chapter 65, locator
not verified against primary source):
(SimpleGraph.comparabilityGraph α)ᶜis perfect (isPerfect_compl_comparabilityGraph), complementingSimpleGraph.isPerfect_comparabilityGraph. - Infinite Dilworth's theorem ([Dil50], extended from the finite case by compactness):
an arbitrary (possibly infinite) poset
αcan be covered bywchains if and only if every finite antichain inαhas at mostwelements (exists_chain_coloring_iff_forall_isAntichain_card_le), proved by Tychonoff compactness onα → Fin wwith the discrete topology onFin w.
Main definitions #
Cslib.Algorithms.Lean.MaxFlow.IsKAntichainFamily,Cslib.Algorithms.Lean.MaxFlow.IsKChainFamily: subsets containing no(k + 1)-chain or no(k + 1)-antichain.Cslib.Algorithms.Lean.MaxFlow.IsChainPartition,Cslib.Algorithms.Lean.MaxFlow.IsAntichainPartition: partitions of a poset into pairwise disjoint nonempty chains or antichains.
Main results #
Cslib.Algorithms.Lean.MaxFlow.isKAntichainFamily_iff_exists_antichain_coloring,Cslib.Algorithms.Lean.MaxFlow.isKChainFamily_iff_exists_chain_coloring: equivalence ofk-families with unions ofkantichains orkchains (via Mirsky and Dilworth).Cslib.Algorithms.Lean.MaxFlow.IsKAntichainFamily.card_le_sum_min,Cslib.Algorithms.Lean.MaxFlow.IsKChainFamily.card_le_sum_min: weak duality fork-norms.Cslib.Algorithms.Lean.MaxFlow.exists_isKAntichainFamily_and_chainPartition,Cslib.Algorithms.Lean.MaxFlow.exists_chainPartition_sum_min_le_iff: Greene–Kleitman theorem (k-antichain families vs chain partitions).Cslib.Algorithms.Lean.MaxFlow.exists_isKChainFamily_and_antichainPartition,Cslib.Algorithms.Lean.MaxFlow.exists_antichainPartition_sum_min_le_iff: Greene's theorem (k-chain families vs antichain partitions).Cslib.Algorithms.Lean.MaxFlow.isPerfect_compl_comparabilityGraph: perfection of cocomparability graphs.Cslib.Algorithms.Lean.MaxFlow.exists_chain_coloring_iff_forall_isAntichain_card_le: Infinite Dilworth's theorem for arbitrary posets of finite width.
References #
- R. P. Dilworth, A decomposition theorem for partially ordered sets
- C. Greene, Some partitions associated with a partially ordered set
- C. Greene and D. J. Kleitman, The structure of Sperner k-families
- A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Chapters 14 and 65 (locators not verified against primary source)
k-antichain families, k-chain families, and partitions #
A finite subset S of a poset is a k-antichain family (or k-family) if it contains no
chain of size k + 1. By Mirsky's theorem (isKAntichainFamily_iff_exists_antichain_coloring),
this is equivalent to S being a union of at most k antichains.
A finite subset S of a poset is a k-chain family if it contains no antichain of size
k + 1. By Dilworth's theorem (isKChainFamily_iff_exists_chain_coloring), this is equivalent to
S being a union of at most k chains.
A 1-antichain family is an antichain.
A 1-chain family is a chain.
S is a k-antichain family iff S is covered by k antichains (by Mirsky's theorem).
S is a k-chain family iff S is covered by k chains (by Dilworth's theorem).
A partition of a poset α into pairwise disjoint nonempty chains.
Every part is a chain.
Every part is nonempty.
- pairwiseDisjoint : (↑𝒞).PairwiseDisjoint id
Distinct parts are disjoint.
- cover (x : α) : ∃ C ∈ 𝒞, x ∈ C
Every element belongs to some part.
A partition of a poset α into pairwise disjoint nonempty antichains.
Every part is an antichain.
Every part is nonempty.
- pairwiseDisjoint : (↑𝒜).PairwiseDisjoint id
Distinct parts are disjoint.
- cover (x : α) : ∃ A ∈ 𝒜, x ∈ A
Every element belongs to some part.
The 1-norm of a chain partition equals its number of chains.
The 1-norm of an antichain partition equals its number of antichains.
A chain partition yields a chain colouring with 𝒞.card colours.
An antichain partition yields an antichain colouring with 𝒜.card colours.
Weak duality for k-antichain families: any k-antichain family S covered by a family
𝒞 of chains has size at most ∑ C ∈ 𝒞, min |C| k.
Weak duality for k-chain families: any k-chain family S covered by a family 𝒜 of
antichains has size at most ∑ A ∈ 𝒜, min |A| k.
Shared flow-to-partition and duality helpers #
Greene–Kleitman theorem (k-antichain families vs chain partitions) #
Greene–Kleitman theorem ([GK76]; [Sch03], Chapter 14, locators not
verified against primary sources): for every finite poset α and k : ℕ, there exist a
k-antichain family S and a partition 𝒞 of α into nonempty chains such that
|S| = ∑ C ∈ 𝒞, min |C| k. By weak duality (IsKAntichainFamily.card_le_sum_min), S is a
maximum k-antichain family and 𝒞 minimizes ∑ C ∈ 𝒞, min |C| k over all chain covers.
Greene–Kleitman theorem, min–max form: a finite poset admits a chain partition of k-norm
at most m iff every k-antichain family has at most m elements.
Greene's theorem (k-chain families vs antichain partitions) #
Greene's theorem (dual Greene–Kleitman theorem; [Gre76]; [Sch03], Chapter 14,
locators not verified against primary sources): for every finite poset α and k : ℕ, there
exist a k-chain family S and a partition 𝒜 of α into nonempty antichains such that
|S| = ∑ A ∈ 𝒜, min |A| k. By weak duality (IsKChainFamily.card_le_sum_min), S is a maximum
k-chain family and 𝒜 minimizes ∑ A ∈ 𝒜, min |A| k over all antichain covers.
Greene's theorem, min–max form: a finite poset admits an antichain partition of k-norm
at most m iff every k-chain family has at most m elements.
Perfection of cocomparability graphs #
Perfection of cocomparability graphs (from Dilworth's theorem [Dil50];
[Sch03], Chapter 65, locator not verified against primary source): the complement of the
comparability graph of any partial order α (the incomparability or cocomparability graph) is
perfect. Together with SimpleGraph.isPerfect_comparabilityGraph, both comparability graphs and
their complements are perfect.
Infinite Dilworth's theorem by compactness #
Infinite Dilworth's theorem ([Dil50], extended from the finite case by compactness):
an arbitrary (possibly infinite) partial order α can be covered by w chains if and only if
every finite antichain in α has at most w elements.