Automata for the commutative closure of regular sets

Abstract

Consider A* , the free monoid generated by the finite alphabet A with the concatenation operation. Two words have the same commutative image when one is a permutation of the symbols of the other. The commutative closure of a set L ⊂eq A* is the set C(L) ⊂eq A* of words whose commutative image coincides with that of some word in L . We provide an algorithm that, given a regular set L , produces a finite state automaton that accepts the commutative closure C(L) , provided that this closure set is regular. The problem of deciding whether C(L) is regular was solved by Ginsburg and Spanier in 1966 using the decidability of Presburger sentences, and by Gohon in 1985 via formal power series. The problem of constructing an automaton that accepts C(L) has already been studied in the literature. We give a simpler algorithm using an algebraic approach.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…