arXiv:2611.11572cs.CCNov 2026

Manuscript Offprint

arXiv:2611.11572

Closing the Complexity Gap for Wheeler Graph Recognition on dd-NFAs

Kengo Hashimoto

Abstract

Wheeler graph recognition asks whether a directed graph whose arcs are labeled by symbols from a totally ordered alphabet admits a Wheeler order, a total order on its vertices compatible with the labels of arcs and the order of their tails. A dd-NFA is a nondeterministic finite automaton in which at most dd transitions with any given label leave each state. For Wheeler graph recognition on dd-NFAs, Alanko et al. gave a polynomial-time algorithm for d≤2d \leq 2, whereas Gibney and Thankachan proved NP-completeness for every fixed d≥5d \geq 5. The computational complexity for d=3d = 3 and d=4d = 4 remained open. We resolve both open cases by extending the reduction of Gibney and Thankachan with a new encoding of clauses of Not-All-Equal 3-SAT. Specifically, we prove that recognition is NP-complete even for directed acyclic graphs over an ordered binary alphabet with a unique source reaching every vertex and total out-degree at most three at every vertex. Consequently, Wheeler graph recognition on dd-NFAs is NP-complete for every fixed d≥3d \geq 3.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.