Semigroup Forum

, Volume 84, Issue 3, pp 447–471 | Cite as

Deciding context equivalence of binary overlap-free words in linear time

RESEARCH ARTICLE

Abstract

We study the structure of the language of binary overlap-free words, which is one of the classical objects in combinatorics of words and formal languages. In a natural way, this study requires a solution to the word problem for the syntactic monoid of the language. In this paper we present an algorithm that efficiently solves this word problem. Namely, the time complexity of the algorithm is linear in the total length of compared words.

Keywords

Overlap-free words Syntactic monoid Word problem Context equivalence 

Notes

Acknowledgements

The author acknowledges support from the Russian Foundation for Basic Research, grant 10-01-00793.

References

  1. 1.
    Berstel, J., Séébold, P.: A characterization of overlap-free morphisms. Discrete Appl. Math. 46(3), 275–281 (1993) MathSciNetMATHCrossRefGoogle Scholar
  2. 2.
    Fife, E.D.: Binary sequences which contain no BBb. Trans. Am. Math. Soc. 261, 115–136 (1980) MathSciNetMATHGoogle Scholar
  3. 3.
    Gottschalk, W.H., Hedlund, G.A.: A characterization of the Morse minimal set. Proc. Am. Math. Soc. 15, 70–74 (1964) MathSciNetMATHCrossRefGoogle Scholar
  4. 4.
    Jungers, R.M., Protasov, V.Y., Blondel, V.D.: Overlap-free words and spectra of matrices. Theor. Comput. Sci. 410, 3670–3684 (2009) MathSciNetMATHCrossRefGoogle Scholar
  5. 5.
    Karhumäki, J., Shallit, J.: Polynomial versus exponential growth in repetition-free binary words. J. Comb. Theory, Ser. A 104, 335–347 (2004) CrossRefGoogle Scholar
  6. 6.
    Kfoury, A.J.: A linear-time algorithm to decide whether a binary word contains an overlap. RAIRO Inform. Theor. Appl. 22, 135–145 (1988) MathSciNetMATHGoogle Scholar
  7. 7.
    Klepinin, A.V.: On syntactic congruences of uniformly recurrent languages. Proc. Ural State Univ. Ser. Comput. Sci. 1(43), 38–44 (2006) (in Russian) Google Scholar
  8. 8.
    Rampersad, N.: Words avoiding (7/3)-powers and the Thue–Morse morphism. Int. J. Foundat. Comput. Sci. 16, 755–766 (2005) MathSciNetMATHCrossRefGoogle Scholar
  9. 9.
    Restivo, A., Salemi, S.: Overlap free words on two symbols. In: Automata on Infinite Words. Ecole de Printemps d’Informatique Theorique, Le Mont Dore, 1984. LNCS, vol. 192, pp. 198–206. Heidelberg: Springer (1985) Google Scholar
  10. 10.
    Séébold, P.: Overlap-free sequences. In: Automata on Infinite Words. Ecole de Printemps d’Informatique Theorique, Le Mont Dore, 1984. LNCS, vol. 192, pp. 207–215. Heidelberg: Springer (1985) Google Scholar
  11. 11.
    Shur, A.M.: Overlap-free words and Thue-Morse sequences, Int. J. Algebra Comput. 6, 353–367 (1996) MathSciNetMATHCrossRefGoogle Scholar
  12. 12.
    Shur, A.M.: Syntactic semigroups of avoidable languages, Sib. Mat. Zh. 39(3), 683–702 (1998) (in Russian; Engl. Transl. in Siberian Math. J. 39(3), 594–610 (1998)) MathSciNetMATHCrossRefGoogle Scholar
  13. 13.
    Shur, A.M.: The structure of the set of cube-free Z-words in a two-letter alphabet. Izv. Ross. Akad. Nauk, Ser. Mat. 64(4), 201–224 (2000) (in Russian; Engl. Transl. in Izv. Math. 64(4), 847–871 (2000)) MathSciNetGoogle Scholar
  14. 14.
    Thue, A.: Über unendliche Zeichenreihen, Kra. Vidensk. Selsk. Skrifter. I. Mat.-Nat. Kl. 7(Christiana), 1–22 (1906) Google Scholar
  15. 15.
    Thue, A.: Über die gegenseitige Lage gleicher Teile gewisser Zeichenreihen, Norske Vid. Selsk. Skr. I, Mat. Nat. Kl. 1(Christiana), 1–67 (1912) Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2012

Authors and Affiliations

  1. 1.Institute of Mathematics and Computer ScienceUral Federal UniversityEkaterinburgRussia

Personalised recommendations