Recognition: unknown
Nondeterministic state complexity of square root
Pith reviewed 2026-05-10 14:44 UTC · model grok-4.3
The pith
The square root of a language accepted by an n-state NFA requires an NFA with up to n^3 states in the worst case.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
For regular languages accepted by n-state nondeterministic finite automata, the square-root operation can always be realized by an NFA with n^3 states, and this number is tight because there are languages where n^3 states are required.
What carries the argument
A specific family of witness languages accepted by n-state NFAs whose square roots force any accepting NFA to have at least n^3 states, combined with the general cubic upper-bound construction.
If this is right
- The square-root operation on regular languages has nondeterministic state complexity exactly n^3 in the worst case.
- Any language accepted by an n-state NFA has its square root accepted by some NFA with at most n^3 states.
- There exist languages accepted by n-state NFAs requiring at least n^3 states for their square roots.
- The previous gap between the n^3 upper bound and the roughly n^3 lower bound is now closed.
Where Pith is reading between the lines
- This result suggests that similar cubic bounds might hold for other language operations involving concatenation or repetition.
- The construction techniques may apply to proving tight bounds for state complexity of other derived languages.
- Researchers could investigate the deterministic state complexity of the same operation to compare it with the nondeterministic case.
Load-bearing premise
There is a family of languages, each accepted by an n-state NFA, such that no smaller than n^3 state NFA can accept their square roots.
What would settle it
Constructing an n-state NFA accepting a language L for which sqrt(L) is accepted by an NFA with o(n^3) states as n grows large.
read the original abstract
We investigate the nondeterministic state complexity of the square-root operation $\sqrt{L}=\{\,w \mid ww\in L\,\}$ on regular languages represented by nondeterministic finite automata. For an $n$-state NFA accepting $L$, it was previously known that $\sqrt{L}$ can be accepted by an NFA with at most $n^{3}$ states, while the best lower bound was only (n-1)(n-2)(n-3). In this paper, we close this gap completely and prove that $n^{3}$ states are sufficient and necessary in the worst case.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript proves that the nondeterministic state complexity of the square-root operation √L = {w | ww ∈ L} is exactly n³ in the worst case. It establishes an upper bound of n³ states for an NFA accepting √L when L is accepted by an n-state NFA, and supplies an explicit family of n-state NFAs for which any NFA accepting √L requires n³ states, improving the prior lower bound of (n-1)(n-2)(n-3).
Significance. If the proofs hold, the result closes the gap in the literature on NFA state complexity of regular-language operations by establishing a tight Θ(n³) bound. The explicit construction witnessing the matching lower bound is a concrete strength, as is the direct (non-asymptotic) nature of the argument.
minor comments (2)
- [§4] §4, construction of the lower-bound family: the transition function on the 'witness' states is described only by cases; an explicit table or diagram for small n would improve verifiability.
- [§3] The proof of the upper bound (already known) is sketched rather than fully re-derived; a one-paragraph recap of the n³ construction would make the manuscript self-contained.
Simulated Author's Rebuttal
We thank the referee for the careful reading and positive evaluation of our manuscript. The referee's summary correctly identifies the main result: a tight n³ bound on the nondeterministic state complexity of the square-root operation. No major comments were raised in the report, so we have no specific points to address. We will make any minor editorial changes requested by the editor during the revision.
Circularity Check
No significant circularity; bounds proved by explicit construction
full rationale
The paper establishes an upper bound of n^3 states for an NFA accepting sqrt(L) (previously known) and a matching lower bound via an explicit family of n-state NFAs. No self-definitional equations, fitted parameters renamed as predictions, or load-bearing self-citations appear; the lower-bound witness is constructed directly from the definition of sqrt(L) without reducing to prior results by the same authors. The derivation chain is self-contained against external automata constructions.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Standard properties of NFAs and regular language operations
Reference graph
Works this paper leans on
-
[1]
Holzer and Kutrib, Nondeterministic Descriptional Complexity of Regular Languages,International Journal of Foundations of Computer Science, 14(6):1087–1102, 2003
2003
-
[2]
Okhotin and Salomaa, Further Closure Properties of Input-Driven Pushdown Automata,Theoretical Computer Science, 798:65–77, 2019
2019
-
[3]
Caron, Hamel-De Le Court, Luque, and Patrou, New Tools for State Complexity,Discrete Mathematics & Theoret- ical Computer Science, 22(1), article 9, 2020
2020
-
[4]
Maslov, Estimates of the Number of States of Finite Automata,Soviet Mathematics Doklady, 11(5):1373–1375, 1970
1970
-
[5]
Birget, J.-C., Intersection and union of regular languages and state complexity,Information Processing Letters, 43(4), 185–190, 1992
1992
-
[6]
S. Yu, Q. Zhuang, and K. Salomaa, The state complexities of some basic operations on regular languages,Theoret- ical Computer Science, 125(2):315–328, 1994
1994
-
[7]
Salomaa, D
A. Salomaa, D. Wood, and S. Yu, On the state complexity of reversals of regular languages,Theoretical Computer Science, 320(2–3):315–329, 2004
2004
-
[8]
Domaratzki and A
M. Domaratzki and A. Okhotin, State complexity of power,Theoretical Computer Science, 410(24–25):2377–2392, 2009
2009
-
[9]
Jirásková and A
G. Jirásková and A. Okhotin, State complexity of cyclic shift,RAIRO – Theoretical Informatics and Applications, 42(2):335–360, 2008
2008
-
[10]
Y.-S. Han, K. Salomaa, and D. Wood, Nondeterministic state complexity of basic operations for prefix-free regular languages,Fundamenta Informaticae, 90(1–2):93–106, 2009
2009
-
[11]
Goˇ c, A
D. Goˇ c, A. Palioudakis, and K. Salomaa, Nondeterministic state complexity of proportional removals,Interna- tional Journal of Foundations of Computer Science, 25(7):823–835, 2014
2014
-
[12]
Hospodár, J
M. Hospodár, J. Jirásek, G. Jirásková, and J. Šebej, Operational complexity: NFA-to-DFA trade-off,Information and Computation, 307:105369, 2025
2025
-
[13]
B. Cui, Y. Gao, L. Kari, and S. Yu, State complexity of combined operations with two basic operations,Theoretical Computer Science, 437:82–102, 2012. 5
2012
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.