§3.1 — the order-ideal recurrence computes
ProvedCountingLinExt33.order_ideal_recurrencecombinatoricsexact-countingexact-exponential-algorithmslinear-extensionsposets
Let be a finite poset on and let be a function on subsets of with
Then for every ideal , and in particular .
Formalization Note is inducedExtensionCount; the last claim identifies it at with the published extensionCount.
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 order_ideal_recurrence (n : ℕ) (P : PartialOrder (Fin n))
(F : Finset (Fin n) → ℕ) (h0 : F ∅ = 1)
(hrec : ∀ I : Finset (Fin n), IdealOn P Finset.univ I → I.Nonempty →
F I = ∑ v ∈ maxElems P I, F (I.erase v)) :
(∀ I : Finset (Fin n), IdealOn P Finset.univ I → F I = inducedExtensionCount P I) ∧
F Finset.univ = extensionCount P := 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), §3.1, p. 2 (the recurrence for )
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.