Answers are grounded in this paper and cite their sources.
We give a polynomial-space, deterministic, exact algorithm for counting linear extensions of partial orders over n elements, with running time O^*((2√2)ⁿ) ⊆ O(2.829ⁿ). This improves upon the long-standing bound of O^*(4ⁿ) attainable by standard divide and conquer (Savitch 1970, Gurevich and Shelah 1987). Our algorithm uses a similar balanced splitting approach as the classical algorithm, but applies it only to the elements outside a largest antichain. For the elements of the antichain itself we develop a formula based on inclusion-exclusion that accounts for the ways in which they can appear in a linear extension. The technique is also applicable to other problems on posets, which we illustrate by solving the well-studied jump number problem in a similar running time of O^*((2√2)ⁿ) and polynomial space. To our knowledge, these are the first polynomial-space algorithms with a running time below 4ⁿ for both problems.
No takes yet. Share an insight, caveat, or question.
Kozma et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: