(5) —
ProvedCountingLinExt33.eq_5combinatoricsexact-countingexact-exponential-algorithmslinear-extensionsposets
Let be a poset on elements, an antichain and the core. For let and , and let , . A pattern selects for each with ; it is compatible if together with the relations () is acyclic, and then is the transitive closure.
- Every linear extension induces a unique compatible pattern: there is exactly one compatible such that places first among for every with .
- For any compatible pattern , a permutation lies in if and only if it belongs to and places first among for every with .
- Consequently , and
Formalization Note Linear extensions of every order on are bijections , so and all are subsets of one type.
Preamble
import Mathlib import Definitions.Def_FCP_LinearExtensions import Definitions.Def_CountingLinExt33_Main_Orders import Definitions.Def_CountingLinExt33_Combinatorics open CountingLinExt33.Main
Formal statement
namespace CountingLinExt33
theorem eq_5 (n : ℕ) (P : PartialOrder (Fin n)) (B : Finset (Fin n)) (hB : Antichain P B) :
(∀ π ∈ @FCP.Order.LinearExtensions (Fin n) _ P,
∃! g : Fin n → Option (Fin n), Compatible P B g ∧ PlacesFirst P B g π) ∧
(∀ (g : Fin n → Option (Fin n)) (hg : Compatible P B g)
(π : Fin n ≃ Fin (Fintype.card (Fin n))),
π ∈ @FCP.Order.LinearExtensions (Fin n) _ (patternOrder P B g hg) ↔
π ∈ @FCP.Order.LinearExtensions (Fin n) _ P ∧ PlacesFirst P B g π) ∧
extensionCount P =
patternSum P B (fun g hg => extensionCount (patternOrder P B g hg)) := by sorry
end CountingLinExt33Source
Keigo Oka, Counting Linear Extensions Faster than 2^n, STOC 2027 submission #725 (manuscript dated October 26, 2026; sha256 39412ca8…f151825), equation (5), p. 4, and the two sentences before it; valid for any antichain (§4, p. 7)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.