Abstract
Simon’s congruence, denoted by \(\sim _k\), relates the words having the same subwords of length at most k. In this paper a normal form is presented for the equivalence classes of \(\sim _k\). The length of this normal form is the shortest possible. Moreover, a canonical solution of the equation \(pwq\sim _k r\) is also shown (the words p, q, r are parameters), which can be viewed as a generalization of giving a normal form for \(\sim _k\). In this paper, there can be found an algorithm with which the canonical solution can be determined in \(O((L+n)n^{k})\) time, where L denotes the length of the word pqr and n is the size of the alphabet.
Similar content being viewed by others
References
Blanchet-Sadri, F.: Games equations and dot-depth hierarchy. Comput. Math. Appl. 18, 809–822 (1989)
Blanchet-Sadri, F.: Equations and monoids varieties of dot-depth one and two. Theoret. Comput. Sci. 123, 239–258 (1994)
Karandikar, P., Kufleitner, M., Schnoebelen, P.: On the index of Simon’s congruence for piecewise testability. Inf. Process. Lett. 15(4), 515–519 (2015)
Kátai-Urbán, K., Pach, P.P., Pluhár, G., Pongrácz, A., Szabó, C.: On the word problem for syntactic monoids of piecewise testable languages. Semigroup Forum 84(2), 323–332 (2012)
Klíma, O.: Piecewise testable languages via combinatorics on words. Discrete Math. 311(20), 2124–2127 (2011)
Pach, P.P.: Solving equations under Simon’s congruence. In: Proceedings of the 9th Hungarian-Japanese Symposium on Discrete Mathematics and Its Applications, pp. 201–206 (2015)
Pin, J.E.: Varieties of Formal Languages. North Oxford Academic, Plenum (1986)
Simon, I.: Piecewise testable events. In: Proceedings of 2nd GI Conference, Lecture Notes in Computer Science, 33 214–222 (1975)
Acknowledgements
We would like to thank the anonymous referee for the careful reading of the manuscript and useful comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Dominique Perrin.
This research was supported by the National Research, Development and Innovation Office NKFIH (Grant Numbers PD115978 and K124171) and the János Bolyai Research Scholarship of the Hungarian Academy of Sciences.
Rights and permissions
About this article
Cite this article
Pach, P.P. Normal forms under Simon’s congruence. Semigroup Forum 97, 251–267 (2018). https://doi.org/10.1007/s00233-017-9910-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00233-017-9910-5