OpenAI reports exponential state cost for two-way NFA complementation

For every n≥4n\ge 4, an explicit n-state two-way nondeterministic finite automaton has a complement requiring at least 12⋅2⌊(n−4)/127⌋−1\frac12\cdot2^{\lfloor(n-4)/127\rfloor}-1 states in any two-way nondeterministic finite automaton.

An automaton with 2,036 states has a complement requiring at least 32,767 states. Both bar lengths use the same state scale.
At n=2036n=2036, the theorem’s lower bound 12 2⌊(n−4)/127⌋−1\tfrac12\,2^{\lfloor(n-4)/127\rfloor}-1 gives 32,767 states. It applies to complementation within two-way nondeterministic finite automata. The construction uses a larger alphabet as nn grows.

What was already known

Vardi gave an exponential one-way construction for complementation, while lower bounds were known for sweeping automata. The unrestricted two-way complement question remained open in the manuscript’s account.

How the result developed

  1. 6 Oct 2026 · Research release [1]

    OpenAI included the manuscript in its public mathematics release.

  2. 8 Oct 2026 · Independent formal checking [2]

    MathVet recorded a successful Lean Comparator replay for the exponential state lower bound for two-way automata complementation.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-led
ImportanceNotable
Technical verificationFormal (Lean 4)
Human understandingFew

AI involvement

OpenAI is the credited author of the manuscript. This repository contains mathematical manuscripts and supporting proof artifacts produced by an internal OpenAI model. The release leaves the human input for this result unspecified.

Importance

Rules out a polynomial complementation state bound uniform over finite alphabets.

Technical verification

OpenAI reports a Lean proof matching the selected claim.

Checking evidence

The pinned OpenAI Lean scope note identifies this selected claim.

Checker
OpenAI-reported Lean 4 / Comparator
Scope
For every n≥4n\ge 4, an explicit n-state two-way nondeterministic finite automaton has a complement requiring at least 12⋅2⌊(n−4)/127⌋−1\frac12\cdot2^{\lfloor(n-4)/127\rfloor}-1 states in any two-way nondeterministic finite automaton.
Basis
Source-reported

Human understanding

No named person is documented as explaining the central argument for this assessed contribution.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

A two-way nondeterministic automaton can have an exponentially larger complement

Open SVG

An automaton with 2,036 states has a complement requiring at least 32,767 states. Both bar lengths use the same state scale.
At n=2036n=2036, the theorem’s lower bound 12 2⌊(n−4)/127⌋−1\tfrac12\,2^{\lfloor(n-4)/127\rfloor}-1 gives 32,767 states. It applies to complementation within two-way nondeterministic finite automata. The construction uses a larger alphabet as nn grows.OpenAI credits an unnamed internal model with the manuscript and supporting proof artifacts.