synchronizing words and carefully synchronizing words

27
Synchronizing Words and Carefully Synchronizing Words Pavel Martyugin Ural State University, Ekaterinburg, Russia Workshop Dynamical Aspects of Automata and Semigroup Theories, 25-26 November 2010, Wien, Austria

Upload: annis

Post on 24-Feb-2016

102 views

Category:

Documents


2 download

DESCRIPTION

Workshop Dynamical Aspects of Automata and Semigroup Theories, 25-26 November 2010, Wien , Austria. Synchronizing Words and Carefully Synchronizing Words. Pavel Martyugin Ural State University, Ekaterinburg , Russia. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Synchronizing Words and  Carefully Synchronizing Words

Synchronizing Words and Carefully Synchronizing

Words

Pavel MartyuginUral State University, Ekaterinburg,

Russia

Workshop Dynamical Aspects of Automata and Semigroup Theories, 25-26 November 2010, Wien, Austria

Page 2: Synchronizing Words and  Carefully Synchronizing Words

Synchronizing automataA deterministic finite automaton (DFA) is a triple where is a finite set of states, is a finite alphabet, and is a totally defined transition function from to .

A DFA is called synchronizing if there exists a word such that for all .

Any word with this property is said to be a synchronizing or a reset word for the automaton .

Page 3: Synchronizing Words and  Carefully Synchronizing Words

a,

a

b

a

b

1

23

4

bb

a

The example of a synchronizing DFA with 4 states and 2 letters.

is the shortest synchronizing word of length .

Synchronizing automata

Page 4: Synchronizing Words and  Carefully Synchronizing Words

𝑎

𝑏

Synchronizing automata

𝑏 𝑎

𝑎𝑎

𝑎

𝑏 𝑏

𝑏𝑏

Page 5: Synchronizing Words and  Carefully Synchronizing Words

Synchronizing automata

𝑎

𝑎𝑎

𝑎

𝑏 𝑏

𝑏𝑏𝑏𝑎𝑎𝑎𝑏𝑎𝑎𝑎𝑏

Page 6: Synchronizing Words and  Carefully Synchronizing Words

Černý conjectureJ.Černý,1964 conjectured that for every -state synchronizing DFA there is a synchronizing word of length at most .

This conjecture is unproved.J.-E. Pin(1983); A.A.Klyachko, I.K.Rystsov, M.A.Spivak(1985) For any synchronizing DFA with states there exists a synchronizing word of length .Let be the maximal length of the shortest synchronizing word for DFA with states. Then(𝒏−𝟏 )𝟐≤𝝎 (𝒏 )≤ (𝒏𝟑−𝒏) /𝟔

Page 7: Synchronizing Words and  Carefully Synchronizing Words

Computational problems

Computation problems:• Is a given DFA synchronizing or not? • What is the length of the shortest synchronizing

word for a given DFA?

Page 8: Synchronizing Words and  Carefully Synchronizing Words

Computational problemsProblem: SYN

Input: A DFA Question: Is there a synchronizing word for ?

J.Černý(1964) There is an algorithm which checks whether a given DFA is synchronizing and takes of time.

D.Eppstein(1990) There is an algorithm which checks finds some synchronizing word for a given synchronizing DFA and takes of time.

Page 9: Synchronizing Words and  Carefully Synchronizing Words

Computational problems

Problem: BOUNDED SYN Input: A DFA and an integer Question: Is there a synchronizing word of for ?

D.Eppstein(1990) The problem BOUNDED SYNis NP-complete. This problem remains NP-complete for automata over a 2-letter alphabet.

Page 10: Synchronizing Words and  Carefully Synchronizing Words

Computational problemsProblem: MIN SYN

Input: A DFA and an integer Question: Does the shortest synchronizing word for has length ?

M.Berlinkov (2010) No polynomial time algorithm approximates the length of the shortest syncronizing word for within constant factor.

J.Olschewski, M.Ummels (2010) The problem MIN SYN is complete for the complexity class DPNP, Co-NP DP

Page 11: Synchronizing Words and  Carefully Synchronizing Words

Subclasses of DFAThe Černý’s problem and the complexities problems can be considered for some special cases of DFA.We consider here classes of cyclical, Eulerian, monotonic, cyclically monotonic, commutative DFA and DFA with a zero state.

The quadratic bound of the value was proved for all these classes(L.Dubuc,1998; J.Kari,2001; M.-P.Beal,2003; D.Eppstein,1990; M.V.Volkov, D.S.Ananichev,2003; I.K.Rystsov,1997; A.N.Trahtman,2006).

is the maximal length of the shortest synchronizing word for DFA with states.

Page 12: Synchronizing Words and  Carefully Synchronizing Words

Σ0

DFA with a zero stateA state of a DFA is said to be a zero state (or sink state) if for all .Every -state synchronizing DFA with a zero state has a synchronizing word of length This upper bound is tight.

𝑎1 1 20 3 n-1

n-2𝑎2 𝑎3 𝑎𝑛−1

Σ Σ /{𝑎1 ,𝑎2}Σ /{𝑎2 ,𝑎3 }Σ / {𝑎3 ,𝑎4 }Σ /{𝑎𝑛−2 ,𝑎𝑛−1} Σ /{𝑎𝑛−1 }

The word is the shortest synchronizing word for this automaton.

Page 13: Synchronizing Words and  Carefully Synchronizing Words

DFA with a zero stateIn the previous example the input alphabet size grows with number of states, while in the Černý example the alphabet has two elements for every number of states.(~, 2007) For each there exists a synchronizing DFA with states and 2 input letters such that the length of the shortest synchronizing word for this automaton is .

0

Page 14: Synchronizing Words and  Carefully Synchronizing Words

Cyclical DFAThe DFA is called cyclical if it containsa letter which acts as a cycle of length .

L.Dubuc (1998) For the class of cyclical DFA

~ (2008) The problem BOUNDED SYN is NP-complete for cyclical and one-cluster DFA

The DFA is called one-clusteror DFA with a connecting letter if one of its letters has a connected digraph.

M.-P. Beal, D. Perrin(2009), M.V. Berlinkov (2010)For the class of one-cluster DFA

Page 15: Synchronizing Words and  Carefully Synchronizing Words

Eulerian DFAThe DFA is called Eulerian if its digraph is Eulerian.J.Kari (2001), M.-P.Beal (2003) For the class of Eulerian DFA ~, unpublished For the class of cyclical DFA and odd

~ (2008) The problem BOUNDED SYN is NP-complete for Eulerian DFA

Page 16: Synchronizing Words and  Carefully Synchronizing Words

Monotonic DFAThe DFA is called monotonic if there exists an order on the set such that if for some then for any letter it follows that .

The DFA is called cyclically monotonic if there exists the same cyclical order on the set .M.V.Volkov, D.S.Ananichev(2003) For the class of the monotonic DFA, D.Eppstein(1990) For the class of the cyclically monotonic DFA, D.Eppstein(1990) There is an algorithm solving the problems BOUNDED SYN and MIN SYN for monotonic and cyclically monotonic DFA in time

Page 17: Synchronizing Words and  Carefully Synchronizing Words

Commutative DFAThe DFA is called commutativeif for all it follows .

L.Rystsov (1997) For the class of the commutative DFA

~ (2008) The problem BOUNDED SYN is NP-complete for the class of all commutative DFA ~ (2008) The problem BOUNDED SYN can be solved in time for a given commutative DFA with letters and states

Page 18: Synchronizing Words and  Carefully Synchronizing Words

Careful synchronizationA partial finite automaton (PFA) is a triple where

is a finite set of states, is a finite input alphabet, and is a partial function from to

~, 2006. A PFA is called carefully synchronizing, if there is a word such that the value is defined and .Such a word is called carefully synchronizing for the automaton .

If the PFA is a DFA then careful synchronization = synchronization

Page 19: Synchronizing Words and  Carefully Synchronizing Words

The example of a carefully synchronizing PFA with 4 states and 2 letters.

Careful synchronization

is the shortest carefully synchronizing word of length .

a, b

a

b

1

23

4

b

b a

Page 20: Synchronizing Words and  Carefully Synchronizing Words

𝑏 𝑎𝑎

Careful synchronization

𝑎

𝑎𝑏

𝑎

𝑏 𝑏

𝑏

𝑏

Page 21: Synchronizing Words and  Carefully Synchronizing Words

Careful synchronization

𝑏𝑏𝑎𝑏𝑎𝑏𝑏

𝑎

𝑎𝑏

𝑎

𝑏𝑏

𝑏

Page 22: Synchronizing Words and  Carefully Synchronizing Words

Exponential lengthJ.Černý,1964; J.-E. Pin (1983)

Polynomial length. ~(2006) There exists a series of PFA such that has states, and the shortest carefully synchronizing word for has length .Z. Gazdag, S. Ivan, J. Nagy-Gyorgy(2009) For any synchronizing PFA with states there exists a carefully synchronizing word of length .

Exponential length.

Page 23: Synchronizing Words and  Carefully Synchronizing Words

0

1

2

Exponential length

the synchronizing word is The length of the shortest carefully synchronizing word is

𝑐

𝑏 𝑏 𝑏𝑎1 𝑎2 𝑎3

Page 24: Synchronizing Words and  Carefully Synchronizing Words

The lengths of cycles are consecutive prime numbers

3 Letters

The shortest carefully synchronizing word has nonpolynomial length.

Page 25: Synchronizing Words and  Carefully Synchronizing Words

2 Letters

The shortest carefully synchronizing word has nonpolynomial length.

The lengths of blocks are consecutive prime numbers

Page 26: Synchronizing Words and  Carefully Synchronizing Words

Computational problemsProblem: CARSYN

Input: A PFA Question: Is the automaton is carefully synchronizing?~ (2010)• The problem CARSIN is PSPACE-complete• The problem CARSIN remain PSPACE-complete

for automata with 2-letter alphabet

~ (2010) Let PFA be given, if is carefully synchronizing then the shortest carefully synchronizing word for can be found using polynomial space

Page 27: Synchronizing Words and  Carefully Synchronizing Words

Thank you!