Papers
Topics
Authors
Recent
Search
2000 character limit reached

Wheeler Deterministic Finite Automata

Updated 6 July 2026
  • Wheeler DFAs are a subclass of deterministic finite automata that impose a unique total order on states based on co-lexicographic rules, enabling structured and efficient processing.
  • They support succinct indexing via BWT-like representations and use interval semantics to facilitate fast substring and path queries.
  • Their design allows for near-linear determinization and linear-time minimization, offering practical benefits in compressed data structures and automata analysis.

to=arxiv_search 大发快三的 亚洲男人天堂 天天中彩票派奖 天天中彩票粤ness 大发快三有json-simplified ിക്കേണ്ട { "3query3 "3\3 DFA3\3 OR 3\3 automata3\3 "max_results": 3\3query3, "sort_by": "submittedDate" } Wheeler deterministic finite automata are deterministic finite automata whose states admit a total order compatible with both the co-lexicographic order of source-to-state path labels and the transition structure. In this setting, state order is not an auxiliary annotation but a structural invariant: it supports BWT-like representations, interval semantics for path queries, and efficient pattern matching on the substring closure of the recognized language. The regular languages admitting such an automaton are the Wheeler languages, a proper subclass of the regular languages and, in fact, a subclass of the star-free languages (&&&3query3&&&, &&&3\3&&&, &&&3 OR \3&&&).

3\3. Definition and order-theoretic foundations

Let PRESERVED_PLACEHOLDER_3query3^ be a DFA, with PRESERVED_PLACEHOLDER_3\3^ equipped with a total order PRESERVED_PLACEHOLDER_3 OR \3. The co-lexicographic order on Σ\Sigma^* compares words from right to left: ϵα\epsilon \prec \alpha for every non-empty α\alpha, and if α=αa\alpha=\alpha' a and β=βb\beta=\beta' b, then

αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').

For each state uu, one writes

PRESERVED_PLACEHOLDER_3\3query3^

the set of strings reaching PRESERVED_PLACEHOLDER_3\3\3^ from the source.

A Wheeler DFA is a DFA for which there exists a total order PRESERVED_PLACEHOLDER_3\3 OR \3^ on PRESERVED_PLACEHOLDER_3\33^ such that PRESERVED_PLACEHOLDER_3\34 for every PRESERVED_PLACEHOLDER_3\35, and whenever PRESERVED_PLACEHOLDER_3\36 and PRESERVED_PLACEHOLDER_3\37, the following hold: if PRESERVED_PLACEHOLDER_3\38, then PRESERVED_PLACEHOLDER_3\39; if PRESERVED_PLACEHOLDER_3 OR \3query3, PRESERVED_PLACEHOLDER_3 OR \3\3, and PRESERVED_PLACEHOLDER_3 OR \3 OR \3, then PRESERVED_PLACEHOLDER_3 OR \33. An equivalent global formulation orders states by the sets PRESERVED_PLACEHOLDER_3 OR \34: define

PRESERVED_PLACEHOLDER_3 OR \35

A DFA is Wheeler if and only if PRESERVED_PLACEHOLDER_3 OR \36 is a total order; in that case, it is the unique Wheeler order (&&&3query3&&&).

A direct consequence is input consistency: all incoming edges of a state carry the same label. This permits the definition of a well-defined incoming-label map PRESERVED_PLACEHOLDER_3 OR \37 on states other than the source, and it is one of the reasons Wheeler automata align so closely with BWT-style indexing. The order is therefore simultaneously an order on states, an order on incoming contexts, and a constraint on admissible transition geometries (D'Agostino et al., 2021).

3 OR \3. Wheeler languages, convexity, and canonical structure

A Wheeler language is a regular language recognized by some Wheeler automaton. Wheeler NFAs and Wheeler DFAs have the same expressive power, so the language class can be defined using either model. The class is strictly smaller than the class of regular languages, and it sits inside the star-free languages (&&&3query3&&&, &&&3 OR \3&&&).

One of the central structural properties of Wheeler DFAs is path coherence. If the states are arranged in Wheeler order, then for every interval of states PRESERVED_PLACEHOLDER_3 OR \38 and every word PRESERVED_PLACEHOLDER_3 OR \39, the set of states reachable from some state in Σ\Sigma^*3query3^ by reading Σ\Sigma^*3\3^ is again an interval. This interval behavior is the automata-theoretic analogue of the suffix-array interval property behind the BWT and FM-index (D'Agostino et al., 2021).

The language-theoretic counterpart is a refinement of Myhill–Nerode equivalence. For a language Σ\Sigma^*3 OR \3, the usual right-context equivalence is

Σ\Sigma^*3

For Wheeler languages, one refines this to an input-consistent, co-lex convex equivalence Σ\Sigma^*4: Σ\Sigma^*5 when Σ\Sigma^*6, the two words end with the same character, and every prefix lying between them in co-lex order remains in the same Σ\Sigma^*7-class. The resulting theorem is a Myhill–Nerode theorem specialized to Wheeler languages: Σ\Sigma^*8 is Wheeler if and only if Σ\Sigma^*9 has finite index, and the minimum WDFA recognizing ϵα\epsilon \prec \alpha3query3^ has one state per ϵα\epsilon \prec \alpha3\3-class (D'Agostino et al., 2021).

A complementary characterization states that a regular language is Wheeler if and only if all monotone sequences in ϵα\epsilon \prec \alpha3 OR \3^ become eventually constant modulo ϵα\epsilon \prec \alpha3. This places the Wheeler condition squarely at the interface between order theory and right-congruence theory (D'Agostino et al., 2021).

3. Determinization and minimization

Determinization within the Wheeler class is substantially more controlled than general NFA determinization. Given a Wheeler NFA ϵα\epsilon \prec \alpha4, the canonical Wheeler determinization ϵα\epsilon \prec \alpha5 has state set

ϵα\epsilon \prec \alpha6

where ϵα\epsilon \prec \alpha7 is the interval of vertices reachable by ϵα\epsilon \prec \alpha8 from the source. This interval automaton satisfies

ϵα\epsilon \prec \alpha9

Accordingly, Wheeler determinization has polynomial, in fact near-linear, blow-up, in contrast with the exponential blow-up of general NFA determinization (&&&3\3query3&&&).

Recent work sharpened the algorithmic side of this picture. Given a sorted Wheeler NFA α\alpha3query3, its Wheeler determinization can be constructed in

α\alpha3\3^

time, improving the earlier α\alpha3 OR \3^ bound. Since α\alpha3, α\alpha4, and α\alpha5, this is α\alpha6 on sorted inputs, and for α\alpha7 it is the first linear-time Wheeler determinization algorithm. The bound is tight: there are sorted inputs for which the minimum WDFA has α\alpha8 edges (&&&3\3query3&&&).

Minimization is equally distinctive. For general DFAs, Hopcroft’s algorithm gives α\alpha9 time. For WDFAs, the minimum equivalent WDFA can be computed in linear α=αa\alpha=\alpha' a3query3^ time. The algorithm exploits the fact that WDFA equivalence classes form runs in Wheeler order and identifies their borders through a sparse border graph, rather than through general partition refinement. On de Bruijn WDFAs built from real DNA datasets, an implementation “reduces the number of nodes from 3\34% to 53\3% at a speed of more than 3\3^ million nodes per second” (&&&3\3&&&).

4. Succinct indexing and pattern matching

The primary algorithmic importance of WDFAs lies in succinct indexing. A Wheeler automaton with alphabet size α=αa\alpha=\alpha' a3\3^ can be stored in just α=αa\alpha=\alpha' a3 OR \3^ bits per edge and indexed for substring queries with auxiliary succinct data structures. In this representation, WDFAs support optimal-time pattern matching queries on the substring closure of the language they recognize (&&&3\3&&&).

The interval semantics given by path coherence is the crucial enabler. Pattern matching generalizes FM-index backward search: a pattern corresponds to a contiguous interval of states in Wheeler order, and extension by a letter corresponds to an interval update. This viewpoint has supported several WDFA analogues of classical string-indexing primitives (&&&3\34&&&).

One notable example is the generalization of matching statistics from strings to WDFAs. That work introduces a notion of LCP array for Wheeler automata, built from extremal backward contexts associated with states, and proves that the pattern matching statistics of a pattern α=αa\alpha=\alpha' a3 can be computed in time α=αa\alpha=\alpha' a4 using an α=αa\alpha=\alpha' a5-word data structure (&&&3\35&&&).

A more recent development targets the cache behavior of Wheeler indexes. The Graph Suffix Array for WDFAs uses the ordering of infimum and supremum strings, together with a suffix-array-like search strategy, to reduce the number of I/O operations. The data structure uses α=αa\alpha=\alpha' a6 RAM words and locates occurrences of a pattern α=αa\alpha=\alpha' a7 of length α=αa\alpha=\alpha' a8 with

α=αa\alpha=\alpha' a9

I/Os, where β=βb\beta=\beta' b3query3^ is the number of unary paths traversed in the final graph-navigation phase. Empirically, this structure uses up to 3\35 times the space of forward search, but it can be 53query3query3^ times faster and process a single character in less than 3 ns on deterministic Wheeler pangenome graphs (&&&3\34&&&).

5. Recognition, hardness, and structural boundaries

Two recognition problems must be distinguished. The first asks whether a given DFA is itself Wheeler. The second asks whether the language of a given DFA is Wheeler, possibly via a different equivalent WDFA. The second is the more subtle language-level problem.

For DFAs with β=βb\beta=\beta' b3\3^ states and β=βb\beta=\beta' b3 OR \3^ transitions, Wheeler-language recognition can be solved in

β=βb\beta=\beta' b3

where β=βb\beta=\beta' b4 is the co-lex width of the minimal DFA. This improves the earlier β=βb\beta=\beta' b5 bound. The same work proves a conditional matching lower bound: unless SETH fails, the problem cannot be solved in strongly subquadratic time. In the NFA case, the same problem is PSPACE-complete (&&&3query3&&&).

The broader complexity landscape is sharply stratified. On DFAs and reduced NFAs, several Wheeler-related decision problems are polynomial. But when one moves to arbitrary NFAs or allows the alphabet order itself to vary, hardness appears quickly. In particular, deciding whether a given NFA is Wheeler is NP-complete; deciding whether the language of a given NFA is Wheeler is PSPACE-complete; and deciding whether a DFA or a language is generalized Wheeler, meaning Wheeler for some alphabet order, is NP-complete (D'Agostino et al., 2021).

A recent refinement removes dependence on a specific alphabet order by introducing universally Wheeler languages, those that are Wheeler with respect to all orders of the alphabet. The class β=βb\beta=\beta' b6 of Strictly Locally Testable languages is strictly included in β=βb\beta=\beta' b7. At the same time, β=βb\beta=\beta' b8 is not closed under complement, and the languages for which both β=βb\beta=\beta' b9 and αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').3query3^ are in αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').3\3^ are exactly the Definite or Reverse Definite languages. Deciding whether a regular language given by a DFA is in αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').3 OR \3^ can be done in quadratic time, and this is optimal unless SETH fails (&&&3\39&&&).

6. Extensions and broader developments

WDFAs occupy the width-αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').3 point of a broader theory of co-lex ordering. For arbitrary DFAs, the canonical maximum co-lex order is a partial order whose width measures how far the automaton is from being Wheeler. Faster prefix-sorting algorithms compute this structure in αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').4 and αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').5 time for arbitrary DFAs, and in αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').6 time for acyclic DFAs. In this framework, a WDFA is exactly a DFA of co-lex width αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').7 (&&&3 OR \3query3&&&).

The Wheeler viewpoint also extends beyond recognizers. Sequential Wheeler transducers combine a Wheeler DFA on the input side with a monotonicity requirement on outputs. This class is closed under composition, Wheeler languages are closed under inverse image of Wheeler transductions, and a Myhill–Nerode-style theorem characterizes exactly the functions realizable by a sequential Wheeler transducer via a refined congruence αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').8 (&&&3 OR \3&&&).

At the automata-theoretic level, Wheeler bisimulations refine classical bisimulation by enforcing convexity with respect to Wheeler order. Standard bisimulation is not sufficient: its minimal quotient can fail to be Wheeler. Wheeler bisimulations, by contrast, induce a unique minimal Wheeler NFA, and in the deterministic case they recover the minimum Wheeler deterministic automaton of a language. The corresponding quotient can be built in linear time (&&&3 OR \3 OR \3&&&).

Finally, random-generation and succinct-representation questions have also been developed specifically for WDFAs. A uniform generator for WDFAs with αβ    (ab)  (a=bαβ).\alpha \prec \beta \iff (a \prec b)\ \vee\ (a=b \wedge \alpha' \prec \beta').9 states, uu3query3^ transitions, and alphabet size uu3\3^ runs in uu3 OR \3^ expected time and uu3 worst-case time with high probability, using constant working space, for all alphabets of size uu4. The same work proves that

uu5

bits are necessary and sufficient to encode a WDFA with uu6 states and alphabet of size uu7, up to an additive uu8 term (&&&3 OR \33&&&).

Wheeler DFAs are therefore best understood not merely as an automata subclass but as a canonical interface between regular-language structure, co-lex order, and compressed indexing. Their distinctive features are the uniqueness of the Wheeler order, interval semantics for path queries, tractable determinization and minimization inside the Wheeler class, and a rapidly expanding theory linking automata, language classes, transductions, bisimulations, and succinct data structures.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Wheeler Deterministic Finite Automata (DFAs).