§3.2 — acyclic partial patterns extend to compatible patterns; at most per level
ProvedCountingLinExt33.partial_patternscombinatoricsexact-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.
Let be a set of elements with . A partial assignment on selects for ; it is acyclic if the relations (4) of the elements of added to create no directed cycle. Then:
- every acyclic partial assignment on extends to at least one compatible full pattern;
- the number of acyclic partial assignments on is at most , the total number of compatible full patterns;
- .
Formalization Note The running-time conclusion drawn from this in the source (the backtracking search takes time) is part of the algorithmic milestones, not of this statement.
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 partial_patterns (n : ℕ) (P : PartialOrder (Fin n)) (B : Finset (Fin n))
(hB : Antichain P B) (T : Finset (Fin n)) (hT : T ⊆ active P B) :
(∀ g : Fin n → Option (Fin n), IsPartialPattern P B T g → AugAcyclic P B g →
∃ g' : Fin n → Option (Fin n), Compatible P B g' ∧ ∀ v ∈ T, g' v = g v) ∧
Set.ncard {g : Fin n → Option (Fin n) | IsPartialPattern P B T g ∧ AugAcyclic P B g}
≤ numCompatible P B ∧
1 ≤ numCompatible P B := 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.2, p. 4 ("Enumerating compatible patterns")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.