In computer science, more precisely, in the theory of deterministic finite automata (DFA), a synchronizing word or reset sequence is a word in the input alphabet of the DFA which sends any state of the DFA to one and the same state. That is, if an ensemble of copies of the DFA are each started in different states, and all of the copies process the synchronizing word at the same speed, they will all end up reaching the same state as each other, at the same time as each other. Not every DFA has a synchronizing word; for instance, a DFA with two states, one for words of even length and one for words of odd length, can never be synchronized.
Given a DFA, the problem of determining if it has a synchronizing word can be solved in polynomial time using a theorem due to Ján Černý. A simple approach considers the power set of states of the DFA, and builds a directed graph where nodes belong to the power set, and a directed edge describes the action of the transition function. A path from the node of all states to a singleton state shows the existence of a synchronizing word. This algorithm is exponential in the number of states. A polynomial algorithm results however, due to a theorem of Černý which exploits the substructure of the problem, and shows that a synchronizing word exists if and only if every pair of states has a synchronizing word.
|Unsolved problem in mathematics:|
If a DFA has a synchronizing word, must it have one of length at most (n − 1)2?(more unsolved problems in mathematics)
The problem of estimating the length of synchronizing words has a long history and was posed independently by several authors, but it is commonly known as the Černý conjecture. In 1964 Ján Černý conjectured that (n − 1)2 is the upper bound for the length of the shortest synchronizing word for any n-state complete DFA (a DFA with complete state transition graph).[failed verification (See discussion.)] If this is true, it would be tight: in his 1964 paper, Černý exhibited a class of automata (indexed by the number n of states) for which the shortest reset words have this length. The best upper bound known is (n 3 - n)/6, far from the lower bound. For n-state DFAs over a k-letter input alphabet, an algorithm by David Eppstein finds a synchronizing word of length at most 11n3/48 + O(n2), and runs in time complexity O(n3+kn2). This algorithm does not always find the shortest possible synchronizing word for a given automaton; as Eppstein also shows, the problem of finding the shortest synchronizing word is NP-complete. However, for a special class of automata in which all state transitions preserve the cyclic order of the states, he describes a different algorithm with time O(kn2) that always finds the shortest synchronizing word, proves that these automata always have a synchronizing word of length at most (n − 1)2 (the bound given in Černý's conjecture), and exhibits examples of automata with this special form whose shortest synchronizing word has length exactly (n − 1)2.
The road coloring problem is the problem of labeling the edges of a regular directed graph with the symbols of a k-letter input alphabet (where k is the outdegree of each vertex) in order to form a synchronizable DFA. It was conjectured in 1970 by Benjamin Weiss and Roy Adler that any strongly connected and aperiodic regular digraph can be labeled in this way; their conjecture was proven in 2007 by Avraham Trahtman.
Related - Transformation Semigroups
A transformation semigroup is synchronizing if it contains an element of rank 1. A DFA corresponds to a transformation semigroup with a distinguished generator set.
- Avraham Trakhtman: Synchronizing automata, algorithms, Cerny Conjecture. Accessed May 15, 2010.
- Eppstein, David (1990), "Reset Sequences for Monotonic Automata" (PDF), SIAM Journal on Computing, 19 (3): 500–510, doi:10.1137/0219033.
- Černý, J. (1964), "Poznámka k homogénnym experimentom s konečnými automatmi" (PDF), Matematicko-fyzikálny časopis Slovenskej Akadémie Vied, 14: 208–216 (in Slovak).
- https://arxiv.org/abs/1104.2409v7 Trahtman at one point thought he had proven a better bound of n(7n2+6n−16)/48, but this proof turned out to be incorrect and the paper has been retracted, leaving the best-known bound to be (n^3 - n)/6
- Adler, R. L.; Weiss, B. (1970), "Similarity of automorphisms of the torus", Memoirs of the American Mathematical Society, 98.
- Trahtman, A. N. (2009), "The road coloring problem", Israel Journal of Mathematics, 172: 51–60, arXiv:0709.0099, doi:10.1007/s11856-009-0062-5, MR 2534238
- Cameron, Peter (2013), Permutation groups and transformation semigroups (PDF).
- Rystsov, I. C. (2004), "Černý's conjecture: retrospects and prospects", Proc. Worksh. Synchronizing Automata, Turku (WSA 2004).
- Jürgensen, H. (2008). "Synchronization". Information and Computation. 206 (9–10): 1033–1044. doi:10.1016/j.ic.2008.03.005.
- Volkov, Mikhail V. (2008), "Synchronizing Automata and the Černý Conjecture", Proc. 2nd Int'l. Conf. Language and Automata Theory and Applications (LATA 2008) (PDF), LNCS, 5196, Springer-Verlag, pp. 11–27