Abstract
The commutative closure operation, which corresponds to the Parikh image, is a natural operation on formal languages occurring in verification and model-checking. Commutative closures of regular languages correspond to semilinear sets and, by Parikh’s theorem, to the commutative closures of context-free languages. The commutative closure is not regularity-preserving on the class of regular languages, for example already the commutative closure of the simple language \((ab)^*\) is not regular. Here, we show that the commutative closure of a binary regular language accepted by a circular automaton yields a regular language. Then, we deduce a sufficient condition on the cycles in automata for regularity of the commutative closure. This yields this property, for example, for the following classes of automata: automata with threshold one transformation semigroups, automata with simple idempotents and almost-group automata. The fact that the commutative closure on group languages and polynomials of group languages is regularity-preserving is known in the literature. Polynomials of group languages correspond to level one-half of the group hierarchy. We also show that on the next level in this hierarchy, i.e., level one, this property is lost and the commutative closure is no longer regularity-preserving. Lastly, we give a binary circular automaton not contained in the largest proper positive variety \(\mathcal W\) closed under shuffle and commutative closure.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
A language is cofinite if its complement is finite.
- 2.
We note that this result can be stated a little more general using so-called chains of simple semigroups and well-quasi order arguments due to Kunc [26] but which we leave out due to space.
- 3.
See Sect. 8 for a simpler example due to an anonymous reviewer.
- 4.
We note that it follows easily from results in the literature that languages accepted by binary circular automata are not in the other classes mentioned in this work closed for commutation.
- 5.
For the definition of monoids and semigroups and their relation to automata and formal language theory we refer to the literature, for example [32].
- 6.
An element \(y \in M\) is idempotent if \(yy = y\).
References
Arfi, M.: Opérations polynomiales et hiérarchies de concaténation. Theoret. Comput. Sci. 91(1), 71–84 (1991). https://doi.org/10.1016/0304-3975(91)90268-7
Beaudry, M.: Membership testing in threshold one transformation monoids. Inf. Comput. 113(1), 1–25 (1994). https://doi.org/10.1006/inco.1994.1062
Berlinkov, M.V., Nicaud, C.: Synchronizing almost-group automata. Int. J. Found. Comput. Sci. 31(8), 1091–1112 (2020). https://doi.org/10.1142/S0129054120420058
Birkmann, F., Milius, S., Urbat, H.: On language varieties without boolean operations. In: Leporati, A., Martín-Vide, C., Shapira, D., Zandron, C. (eds.) LATA 2021. LNCS, vol. 12638, pp. 3–15. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-68195-1_1
Bouajjani, A., Muscholl, A., Touili, T.: Permutation rewriting and algorithmic verification. Inf. Comput. 205(2), 199–224 (2007). https://doi.org/10.1016/j.ic.2005.11.007
Cameron, P.J.: Permutation Groups. London Mathematical Society Student Texts. Cambridge University Press, Cambridge (1999). https://doi.org/10.1017/CBO9780511623677
Cécé, G., Héam, P., Mainier, Y.: Clôtures transitives de semi-commutations et model-checking régulier. Technique et Science Informatiques 27(1–2), 7–28 (2008). https://doi.org/10.3166/tsi.27.7-28
Cécé, G., Héam, P., Mainier, Y.: Efficiency of automata in semi-commutation verification techniques. RAIRO Theor. Inform. Appl. 42(2), 197–215 (2008). https://doi.org/10.1051/ITA:2007029
Clerbout, M., Latteux, M.: Semi-commutations. Inf. Comput. 73(1), 59–74 (1987). https://doi.org/10.1016/0890-5401(87)90040-X
Cohen, R.S., Brzozowski, J.A.: Dot-depth of star-free events. J. Comput. Syst. Sci. 5(1), 1–16 (1971). https://doi.org/10.1016/S0022-0000(71)80003-X
Cori, R., Perrin, D.: Automates et commutations partielles. RAIRO Theor. Inform. Appl. 19(1), 21–32 (1985). https://doi.org/10.1051/ita/1985190100211
Diekert, V., Rozenberg, G. (eds.): The Book of Traces. World Scientific, Singapore (1995). https://doi.org/10.1142/2563
Ginsburg, S., Spanier, E.H.: Bounded regular sets. Proc. Am. Math. Soc. 17(5), 1043–1049 (1966). https://doi.org/10.2307/2036087
Ginsburg, S., Spanier, E.H.: Semigroups, Presburger formulas, and languages. Pac. J. Math. 16(2), 285–296 (1966). https://doi.org/10.2140/pjm.1966.16.285
Ginsburg, S., Spanier, E.H.: AFL with the semilinear property. J. Comput. Syst. Sci. 5(4), 365–396 (1971). https://doi.org/10.1016/S0022-0000(71)80024-7
Gohon, P.: An algorithm to decide whether a rational subset of \({N}^k\) is recognizable. Theoret. Comput. Sci. 41, 51–59 (1985). https://doi.org/10.1016/0304-3975(85)90059-3
Gómez, A.C., Guaiana, G., Pin, J.É.: Regular languages and partial commutations. Inf. Comput. 230, 76–96 (2013). https://doi.org/10.1016/j.ic.2013.07.003
Gómez, A.C., Pin, J.: Shuffle on positive varieties of languages. Theoret. Comput. Sci. 312(2–3), 433–461 (2004). https://doi.org/10.1016/j.tcs.2003.10.034
Guaiana, G., Restivo, A., Salemi, S.: On the trace product and some families of languages closed under partial commutations. J. Autom. Lang. Comb. 9(1), 61–79 (2004). https://doi.org/10.25596/jalc-2004-061
Hoffmann, S.: The commutative closure of shuffle languages over group languages is regular. In: Maneth, S. (ed.) CIAA 2021. LNCS, vol. 12803, pp. 53–64. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-79121-6_5
Hoffmann, S.: Regularity conditions for iterated shuffle on commutative regular languages. Int. J. Found. Comput. Sci. 34(08), 923–957 (2023). https://doi.org/10.1142/S0129054123430037
Hoffmann, S.: State complexity bounds for the commutative closure of group languages. J. Autom. Lang. Comb. 28(1–3), 27–57 (2023). https://doi.org/10.25596/JALC-2023-027
Hoffmann, S.: State complexity of permutation and the language inclusion problem up to parikh equivalence on alphabetical pattern constraints and partially ordered nfas. Int. J. Found. Comput. Sci. 34(08), 959–986 (2023). https://doi.org/10.1142/S0129054123430025
Ibarra, O.H.: Reversal-bounded multicounter machines and their decision problems. J. ACM 25(1), 116–133 (1978). https://doi.org/10.1145/322047.322058
Klaedtke, F., Rueß, H.: Monadic second-order logics with cardinalities. In: Baeten, J.C.M., Lenstra, J.K., Parrow, J., Woeginger, G.J. (eds.) ICALP 2003. LNCS, vol. 2719, pp. 681–696. Springer, Heidelberg (2003). https://doi.org/10.1007/3-540-45061-0_54
Kunc, M.: Regular solutions of language inequalities and well quasi-orders. Theoret. Comput. Sci. 348(2–3), 277–293 (2005). https://doi.org/10.1016/j.tcs.2005.09.018
Latteux, M.: Cônes rationnels commutatifs. J. Comput. Syst. Sci. 18(3), 307–333 (1979). https://doi.org/10.1016/0022-0000(79)90039-4
Commutative closures of regular semigroups of languages: L’vov, M. Cybern. Syst. Anal. (Cybern.) 9, 247–252 (1973). https://doi.org/10.1007/BF01069078. translated (original in Russian) from Kibernetika (Kiev), No. 2, pp. 54–58, March-April, 1973
Muscholl, A., Petersen, H.: A note on the commutative closure of star-free languages. Inf. Process. Lett. 57(2), 71–74 (1996). https://doi.org/10.1016/0020-0190(95)00187-5
Parikh, R.: On context-free languages. J. ACM 13(4), 570–581 (1966). https://doi.org/10.1145/321356.321364
Pin, J.É.: PG = BG, a success story. In: Fountain, J. (ed.) NATO Advanced Study Institute, Semigroups, Formal Languages and Groups, pp. 33–47. Kluwer Academic Publishers (1995)
Pin, J.-E.: Syntactic semigroups. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, pp. 679–746. Springer, Heidelberg (1997). https://doi.org/10.1007/978-3-642-59136-5_10
Place, T., Zeitoun, M.: Generic results for concatenation hierarchies. Theory Comput. Syst. 63(4), 849–901 (2019). https://doi.org/10.1007/s00224-018-9867-0
Polák, L.: A classification of rational languages by semilattice-ordered monoids. Archivum Mathematicum 040(4), 395–406 (2004)
Rabin, M.O., Scott, D.S.: Finite automata and their decision problems. IBM J. Res. Dev. 3(2), 114–125 (1959). https://doi.org/10.1147/rd.32.0114
Redko, V.N.: On the commutative closure of events. Doklady Akademija Nauk Ukrainskoj SSR (Kiev), also Dopovidi Akademij Nauk Ukrajnskoj RSR (= Reports of the Academy of Sciences of the Ukrainian SSR), pp. 1156–1159 (1963). (in Russian)
Rigo, M.: The commutative closure of a binary slip-language is context-free: a new proof. Discret. Appl. Math. 131(3), 665–672 (2003). https://doi.org/10.1016/S0166-218X(03)00335-4
Rystsov, I.K.: Estimation of the length of reset words for automata with simple idempotents. Cybern. Syst. Anal. 36(3), 339–344 (2000). https://doi.org/10.1007/BF02732984
Sakarovitch, J.: The “last’’ decision problem for rational trace languages. In: Simon, I. (ed.) LATIN 1992. LNCS, vol. 583, pp. 460–473. Springer, Heidelberg (1992). https://doi.org/10.1007/BFb0023848
Simon, I.: Piecewise testable events. In: Brakhage, H. (ed.) GI-Fachtagung 1975. LNCS, vol. 33, pp. 214–222. Springer, Heidelberg (1975). https://doi.org/10.1007/3-540-07407-4_23
Straubing, H.: A generalization of the Schützenberger product of finite monoids. Theoret. Comput. Sci. 13, 137–150 (1981). https://doi.org/10.1016/0304-3975(81)90036-0
Thérien, D.: Classification of finite monoids: the language approach. Theoret. Comput. Sci. 14, 195–208 (1981). https://doi.org/10.1016/0304-3975(81)90057-8
Volkov, M.V., Kari, J.: Černý’s conjecture and the road colouring problem. In: Pin, J.É. (ed.) Handbook of Automata Theory, Volume I, pp. 525–565. European Mathematical Society Publishing House (2021). https://doi.org/10.4171/automata-1/15
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Hoffmann, S. (2024). Automata Classes Accepting Languages Whose Commutative Closure is Regular. In: Fernau, H., Gaspers, S., Klasing, R. (eds) SOFSEM 2024: Theory and Practice of Computer Science. SOFSEM 2024. Lecture Notes in Computer Science, vol 14519. Springer, Cham. https://doi.org/10.1007/978-3-031-52113-3_22
Download citation
DOI: https://doi.org/10.1007/978-3-031-52113-3_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-52112-6
Online ISBN: 978-3-031-52113-3
eBook Packages: Computer ScienceComputer Science (R0)