Polynomial-time algorithm for fixed points of nontrivial morphisms

A word w is a fixed point of a nontrivial morphism h if w=h(w) and h is not the identity on the alphabet of w. The paper presents the first polynomial algorithm deciding whether a given finite word is such a fixed point. The algorithm also constructs the corresponding morphism, which has the smallest possible number of non-erased letters.

[1]  Daniel Reidenbach,et al.  Morphically primitive words , 2009, Theor. Comput. Sci..

[2]  Tom Head,et al.  Fixed languages and the adult languages of ol schemest , 1981 .

[3]  Tom Head,et al.  Fixed and Stationary ω —Words and ω —Languages , 1986 .

[4]  Jeffrey Shallit,et al.  On two-sided infinite fixed points of morphisms , 1999, Theor. Comput. Sci..

[5]  Grzegorz Rozenberg,et al.  The Book of L , 1986, Springer Berlin Heidelberg.

[6]  Andrzej Ehrenfeucht,et al.  Finding a Homomorphism Between Two Words is NP-Complete , 1979, Inf. Process. Lett..