Deciding Conjugacy of a Rational Relation (2307.06777v3)
Abstract: The study of rational relations is fundamental to the study of formal languages and automata theory. A rational relation is conjugate if each pair of words in the relation is conjugate (or cyclic shifts of each other). The notion of conjugacy has been central in addressing many important algorithmic questions about rational relations. We address the problem of checking whether a rational relation is conjugate and show that it is decidable. Towards our decision procedure, we establish a new result that is of independent interest to word combinatorics. We identify a necessary and sufficient condition for the set of pairs given by $(a_0,b_0) G_1* (a_1,b_1) \cdots G_k*(a_k,b_k), k \geq 0$ to be conjugate, where $G_i$ is a (not necessarily rational) conjugate relation and $a_i, b_i$ are arbitrary words. This is similar to, and a nontrivial generalisation of, a characterisation given by Lyndon and Sch\"utzenberger in 1962 for the conjugacy of a pair of words. Furthermore, our condition can be evaluated in polynomial time, yielding a PTIME procedure for deciding the conjugacy of a rational relation given as a sumfree expression. Since any arbitrary rational expression can be expressed as a sum of sumfree expressions (with an exponential blow-up), decidability of conjugacy of rational relations follows.
- The new periodicity lemma revisited. Discrete Applied Mathematics, 212:30–36, 2016.
- Squaring transducers: an efficient procedure for deciding functionality and sequentiality. Theoretical Computer Science, 292(1):45–63, 2003.
- Conjugacy and equivalence of weighted automata and functional transducers. In International Computer Science Symposium in Russia, pages 58–69. Springer, 2006.
- Mikolaj Bojanczyk. Transducers of polynomial growth. In LICS ’22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, Haifa, Israel, pages 1–27, 2022.
- On conjugacy of languages. RAIRO Theor. Informatics Appl., 35(6):535–550, 2001.
- Christian Choffrut. Une caractérisation des fonctions séquentielles et des fonctions sous-séquentielles en tant que relations rationnelles. Theoretical Computer Science, 5(3):325–337, 1977.
- Combinatorics of words. In Grzegorz Rozenberg and Arto Salomaa, editors, Handbook of Formal Languages, volume 1, pages 329–438. Springer-Verlag, 1997.
- Décomposition de fonctions rationnelles. In STACS 86: 3rd Annual Symposium on Theoretical Aspects of Computer Science Orsay, France, pages 213–226. Springer, January, 1986.
- Thomas Colcombet. The factorisation forest theorem. In Jean-Éric Pin, editor, Handbook of Automata Theory, pages 653–693. European Mathematical Society Publishing House, Zürich, Switzerland, 2021.
- Samuel Eilenberg. Automata, languages, and machines. vol. A. Pure and applied mathematics. Academic Press, 1974.
- On relations defined by generalized finite automata. IBM Journal of Research and development, 9(1):47–68, 1965.
- Mso definable string transductions and two-way finite-state transducers. ACM Trans. Comput. Logic, 2(2):216–254, April 2001.
- Transducers, logic and algebra for functions of finite words. ACM SIGLOG News, 3(3):4–19, 2016.
- Thomas V Griffiths. The unsolvability of the equivalence problem for λ𝜆\lambdaitalic_λ-free nondeterministic generalized machines. Journal of the ACM (JACM), 15(3):409–413, 1968.
- The conjugate post correspondence problem. CoRR, abs/2111.04484, 2021.
- J. Berstel. Transductions and Context-Free Languages. Teubner, Stuttgart, 1979.
- Multi-sequential word relations. Int. J. Found. Comput. Sci., 29(2):271–296, 2018.
- Juhani Karhumäki. Combinatorial and computational problems on finite sets of words. In International Conference on Machines, Computations, and Universality, pages 69–81. Springer, 2001.
- Sequential? Theor. Comput. Sci., 356(1-2):224–244, 2006.
- M. Lothaire, editor. Combinatorics on Words. Addison-Wesley, Reading, MA, 1983.
- The equation aM=bNcPsuperscript𝑎𝑀superscript𝑏𝑁superscript𝑐𝑃a^{M}=b^{N}c^{P}italic_a start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT = italic_b start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_c start_POSTSUPERSCRIPT italic_P end_POSTSUPERSCRIPT in a free group. Michigan Math. J, 9(4):289–298, 1962.
- The Many Facets of String Transducers (Invited Talk). In STACS 2019, volume 126 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:21, 2019.
- Jean-Éric Pin. Mathematical foundations of automata theory. Lecture notes IRIF, Université Paris Cité, 7:73, 2010.
- Jacques Sakarovitch. Elements of Automata Theory. Cambridge University Press, 2009.
- Marcel Paul Schützenberger. Sur une variante des fonctions sequentielles. Theor. Comput. Sci., 4(1):47–57, 1977.
- Bill Smyth. Computing patterns in strings. Pearson Education, 2003.