arXiv:2608.22271cs.FLAug 2026

Manuscript Offprint

arXiv:2608.22271

Exact versus unique nondeterministic automatic complexity

Bjørn Kjos-Hanssen, Travis Rivera Petit

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

BJØRN KJOS-HANSSEN AND TRAVIS RIVERA PETIT

ABSTRACT. The exact nondeterministic automatic complexity ANe(x)A_{Ne}(x) of a word xx is the minimum number of states of a nondeterministic finite automaton that accepts xx and no other word of length ∣x∣|x|; the unique nondeterministic automatic complexity AN(x)A_N(x) additionally requires the accepting computation to be unique. Chen, Kjos-Hanssen, Koswara, Richter, and Stephan (FSTTCS 2025) asked whether the two measures can differ. We answer this affirmatively: the binary word w=1101000000100w = 1101000000100 satisfies ANe(w)=6<7=AN(w)A_{Ne}(w) = 6 < 7 = A_N(w). The separation is witnessed by a 6-state automaton whose sole accepted word of length 13 is ww, accepted along exactly three computation paths. The matching lower bounds were established by exhaustive search and by SAT solvers, with proofs of unsatisfiability certified in the DRAT format. An exhaustive census shows that 13 is the least length of a separating word over any alphabet, binary or not, and that up to renaming of letters the separating words of length 13 are precisely 365 letter-mergings of the single seven-letter word 0123444445126, all with ANe=6<7=ANA_{Ne} = 6 < 7 = A_N; exactly eight of them are binary. The separating word and the core of the verification were found by an artificial intelligence agent.

1. INTRODUCTION

The automatic complexity of a finite word, introduced by Shallit and Wang [11] as an automaton-based analogue of Kolmogorov complexity, is the minimum size of a finite automaton that singles the word out among all words of the same length. Hyde and Kjos-Hanssen [6, 7] extended the definition to nondeterministic automata by requiring that the automaton accept the given word by a unique computation path; see the book [9] for a survey of the area.

For nondeterministic automata the requirement of a unique accepting path is not the only natural way to formalize “singling out” a word. Chen, Kjos-Hanssen, Koswara, Richter, and Stephan [3] studied the variant ANeA_{Ne} in which the automaton must accept the target word and reject all other words of the same length, while being free to accept the target along several computation paths. In fact, this question goes back a decade [10]. Since a uniquely accepting automaton is in particular exactly accepting, ANe(x)≤AN(x)A_{Ne}(x) \leq A_N(x) for every word xx. Whether the inequality can be strict was posed as Question 48 of [3]: does there exist x∈{0,1}∗x \in \{0,1\}^* with ANe(x)<AN(x)A_{Ne}(x) < A_N(x)? As noted there, a positive answer shows that nondeterministic automatic complexity genuinely depends on whether one counts accepted words or accepting paths.

In this note we answer the question affirmatively.

Theorem 1.1. Let w=1101000000100w = 1101000000100. Then ANe(w)=6A_{Ne}(w) = 6 and AN(w)=7A_N(w) = 7.

The upper bound ANe(w)≤6A_{Ne}(w) \leq 6 is witnessed by the six-state automaton MM of Figure 1, which accepts no word of length 13 other than ww, and accepts ww along exactly three paths; we give a short self-contained proof in Section 3. The lower bounds (Sections 4–5) are finite but large

Date: August 21, 2026.

This work was partially supported by a grant from the Simons Foundation.

BJØRN KJOS-HANSSEN AND TRAVIS RIVERA PETIT

case analyses; they were carried out by computer, in independent implementations, and the unsatisfiability results were additionally certified by machine-checkable DRAT proofs [12]. An exhaustive census (Section 6) yields the following complements to Theorem 1.1.

Theorem 1.2. Let x be a word over an arbitrary finite alphabet.

(1) If ∣x∣≤12|x| \leq 12 then ANe(x)=AN(x)A_{Ne}(x) = A_N(x).

(2) If ∣x∣=13|x| = 13 then ANe(x)<AN(x)A_{Ne}(x) < A_N(x) if and only if xx arises from the seven-letter word

x∗=0123444445126x^{*}=0123444445126

by identifying some of its letters and renaming letters injectively, where the identification belongs to a set of exactly 365 of the B7=877B_7 = 877 possible identifications. In every such case ANe(x)=6A_{Ne}(x) = 6 and AN(x)=7A_N(x) = 7.

In particular, up to injective renaming of letters there are exactly 4 separating words of length 13 using exactly 2 letters, namely 1101000000100 and 0101000001100 and their reversals, and exactly 75, 170, 97, 18, and 1 using exactly 3, 4, 5, 6, and 7 letters, respectively; and no separating word of any length less than 13 exists over any alphabet.

The word w and the automaton M, together with the essential parts of the verification, were found on 21 August 2026 by an artificial intelligence agent (OpenAI's ChatGPT 5.6 Sol) prompted by the first author; the verification was independently repeated, and Theorem 1.2 added, by a second agent (Anthropic's Claude Fable 5), the census over larger alphabets having been suggested by the authors. Section 7 describes this process.