Finite monoids, regular languages, circuit complexity and logic Pascal Tesson Laval University, Quebec City, Canada.

Slides:



Advertisements
Similar presentations
Parikshit Gopalan Georgia Institute of Technology Atlanta, Georgia, USA.
Advertisements

Bounded-depth circuits: Separating wires from gates Michal Koucký Joint work with: Pavel Pudlák and Denis Thérien.
Theory of Computing Lecture 23 MAS 714 Hartmut Klauck.
Lecture 24 MAS 714 Hartmut Klauck
Formal Language, chapter 9, slide 1Copyright © 2007 by Adam Webber Chapter Nine: Advanced Topics in Regular Languages.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
1 Introduction to Computability Theory Lecture3: Regular Expressions Prof. Amos Israeli.
Finite Automata Great Theoretical Ideas In Computer Science Anupam Gupta Danny Sleator CS Fall 2010 Lecture 20Oct 28, 2010Carnegie Mellon University.
1 Introduction to Computability Theory Lecture4: Regular Expressions Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture3: Regular Expressions Prof. Amos Israeli.
Introduction to Computability Theory
Introduction to Computability Theory
On the Hardness of Graph Isomorphism Jacobo Tor á n SIAM J. Comput. Vol 33, p , Presenter: Qingwu Yang April, 2006.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
Computability and Complexity 32-1 Computability and Complexity Andrei Bulatov Boolean Circuits.
Validating Streaming XML Documents Luc Segoufin & Victor Vianu Presented by Harel Paz.
79 Regular Expression Regular expressions over an alphabet  are defined recursively as follows. (1) Ø, which denotes the empty set, is a regular expression.
CS5371 Theory of Computation Lecture 4: Automata Theory II (DFA = NFA, Regular Language)
Theory of Computing Lecture 22 MAS 714 Hartmut Klauck.
Relations Chapter 9.
PSPACE-Completeness Section 8.3 Giorgi Japaridze Theory of Computability.
Introduction to CS Theory Lecture 1 – Introduction Piotr Faliszewski
Regular Model Checking Ahmed Bouajjani,Benget Jonsson, Marcus Nillson and Tayssir Touili Moran Ben Tulila
Chapter 2 Languages.
Introduction Chapter 0. Three Central Areas 1.Automata 2.Computability 3.Complexity.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Regular Expressions. Notation to specify a language –Declarative –Sort of like a programming language. Fundamental in some languages like perl and applications.
1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 5 School of Innovation, Design and Engineering Mälardalen University 2012.
Basics of automata theory
THEORY OF COMPUTATION 08 KLEENE’S THEOREM.
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
1 Unit 1: Automata Theory and Formal Languages Readings 1, 2.2, 2.3.
1 Chapter 1 Automata: the Methods & the Madness Angkor Wat, Cambodia.
Introduction to Theory of Automata
Automatic Structures Bakhadyr Khoussainov Computer Science Department The University of Auckland, New Zealand.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Introduction to CS Theory Lecture 3 – Regular Languages Piotr Faliszewski
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Circuit Complexity of Regular Languages Michal Koucký (Institute of Mathemaics, AS ČR, Praha)
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
Languages with Bounded Multiparty Communication Complexity Arkadev Chattopadhyay (McGill) Joint work with: Andreas Krebs (Tubingen) Michal Koucky (Czech.
Circuit Lower Bounds via Ehrenfeucht- Fraïssé Games Michal Koucký Joint work with: Clemens Lautemann, Sebastian Poloczek, Denis Thérien.
Closure Properties Lemma: Let A 1 and A 2 be two CF languages, then the union A 1  A 2 is context free as well. Proof: Assume that the two grammars are.
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
Chapter 6 Properties of Regular Languages. 2 Regular Sets and Languages  Claim(1). The family of languages accepted by FSAs consists of precisely the.
CS 203: Introduction to Formal Languages and Automata
Chapter 3 Regular Expressions, Nondeterminism, and Kleene’s Theorem Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction.
ON THE EXPRESSIVE POWER OF SHUFFLE PRODUCT Antonio Restivo Università di Palermo.
UNIT - I Formal Language and Regular Expressions: Languages Definition regular expressions Regular sets identity rules. Finite Automata: DFA NFA NFA with.
Chapter 15 P, NP, and Cook’s Theorem. 2 Computability Theory n Establishes whether decision problems are (only) theoretically decidable, i.e., decides.
Finite Automata Great Theoretical Ideas In Computer Science Victor Adamchik Danny Sleator CS Spring 2010 Lecture 20Mar 30, 2010Carnegie Mellon.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
1 IAS, Princeton ASCR, Prague. The Problem How to solve it by hand ? Use the polynomial-ring axioms ! associativity, commutativity, distributivity, 0/1-elements.
From Classical Proof Theory to P vs. NP
Unit-III Algebraic Structures
Formal Methods in software development
CIS Automata and Formal Languages – Pei Wang
A new characterization of ACC0 and probabilistic CC0
Umans Complexity Theory Lectures
Introduction to Automata Theory
Steven Lindell Scott Weinstein
Alternating tree Automata and Parity games
Minimal DFA Among the many DFAs accepting the same regular language L, there is exactly one (up to renaming of states) which has the smallest possible.
Basic Counting.
Chapter Nine: Advanced Topics in Regular Languages
Introduction to Finite Automata
CS 583 Fall 2006 Analysis of Algorithms
Finite Model Theory Lecture 6
Formal Methods in software development
Presentation transcript:

Finite monoids, regular languages, circuit complexity and logic Pascal Tesson Laval University, Quebec City, Canada

P.TessonDagstuhl Seminar on Circuits, Logic and Games 2 Fact: Circuit complexity is difficult so it’s important to develop numerous angles of attack on the central questions. Logic has been very helpful. (e.g. logical characterizations of AC 0, ACC 0.) Algebra has been helpful: –Smolensky’s lower bounds. –Programs over finite monoids (Barrington, Straubing, Thérien).

P.TessonDagstuhl Seminar on Circuits, Logic and Games 3 Quick circuit reminder NC 1 : languages recognized by family of AND/OR circuits with fan-in 2 and depth O(log n). AC 0 : languages recognized by family of AND/OR circuits with arbitrary fan-in, depth O(1) and poly-size. ACC 0 : languages recognized by family of AND/OR/MOD q circuits with arbitrary fan-in, depth O(1) and poly-size. CC 0 : languages recognized by family of MOD q circuits with arbitrary fan-in, depth O(1) and poly-size.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 4 Regular languages and finite monoids In this talk... Finite monoids to understand regular languages. Finite monoids to characterize boolean circuit complexity classes. Finite monoids to understand the circuit complexity of regular languages. Circuit complexity First order logic over words

P.TessonDagstuhl Seminar on Circuits, Logic and Games 5 Outline I. Finite automata and finite monoids II. Programs over finite monoids III. Some tools for lower bounds IV. Circuit complexity of regular languages V.Conclusion

P.TessonDagstuhl Seminar on Circuits, Logic and Games 6 Finite monoids and automata Monoid: set + binary associative operation + identity element. Examples –  * is a monoid under concatenation. Empty word  is the identity element. –For every k, the set T k of functions t:[k]  [k] forms a monoid under composition. –For a finite automaton A, each finite word induces a transformation on the set of states. The transition monoid of A is the submonoid of T |A|.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 7 Finite monoids = finite automata A finite monoid can be conveniently represented by a finite automaton –states: elements of the monoid. –alphabet: elements of the monoid. –transitions:  (m,n) = m  n Finite monoid  finite automata: just two points of view.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 8 Def’n: A language L   * is recognized by the finite monoid M if there exists homomorphism  :  *  M and a subset F  M such that  -1 (F) = L. Theorem: L is regular iff it is recognized by some finite monoid M. Def’n: The syntactic monoid of L is the transition monoid of its minimal automaton.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 9 Algebraic automata theory Why use this algebraic point of view? Important classes of regular languages can be characterized by the algebraic properties of their syntactic monoids. Often gives algorithms to test membership in a given class of regular languages.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 10 Star-free languages A regular language is star-free if it can be defined by a regular expression using , ;, concatenation and boolean operations but without the Kleene star. Example: L = (ab)* is a star-free language since L = ; c b Å a ; c Å ( ; c aa ; c ) c Å ( ; c bb ; c ) c But how does one decide whether a given regular language is star-free?

P.TessonDagstuhl Seminar on Circuits, Logic and Games 11 Theorem: [Schützenberger] L is star-free iff its syntactic monoid is aperiodic, i.e. contains no non-trivial subgroup. It can also be shown that M is aperiodic iff there exists n s.t. x n+1 = x n for all x 2 M.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 12 Logic over words View finite words over  as a linearly ordered  -colored structure. We construct first-order sentences using the following atomic formulas: 1.for each a 2  a unary predicate Q a w ² Q a xiff w x = a 2.x < y (with the obvious semantics) We can also augment the logic with modular counting quantifiers. 9 i mod p x  (x)(there exist i modulo p x’s s.t.  holds)

P.TessonDagstuhl Seminar on Circuits, Logic and Games 13  x  y Q a x  ((y < x)  Q b y) defines the language b * a  * 2.To define (ab)* we can use the sentence: 8 x 8 y (Q b x ! [ 9 z (z<x)]) Æ (Q a x ! [ 9 z (x < z)]) Æ [((x  y) Æ Q a x Æ Q a y) Ç ((x  y) Æ Q b x Æ Q b y)] ! 9 z [(x <z<y) Ç (y <z<x)]

P.TessonDagstuhl Seminar on Circuits, Logic and Games 14 Theorem: [McNaughton-Papert] L is star-free iff it is definable in FO[<] iff L’s syntactic monoid is aperiodic. Theorem: L is definable in FO+MOD[<] iff its syntactic monoid is solvable. Theorem: L is definable in MOD[<] iff its syntactic monoid is a solvable group.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 15 Outline I. Finite automata and finite monoids II. Programs over finite monoids III. Some tools for lower bounds IV. Circuit complexity of regular languages V.Conclusion

P.TessonDagstuhl Seminar on Circuits, Logic and Games 16 From homomorphisms to programs a1a1 a2a2...a n-1 anan m1m1 m2m2...m n-1 mnmn homomorphism  Multiply in M result is m =  (input) accept if m  F

P.TessonDagstuhl Seminar on Circuits, Logic and Games 17 From homomorphisms to programs a1a1 a2a2...a n-1 anan m1m1 m2m2 m3m3...m s-1 msms program over M: each output element depends on a single input position Multiply in M result is m =  (input) accept if m  F

P.TessonDagstuhl Seminar on Circuits, Logic and Games 18 Programs over monoids An n-input program  over M of length s is a sequence of instructions I 1 I 2... I s where each instruction is a pair: I j = (f j, k j ) where f j :   M and 1  k j  n. The output of  on input w = a 1... a n is the monoid element  w) = f 1 (a k 1 )  f 2 (a k 2 ) ...  f s (a k s ) A language L   n is recognized by a program  over M if there exists F  M such that w  L iff  (w)  F.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 19 Programs over monoids To recognize subsets of  * we use a family {  n } n  0 where each  n processes inputs of length n. The length of such a family is then a function of n. Often, we require that {  n } n ¸ 0 is s.t. the n th program is constructible within some resource bound. ) uniformity restrictions. (not our problem today!)

P.TessonDagstuhl Seminar on Circuits, Logic and Games 20 Bounded-width branching programs Programs over monoids: originally a point of view on bounded width branching programs. x1x1 x7x7 x5x5 x1x1 On input x 1 x 2... x n : the red arrows are followed when the queried bit is 0, the blue arrows are followed when the bit is 1. For example if x 1 = 0, x 7 = 1.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 21 Barrington’s theorem Theorem: [Barrington] A language lies in NC 1 iff it can be recognized by a polynomial length family of programs over a finite monoid. In fact, any simple non-Abelian group will do. Recall: the commutator of two group elements [g,h] = g -1 h -1 gh. If G is simple and non-Abelian, then [G,G] = G.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 22 Barrington’s theorem (proof) Easy direction: show that L recognized by a poly- length program over a finite monoid ) L 2 NC 1. (more on this later) Hard direction: suppose L 2 NC 1 and G simple non- Abelian. Show by induction on depth d: if C is an AND/OR circuit with binary fan-in and g 2 G, there is a program  C,g of length O(4 d ) whose output is g if C evaluates to 1 and 1 G otherwise.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 23 Barrington theorem’s proof (cont’d) Suppose for simplicity that g = [g 1,g 2 ] and assume the ouput of C is AND(C 1,C 2 ). By induction, exists  C 1,g 1 and  C 2,g 2 of length O(4 d-1 ). Define  C,g = [  C 1,g 1,  C 2,g 2 ] If C 1 = 0 then  C 1,g 1 outputs 1 G and so [1 G,  C 2,g 2 ] =  C 2,g 2 1  C 2,g 2 = 1 G. If C 1 and C 2 both evaluate to 1, the program  C,g outputs [g 1,g 2 ] = g.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 24 Alternative point of view: if L is a regular language whose syntactic monoid is non-solvable then L is NC 1 complete under non-uniform projections.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 25 Algebraic characterizations in NC 1 Theorem: K 2 AC 0 iff K is recognized by a poly-length program over a finite aperiodic monoid. K 2 CC 0 iff K is recognized by a poly-length program over a finite solvable group. K 2 ACC 0 iff K is recognized by a poly-length program over a finite solvable monoid.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 26 Contrast with: Theorem: K 2 AC 0 iff K is definable in FO[Arb], i.e. FO extended with arbitrary numerical predicates. K 2 CC 0 iff K is definable in MOD[Arb]. K 2 ACC 0 iff K is definable in FO+MOD[Arb]

P.TessonDagstuhl Seminar on Circuits, Logic and Games 27 So what? Looks nice but how is that useful? 1.Provides some insight into the power and limitations of these circuit classes. Since AC 0 corresponds to aperiodic monoids, it’s natural to see PARITY as the canonical example of a language that these circuits can’t compute. 2.Separation conjectures can be reformulated algebraically. Showing CC 0  ACC 0 translates into show AND cannot be computed by a poly-length program over a solvable group. 3.Roadmap: start with very simple classes of solvable groups and work your way up. 4.More generally, finer grain in the analysis: the power of the program depends both on length and on structure of underlying monoid.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 28 Some results Theorem: [Barrington-Straubing] If L has a neutral letter and is recognized by a program of length o(n log log n) over some finite monoid M then L can be recognized via morphism by a direct product of M and its reverse M r.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 29 Theorem [Barrington-Straubing-Thérien] Any program over a group G such that [G,G] is a p-group requires exponential length to compute AND.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 30 Outline I. Finite automata and finite monoids II. Programs over finite monoids III. One useful tool for lower bounds IV. Circuit complexity of regular languages V.Conclusion

P.TessonDagstuhl Seminar on Circuits, Logic and Games 31 Communication complexity k players collaborate to determine if an input string w = a 1 a 2... a n belongs to a given language L. The player j sees each a i except those such that i  j (mod k). a 1 a 4 a 7...a 2 a 5 a 8...a 3 a 6 a 9... The k-party communication complexity of L is the least amount of bits that the parties need to exchange in the worst-case to determine if their input belongs to L. One can similarly define the communication complexity of a monoid M as the complexity of evaluating the product m 1 m 2... m n in M.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 32 A general framework for lower bounds Theorem: If M has communication complexity O(f), then any language recognized by a program of length s over M has communication complexity at most O(f(s)). The same holds for various variants of the communication complexity model. This gives an algebraic point of view on these lower bound techniques and exposes their limits.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 33 Theorem: [T., Thérien] In the two-party model, a monoid M has communication complexity:  (1) iff M is commutative  (log n) iff M is non commutative but every subgroup of M is abelian and M satisfies (xy) n (yx) n (xy) n = (xy) n for some n. (we denote this class as DO Å H(Ab) )  (n) otherwise.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 34 Outline I. Finite automata and finite monoids II. Programs over finite monoids III. One useful tool for lower bounds IV. Circuit complexity of regular languages V.Conclusion

P.TessonDagstuhl Seminar on Circuits, Logic and Games 35 The classical result PARITY  AC 0 shows that understanding the circuit complexity of regular languages is central to progress in the field. By the algebraic characterizations of AC 0, CC 0 and ACC 0 we already have good tools for a first, rough classification. How precise can we be about the circuit complexity of regular languages?

P.TessonDagstuhl Seminar on Circuits, Logic and Games 36 Theorem: [Koucký, Pudlák, Thérien] A regular language (with a neutral letter) can be computed by an ACC 0 circuit using O(n) wires iff its syntactic monoid lies in DO Å H(Ab). Theorem: [Chandra, Fortune, Lipton] Any regular language in ACC 0 can be computed by a circuit using only O(ng -1 (n)) wires for any primitive recursive g.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 37 Some ideas of the proof The upper bound relies on the combinatorial characterization of the regular languages with syntactic monoids in this class. For the lower bound: deep results about superconcentrators are needed to show that if L is regular with 2-party communication complexity  (n) then L requires a superlinear number of wires.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 38 Open problem Question: What regular languages can be computed by an AC 0, CC 0 or ACC 0 circuit using only linearly many gates? Hint: These correspond exactly to FO 2 [Arb], MOD 2 [Arb] and FO+MOD 2 [Arb]. (see [Koucký,Lautemann,Thérien]) Conjectured answers: It is believed that the answer will have some algebraic form. In particular: show that AC 0 circuits for (ab)* require a superlinear number of gates in the presence of a neutral letter.

P.TessonDagstuhl Seminar on Circuits, Logic and Games 39 Conclusion Open problems suggested by the algebraic point of view: –Show that AND cannot be computed by poly-length program over S 4. –Show that AND cannot be computed by poly-length program over a super-solvable group.