We consider de Bruijn words and their recognition by finite automata. While on one-way nondeterministic automata the recognition of de Bruijn words of order k requires exponentially many states in k, we show a family of de Bruijn words such that the word wk of order k, for k>0, can be recognized by a deterministic two-way finite automaton with O(k3) states. Using this result we are able to obtain an exponential-size separation from deterministic two-way finite automata to equivalent context-free grammars. We also show how wk can be generated by a 1-limited automaton with O(k3) states and a constant-size work alphabet. This allows to obtain small 1-limited automata for certain unary languages and to show an exponential-size separation from unary deterministic 1-limited automata to equivalent deterministic pushdown automata.
Two-Way Machines and de Bruijn Words / G. Pighizzini, L. Prigioniero (LECTURE NOTES IN COMPUTER SCIENCE). - In: Implementation and Application of Automata / [a cura di] B. Nagy. - [s.l] : Springer, 2023. - ISBN 978-3-031-40246-3. - pp. 254-265 (( Intervento presentato al 27. convegno International Conference on Implementation and Application of Automata tenutosi a Famagusta nel 2023 [10.1007/978-3-031-40247-0_19].
Two-Way Machines and de Bruijn Words
G. Pighizzini;L. Prigioniero
2023
Abstract
We consider de Bruijn words and their recognition by finite automata. While on one-way nondeterministic automata the recognition of de Bruijn words of order k requires exponentially many states in k, we show a family of de Bruijn words such that the word wk of order k, for k>0, can be recognized by a deterministic two-way finite automaton with O(k3) states. Using this result we are able to obtain an exponential-size separation from deterministic two-way finite automata to equivalent context-free grammars. We also show how wk can be generated by a 1-limited automaton with O(k3) states and a constant-size work alphabet. This allows to obtain small 1-limited automata for certain unary languages and to show an exponential-size separation from unary deterministic 1-limited automata to equivalent deterministic pushdown automata.File | Dimensione | Formato | |
---|---|---|---|
1la-de_bruijn.pdf
accesso riservato
Tipologia:
Post-print, accepted manuscript ecc. (versione accettata dall'editore)
Dimensione
372.62 kB
Formato
Adobe PDF
|
372.62 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
978-3-031-40247-0_19.pdf
accesso riservato
Tipologia:
Publisher's version/PDF
Dimensione
290.19 kB
Formato
Adobe PDF
|
290.19 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.