Model-derived sub-2^n linear-extension algorithm

Keigo Oka

A deterministic exact algorithm counts linear extensions of any n-element poset in O∗(1.89n)O^{*}(1.89^n) time.

The new exponential factor 1.89 to the n is compared with 2 to the n. At 40 elements their ratio is about ten percent.
Oka gives a deterministic exact algorithm for counting total orderings compatible with any nn-element partial order. Its time is O∗(1.89n)O^*(1.89^n), compared with the standard ideal dynamic program’s O∗(2n)O^*(2^n). The curve compares those exponential factors only. The notation O∗O^* suppresses polynomial factors, so the plotted ratios are not measured speedups.

What was already known

The standard generic dynamic program takes O(n2n)O(n2^{n}) time. A sub-2^n algorithm had previously been known for two-dimensional posets, not arbitrary posets.

How the result developed

  1. 19 Aug 2026 · Manuscript date [1]

    Keigo Oka reported the AI-assisted result in this manuscript.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceNotable
Human understandingExplained

AI involvement

Oka credits Claude with the pattern representation, decoding, dynamic program and state counting. The core mathematical ideas underlying the new part of the algorithm and proof were discovered by Claude Opus 5 (Anthropic). A separate model generated the research prompt. Oka checked the results.

Importance

The result gives a sub-2^n exact algorithm for general posets.

Technical verification

Oka says he independently checked the statements and proofs, including the asymptotic theorem. Exact computational audits compare finite cases through n=7n=7 and sampled families; those computations do not prove the runtime bound.

Human understanding

Oka explains the pattern representation, decoding, deadline dynamic program and two-branch state count.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Claim-level primary-source review.

A smaller base for exact counting

Open SVG

The new exponential factor 1.89 to the n is compared with 2 to the n. At 40 elements their ratio is about ten percent.
Oka gives a deterministic exact algorithm for counting total orderings compatible with any nn-element partial order. Its time is O∗(1.89n)O^*(1.89^n), compared with the standard ideal dynamic program’s O∗(2n)O^*(2^n). The curve compares those exponential factors only. The notation O∗O^* suppresses polynomial factors, so the plotted ratios are not measured speedups.Keigo Oka directed and checked the work. Claude Opus 5 supplied the new pattern and deadline algorithms, using a research prompt generated by ChatGPT 5.6 Sol.