journal article Apr 07, 2026

Recognizing Completely Reachable Automata in Quadratic Time

Abstract
A complete deterministic finite (semi)automaton (DFA) with a set of states

\( Q \)

is
completely reachable
if every nonempty subset of

\( Q \)

is the image of the action of some word applied to

\( Q \)

. The concept of completely reachable automata appeared, in particular, in connection with synchronizing automata; the class contains the Černý automata and covers several distinguished subclasses. The notion was introduced by Bondar and Volkov (2016), who also raised the question about the complexity of deciding whether an automaton is completely reachable. We develop an algorithm solving this problem, which works in

\({\mathcal{O}(|\Sigma|\cdot n^{2})}\)

time and

\(\mathcal{O}(|\Sigma|\cdot n)\)

space, where

\(n=|Q|\)

is the number of states and

\(|\Sigma|\)

is the size of the input alphabet. In the second part, we prove a weak Don’s conjecture for this class of automata: a nonempty subset of states

\(S\subseteq Q\)

is reachable with a word of length at most

\(2n(n-|S|)-n\cdot H_{n-|S|}\)

, where

\(H_{i}\)

is the

\( i \)

th harmonic number. This implies a quadratic upper bound in

\( n \)

on the length of the shortest synchronizing words (reset threshold) for the class of completely reachable automata and generalizes earlier upper bounds derived for its subclasses.
Topics

No keywords indexed for this article. Browse by subject →

References
36
[3]
M. V. Berlinkov, R. Ferens, A. Ryzhikov, and M. Szykuła. 2021. Synchronizing strongly connected partial DFAs. In Proceedings of the 38th International Symposium on Theoretical Aspects of Computer Science (STACS ’21), Vol. 187, Schloss Dagstuhl, 1–16.
[10]
D. Casas and M. V. Volkov. 2024. Don’s conjecture for binary completely reachable automata: An approach and its limitations. Journal of Automata Languages and Combinatorics29 (2024) 159–175.
[11]
J. Černý. 1964. Poznámka k homogénnym experimentom s konečnými automatami. Matematicko-Fyzikálny Časopis Slovenskej Akadémie Vied 14, 3 (1964), 208–216.
[13]
C.-P. Chen and F. Qi. 2008. The best bounds of the nth harmonic number. The Global Journal of Applied Mathematics & Mathematical Sciences 1, 1 (2008), 41–49.
[16]
R. Ferens and M. Szykuła. 2023. Completely reachable automata: A polynomial algorithm and quadratic upper bounds. In Proceedings of the 50th International Colloquium on Automata, Languages, and Programming (ICALP ’23). Kousha Etessami, Uriel Feige, and Gabriele Puppis (Eds.), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 261. Schloss Dagstuhl—Leibniz-Zentrum für Informatik, 1–17.
[17]
R. Ferens, M. Szykuła, and V. Vorel. 2021. Lower bounds on avoiding thresholds. In Proceedings of the 46th International Symposium on Mathematical Foundations of Computer Science (MFCS ’21). Filippo Bonchi and Simon J. Puglisi (Eds.), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 202. Schloss Dagstuhl, 1–46.
[18]
F. Gonze, V. V. Gusev, B. Gerencser, R. M. Jungers, and M. V. Volkov. 2017. On the interplay between Babai and Černý’s conjectures. In Proceedings of the 21st International Conference on Developments in Language Theory (DLT ’17), Émilie Charlier, Julien Leroy, and Michel Rigo (Eds.), Lecture Notes in Computer Science, Vol. 10396, Springer, 185–197.
[19]
F. Gonze and R. M. Jungers. 2019. Hardly reachable subsets and completely reachable automata with 1-deficient words. Journal of Automata, Languages and Combinatorics 24, 2–4 (2019), 321–342.
[31]
Y. Shitov. 2019. An improvement to a recent upper bound for synchronizing words of finite automata. Journal of Automata, Languages and Combinatorics 24, 2–4 (2019), 367–373.
[32]
M. Szykuła. 2018. Improving the upper bound on the length of the shortest reset word. In Proceedings of the 35th Symposium on Theoretical Aspects of Computer Science (STACS ’18). Schloss Dagstuhl—Leibniz-Zentrum fuer Informatik, 1–13.
[35]
Y. Zhu. 2024. A quadratic upper bound on the reset thresholds of synchronizing automata containing a transitive permutation group. In Proceedings of the 44th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS ’24). Leibniz International Proceedings in Informatics, Vol. 323, Siddharth Barman and Sławomir Lasota (Eds.), Schloss Dagstuhl—Leibniz-Zentrum für Informatik, 1–14.
[36]
Y. Zhu. 2024. Around Don’s conjecture for binary completely reachable automata. In Proceedings of the 28th International Conference on Developments in Language Theory (DLT ’24), Joel D. Day and Florin Manea (Eds.), Springer, 282–295.
Metrics
0
Citations
36
References
Details
Published
Apr 07, 2026
Vol/Issue
22(2)
Pages
1-36
Funding
National Science Centre (Narodowe Centrum Nauki), Poland Award: 2021/41/B/ST6/03691
Cite This Article
Robert Ferens, Marek Szykuła (2026). Recognizing Completely Reachable Automata in Quadratic Time. ACM Transactions on Algorithms, 22(2), 1-36. https://doi.org/10.1145/3798283
Related

You May Also Like

Fully Functional Static and Dynamic Succinct Trees

Gonzalo Navarro, Kunihiko Sadakane · 2014

131 citations

Distributed Dominating Set Approximations beyond Planar Graphs

Saeed Akhoondian Amiri, Stefan Schmid · 2019

16 citations

Waste Makes Haste

Erel Segal-Halevi, Avinatan Hassidim · 2016

7 citations