A new approach to collapsing words Alessandra Cherubini Andrzej Kisielewicz Pavel Gawryochowski Brunetto Piochi.

Slides:



Advertisements
Similar presentations
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Advertisements

Function Technique Eduardo Pinheiro Paul Ilardi Athanasios E. Papathanasiou The.
Theory of NP-Completeness
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Algebraic Structures DEFINITIONS: PROPERTIES OF BINARY OPERATIONS Let S be a set and let  denote a binary operation on S. (Here  does not necessarily.
Finite Automata Section 1.1 CSC 4170 Theory of Computation.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Finite Automata Great Theoretical Ideas In Computer Science Anupam Gupta Danny Sleator CS Fall 2010 Lecture 20Oct 28, 2010Carnegie Mellon University.
Introduction to Computability Theory
61 Nondeterminism and Nodeterministic Automata. 62 The computational machine models that we learned in the class are deterministic in the sense that the.
NP-complete and NP-hard problems Transitivity of polynomial-time many-one reductions Definition of complexity class NP –Nondeterministic computation –Problems.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY Read sections 7.1 – 7.3 of the book for next time.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Validating Streaming XML Documents Luc Segoufin & Victor Vianu Presented by Harel Paz.
NP-Complete Problems Problems in Computer Science are classified into
NP-complete and NP-hard problems
Data Structures – LECTURE 10 Huffman coding
Chapter 11: Limitations of Algorithmic Power
Toward NP-Completeness: Introduction Almost all the algorithms we studies so far were bounded by some polynomial in the size of the input, so we call them.
Great Theoretical Ideas in Computer Science.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
Introduction Of Tree. Introduction A tree is a non-linear data structure in which items are arranged in sequence. It is used to represent hierarchical.
XML Data Management 10. Deterministic DTDs and Schemas Werner Nutt.
Learning Automata and Grammars Peter Černo.  The problem of learning or inferring automata and grammars has been studied for decades and has connections.
The Lower Bounds of Problems
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
8.6. Knapsack Ciphers. The Concept At the core of the Knapsack cipher is the Knapsack problem: At the core of the Knapsack cipher is the Knapsack problem:
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
Complexity, etc. Homework. Comparison to computability. Big Oh notation. Sorting. Classwork/Homework: prepare presentation on specific sorts. Presentation.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
Complexity and Computability Theory I Lecture #8 Instructor: Rina Zviel-Girshin Lea Epstein.
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Grammars A grammar is a 4-tuple G = (V, T, P, S) where 1)V is a set of nonterminal symbols (also called variables or syntactic categories) 2)T is a finite.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Finite Automata Great Theoretical Ideas In Computer Science Victor Adamchik Danny Sleator CS Spring 2010 Lecture 20Mar 30, 2010Carnegie Mellon.
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
Chapter 5 With Question/Answer Animations 1. Chapter Summary Mathematical Induction - Sec 5.1 Strong Induction and Well-Ordering - Sec 5.2 Lecture 18.
 2004 SDU Uniquely Decodable Code 1.Related Notions 2.Determining UDC 3.Kraft Inequality.
Cook Theorem and NP-complete problems
The Theory of NP-Completeness
Complexity Classes.
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
P & NP.
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Linear Bounded Automata LBAs
Complexity and Computability Theory I
Computability and Complexity
Hierarchy of languages
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Alternating tree Automata and Parity games
Computational Complexity
Time Complexity We use a multitape Turing machine
Chapter 34: NP-Completeness
Data Structure and Algorithms
Recap lecture 19 NFA corresponding to Closure of FA, Examples, Memory required to recognize a language, Example, Distinguishing one string from another,
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Presentation transcript:

A new approach to collapsing words Alessandra Cherubini Andrzej Kisielewicz Pavel Gawryochowski Brunetto Piochi

Basic definitions and first results A= finite deterministic automaton w*w* df A (w)=|Q|-|Q  w| A is n-compressible iff df A (w)≥n for some w  *, w is an n-compressing word for A w  * is an n-collapsing word iff it is an n-compressing word for each n-compressible automaton over . For each alphabet  and n  N n-collapsing words over  exist (Sauer and Stone) Each n-collapsing word is an n-synchronizing word.

Basic definitions and first results (cont.) n-collapsing words are n-full. An n-compressible automaton A is proper iff |w| ≥n for each n-compressing word w for A. A word w  * is n-collapsing iff it is n-full and n- compressing for each proper n-compressible automaton over . It is decidable whether a word is n-collapsing or not: check all n-compressible automanton with less then 3(n-1)|w|+n+1 states (Petrov) A characterization of collapsing words for n=2 was given in terms of indices of a family of finited generated subgroups associated to each word in some finitely generated free groups (Ananichev, Vokov and I).

Proper 2- compressible automata Notation: a  is of type {x,y}/z (x,y,z  Q) if x  a= y  a and {z}= Q-Q  a An automaton A is proper 2-compressible iff it has letters acting both as non-permutation and as permutation transformations, all non-permutations are of type {x,y}/x and one of the following occurs: all non permutations are of the same type {1,2}/1, and the group of permutations fixes neither {1} nor {1,2} (MONO1); there is 1  Q such that all non-permutations are of type {1,x}/1 for some x  Q, two types exist and the group of permutations does not fix {1} (MONO2); there are 1,2  Q such that all non-permutations are of type {1,2}/1 and {1,2}/2, and the group of permutations does not fix {1,2} (STEREO).

A new more combinatorial approach (P  ) is a partition of  encoding the roles of the letters on the automaton), where P is a special block (representing permutations) and  is partitionned either in B 2,…,B k, k≥2 (DB-partition) or in B 1,B 2 (3DB-partition) Let w  * and let (P  ) be a partition of , then w=  0  1 ….  n-1  n  n where  0,  n  P*,  i  P + (1  i<n),  j  + (1  j  n) B i ={a  of the type {1,i}/i } B 1 ={a  of the type {1,2}/1}, B 2 ={a  of the type {1,2}/2}.

A new approach (systems on permutations) (P,  ) a partition of , w=  0  1 ….  n-1  n  n (P,  ) DB-partition   w (P,  ) denotes the system of equations on permutations of the form 1  i  {1,h} (1  i<n) where the first letter of  i+1 is in B h (P,  ) 3DB-partition   ’ w (P,  ) denotes the system of the equations of the form j  i  {12} (1  i<n) with j=1,2 according with the last letter of  i-1 being in B 1 or in B 2 An assignement of permutations to letters of P which satisfies all the equations is a solution of the system. A solution of  w (P,  ) is trivial if all permutations fix 1, and in case of  w (P,B 2 ) also if all permutations fix {1,2}. A solution of  ’ w (P,  ) is trivial if all permutations fix {1,2}.

A new approach (characterization) A word w   is 2-collapsing iff it is 2-full and the following conditions hold: for any DB-partition (P,  ),  w (P,  ) has no nontrivial solution for any 3DB-partition (P,  ),  ’ w (P,  ) has no nontrivial solution General idea of the proof: To compute the deficency of a word w proceeding letter by letter and observing if and how the deficency increases. A non trivial solution of the system gives an example of automaton which is not compressed by w.

An example  ={a,b,c} w=aba 2 c 2 bab 2 acbabcacbcb DB-partition (P,B 2 ) with P={a}  a fixes either 1 or {1,2} DB-partition (P,B 2,B 3 ) with P={a}  a fixes 1 3DB-partition with P={a}  a fixes {1,2} 1  a 2  {1,2}, 1  a  {1,2}, 1  a  {1,2}, 1  a  {1,3} 1  a  {1,2}, 2  a  {1,2}

An example (continued) w=aba 2 c 2 bab 2 acbabcacbcb is 2-collapsing!! DB-partition with P={a,b}  a,b fix either 1 or {1,2} 1  bab 2 a  {1,2}, 1  bab  {1,2}, 1  a  {1,2}, 1  b  {1,2} 1  a=1, 1  b=1 1  a=2, 1  b=2 1  a=1, 1  b=2  2  ab  {1,2}, 2  ab 2 a  {1,2} hence if 2  a=2 then 2  b=2, if 2  a=x  {1,2}, then x  b=1 and the contradiction 2  a=x  {1,2}, 1  a=2, 1  b=1…..

The new approach vs the old one The old approach is elegant and can be translated in an automaton based algorithm to recognize if a word is 2-collapsing but it did not allow to settle the natural complexity problem, to answer a few questions about the possibility of simplifying the characterization, to generalize the characterization to n- collapsing words.

The new approach vs the old one The new approach allows to solve the complexity problems, to answer in negative to the questions on simplification giving examples of words compressing each type of compressing automata and not the remaining ones and we hope that it allows also to characterize n- collapsing words and to calculate further values of c(n,k)=|w| where w is a shortest n-collapsing word on k letter alphabet.

Computational complexity For a 2-element alphabet , checking whether a word w  * is 2-collapsing may be done in polynomial time with respect to |w|. (Pribavkina) The problem of recognizing 2-collapsing words over a fixed alphabet with more than 2 letter is co-NP-complete. The general problem of recognizing n-collapsing words is co-NP-complete. The general problem of recognizing 2-synchronizing words is co-NP-complete (Gawryochowski-Kisieliewicz)

A sketch of the proof |  |=3, difficult case: partition with |P|=2  Permutation Condition Problem INSTANCE: {u 1,u 2,…u s }, u i  {a,b} + PROBLEM: Does the system of permutations 1  u i  {1,2}, i=1,2,…,s, have a non trivial solution? Converted in a problem on coloring a binary tree with distinguished nodes T(u 1,u 2,…u s ). Assuming that going to the left child represents applying permutation a and going to the right child represents applying permutation b, all vertices represent words in a natural way. T(u 1,u 2,…u s ) is the minimal tree in which all words u i are represented.

A sketch of the proof Distiguished nodes of T(u 1,…u s ): nodes representing u i and the root. 1-2 coloring of T(u 1,…u s ): a coloring of vertices with integers so that distinguished nodes are colored 1 or 2 and the root is colored 1 Coherent coloring: (left) right childrens of nodes with the same color have the same color and conversely Trivial coloring: coloring whose colors are only 1 and 2 T(a,b,bab,bab 2 a) A non coherent coloring of T(a,b,bab,bab 2 a)

A sketch of the proof The system of permutations 1  u i  {1,2}, i=1,…,s, has a non trivial solution iff T(u 1,…u s ) has a nontrivial coherent 1-2 coloring (provided that all the words of length 2 are represented in T(u 1,…u s )).  NC-coloring problem INSTANCE: A binary tree T=T(u 1,…u s ) with distinguished nodes PROBLEM: Does T have a non trivial coherent 1-2 coloring?  3SAT can be reduced polinomially to the above problem.

Open problems The language of 2-collapsing words over a given alphabet  is context sensitive, and also the language of 2-collapsing word on a 2-letter language is not context free, are these languages contained in some intermediate family of languages? Values of c(n,k) for general n and k and list of the shortest n-collapsing words on an alphabet of k letters (up to now only c(2,2)=8, c(2,3)=21 and the list of all collapsing words on a 3-letter alphabet are known). Characterization of n-collapsing words for n>2 (up to now we have only the characterization of proper 3- compressible automata).