In this work we introduce the operations of unbounded and bounded prefix-suffix square reduction. We show that, in general, the time complexity of the unbounded prefix-suffix square reduction of a language increases by an n factor in comparison to the complexity of the given language. This factor is just the bound in the case of bounded prefix-suffix square reduction and is not necessary for regular languages. As a consequence, the class of regular languages is closed under unbounded and bounded prefix-suffix square reduction. We show that the class of regular languages is still closed under iterated bounded prefix-suffix square reduction, but the unbounded case remains open. We also show that there are linear languages such that their iterated unbounded prefix-suffix square reduction is not context-free and one cannot algorithmically decide when this is the case. Afterwards, we define the primitive prefix-suffix square root of a word w as a word x that can be obtained from w by iterated prefix-suffix square reductions and is irreducible, i.e., no further prefix or suffix square reduction can be applied. We prove that the language of primitive prefix-suffix square roots of all words over an alphabet is never regular for alphabets with at least two symbols in the unbounded case, and always regular in the bounded case. The papers ends with a brief discussion on some open problems and some algorithmic aspects.
Prefix-suffix square reduction / Bottoni, Paolo Gaspare; Labella, Anna; Mitrana, Victor. - In: THEORETICAL COMPUTER SCIENCE. - ISSN 0304-3975. - STAMPA. - 682:(2017), pp. 49-56. [10.1016/j.tcs.2016.12.005]
Prefix-suffix square reduction
BOTTONI, Paolo Gaspare;LABELLA, Anna;
2017
Abstract
In this work we introduce the operations of unbounded and bounded prefix-suffix square reduction. We show that, in general, the time complexity of the unbounded prefix-suffix square reduction of a language increases by an n factor in comparison to the complexity of the given language. This factor is just the bound in the case of bounded prefix-suffix square reduction and is not necessary for regular languages. As a consequence, the class of regular languages is closed under unbounded and bounded prefix-suffix square reduction. We show that the class of regular languages is still closed under iterated bounded prefix-suffix square reduction, but the unbounded case remains open. We also show that there are linear languages such that their iterated unbounded prefix-suffix square reduction is not context-free and one cannot algorithmically decide when this is the case. Afterwards, we define the primitive prefix-suffix square root of a word w as a word x that can be obtained from w by iterated prefix-suffix square reductions and is irreducible, i.e., no further prefix or suffix square reduction can be applied. We prove that the language of primitive prefix-suffix square roots of all words over an alphabet is never regular for alphabets with at least two symbols in the unbounded case, and always regular in the bounded case. The papers ends with a brief discussion on some open problems and some algorithmic aspects.File | Dimensione | Formato | |
---|---|---|---|
Labella_Prefix_2017.pdf
accesso aperto
Note: Articolo
Tipologia:
Documento in Pre-print (manoscritto inviato all'editore, precedente alla peer review)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
110.82 kB
Formato
Adobe PDF
|
110.82 kB | Adobe PDF | |
Labella_Prefix_2017.pdf
solo gestori archivio
Tipologia:
Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
310.01 kB
Formato
Adobe PDF
|
310.01 kB | Adobe PDF | Contatta l'autore |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.