Separating regular languages by piecewise testable and unambiguous languages

Size: px
Start display at page:

Download "Separating regular languages by piecewise testable and unambiguous languages"

Transcription

1 Separating regular languages by piecewise testable and unambiguous languages Thomas Place, Lorijn van Rooijen, Marc Zeitoun LaBRI Univ. Bordeaux CNRS September, 2013 Highlights of Logic, Games and Automata Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 1/14

2 Separation problem S is a fixed class of languages. In this talk, S = BΣ 1 (<), FO 2 (<). Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 2/14

3 Separation problem S is a fixed class of languages. In this talk, S = BΣ 1 (<), FO 2 (<). L 1, L 2 Reg are S-separable iff there exists K S such that L 1 L 2 Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 2/14

4 Separation problem S is a fixed class of languages. In this talk, S = BΣ 1 (<), FO 2 (<). L 1, L 2 Reg are S-separable iff there exists K S such that K S L 1 L 2 A \ K Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 2/14

5 Separation problem Decision problem: Given L 1, L 2 Reg, are they S-separable? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 3/14

6 Separation problem Decision problem: Given L 1, L 2 Reg, are they S-separable? Can we compute a separator? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 3/14

7 Separation problem Decision problem: Given L 1, L 2 Reg, are they S-separable? Can we compute a separator? What is the complexity of the decision problem? And of computing a separator? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 3/14

8 Motivation Captures discriminative power of logics Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 4/14

9 Motivation Captures discriminative power of logics Generalization of membership problem Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 4/14

10 Motivation Captures discriminative power of logics Generalization of membership problem L 1 L 2 = A \ L 1 Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 4/14

11 Motivation Captures discriminative power of logics Generalization of membership problem K S L 1 L 2 = A \ L 1 Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 4/14

12 Classes of separators Piecewise testable languages: definable by BΣ 1 (<) formulas (recall previous talk). Unambiguous languages: definable by FO 2 (<) formulas. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 5/14

13 Classes of separators Piecewise testable languages: definable by BΣ 1 (<) formulas (recall previous talk). Unambiguous languages: definable by FO 2 (<) formulas. Membership is decidable for both BΣ 1 (<) and FO 2 (<) languages. Simon 75 Schützenberger 76, Thérien, Wilke 98 Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 5/14

14 Stratification of S In general, there is no smallest separator in S. Restriction of S to quantifier depth k: S[k]. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 6/14

15 Stratification of S In general, there is no smallest separator in S. Restriction of S to quantifier depth k: S[k]. If two languages are S[k]-separable, there is a smallest separator in S[k]. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 6/14

16 Stratification of S In general, there is no smallest separator in S. Restriction of S to quantifier depth k: S[k]. If two languages are S[k]-separable, there is a smallest separator in S[k]. Eg. (a 2 ) and b(b 2 ) have no smallest BΣ 1 (<)-separator, while a \ {a, a 3, a 5 } is the smallest BΣ 1 (<)[6]-separator. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 6/14

17 Computing smallest separator for S[k] Quantifier depth provides indexed equivalence relations for BΣ 1 (<) resp. FO 2 (<) languages: Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 7/14

18 Computing smallest separator for S[k] Quantifier depth provides indexed equivalence relations for BΣ 1 (<) resp. FO 2 (<) languages: w 1 k w 2 w 1 and w 2 satisfy the same BΣ 1 (<) resp. FO 2 (<) formulas up to depth k. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 7/14

19 Computing smallest separator for S[k] Quantifier depth provides indexed equivalence relations for BΣ 1 (<) resp. FO 2 (<) languages: w 1 k w 2 w 1 and w 2 satisfy the same BΣ 1 (<) resp. FO 2 (<) formulas up to depth k. L is a BΣ 1 (<) resp. FO 2 (<) language L is a union of k -classes for some k N. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 7/14

20 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

21 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: L L Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

22 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 1 L L Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

23 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 1 L L Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

24 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 2 L L Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

25 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 3 L L Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

26 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 3 L L Refining [L] k gives a semi-algorithm for separability. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

27 Computing smallest separator for S[k] Increasing k refines the smallest potential separator: [L] 3 L L Refining [L] k gives a semi-algorithm for separability. From which level of refinement can we conclude non-separability? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 8/14

28 Testing non-separability A pair of words w 1 L 1, w 2 L 2 is a k-witness of non-separability provided w 1 k w 2. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 9/14

29 Testing non-separability A pair of words w 1 L 1, w 2 L 2 is a k-witness of non-separability provided w 1 k w 2. Abstraction: tuples (i 1, f 1, i 2, f 2 ) A 1 A 2 i 1 f 1 k i 2 f 2 Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 9/14

30 Testing non-separability A pair of words w 1 L 1, w 2 L 2 is a k-witness of non-separability provided w 1 k w 2. Abstraction: tuples (i 1, f 1, i 2, f 2 ) A 1 A 2 i 1 f 1 k i 2 f 2 L 1, L 2 are k-separable {k-witnesses} =. {k + 1-witnesses} {k-witnesses}. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 9/14

31 Testing non-separability A pair of words w 1 L 1, w 2 L 2 is a k-witness of non-separability provided w 1 k w 2. Abstraction: tuples (i 1, f 1, i 2, f 2 ) A 1 A 2 i 1 f 1 k i 2 f 2 L 1, L 2 are k-separable {k-witnesses} =. {k + 1-witnesses} {k-witnesses}. Limit behaviour? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 9/14

32 Testing non-separability A pair of words w 1 L 1, w 2 L 2 is a k-witness of non-separability provided w 1 k w 2. Abstraction: tuples (i 1, f 1, i 2, f 2 ) A 1 A 2 i 1 f 1 k i 2 f 2 L 1, L 2 are k-separable {k-witnesses} =. {k + 1-witnesses} {k-witnesses}. Limit behaviour? We can compute K such that limit = {K-witnesses} = Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 9/14

33 Testing non-separability 1 Verify that the languages are not separable by any language of a sufficient, computable, index K. 2 Find a pattern in the automata producing k-witnesses for arbitrarily large k. (For BΣ 1 (<): same as in previous talk) Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 10/14

34 Testing non-separability 1 Verify that the languages are not separable by any language of a sufficient, computable, index K. 2 Find a pattern in the automata producing k-witnesses for arbitrarily large k. (For BΣ 1 (<): same as in previous talk) Patterns in the automata, independently of the bound K, provide - Better complexity - A yes/no answer for separability - But no separator Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 10/14

35 Main result Theorem For S = BΣ 1 (<), FO 2 (<), we can compute K N such that TFAE i. L 1, L 2 are S-separable. ii. L 1, L 2 are S[K]-separable. iii. [L 1 ] K separates L 1 from L 2. iv. A 1, A 2 do not contain a pattern witnessing non-separability. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 11/14

36 Main result Condition iv. yields the following complexity results: Theorem Given NFAs A 1, A 2, one can determine whether the languages L(A 1 ) and L(A 2 ) are BΣ 1 (<)-separable in PTIME, FO 2 (<)-separable in EXPTIME, with respect to Q 1, Q 2, A. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 12/14

37 Future work Obtain tight bounds on the size of BΣ 1 (<) resp. FO 2 (<) - separators Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 13/14

38 Future work Obtain tight bounds on the size of BΣ 1 (<) resp. FO 2 (<) - separators Efficient computation of the separators Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 13/14

39 Future work Obtain tight bounds on the size of BΣ 1 (<) resp. FO 2 (<) - separators Efficient computation of the separators Consider other classes S Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 13/14

40 Thank you Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 14/14

41 BΣ 1 (<): Witnesses in automata L(A 1 ) and L(A 2 ) are not BΣ 1 (<)-separable iff both A 1 and A 2 have a ( u, B)-path: Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 15/14

42 BΣ 1 (<): Witnesses in automata L(A 1 ) and L(A 2 ) are not BΣ 1 (<)-separable iff both A 1 and A 2 have a ( u, B)-path: A 1 B 1 B p u 0 u 1 u p 1 u p Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 15/14

43 BΣ 1 (<): Witnesses in automata L(A 1 ) and L(A 2 ) are not BΣ 1 (<)-separable iff both A 1 and A 2 have a ( u, B)-path: A 1 B 1 B p u 0 u 1 u p 1 u p A 2 B 1 B p u 0 u 1 u p 1 u p Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 15/14

44 BΣ 1 (<): Witnesses in automata L(A 1 ) and L(A 2 ) are not BΣ 1 (<)-separable iff both A 1 and A 2 have a ( u, B)-path: A 1 B 1 B p u 0 u 1 u p 1 u p A 2 B 1 B p u 0 u 1 u p 1 u p This can be determined in PTIME( Q 1, Q 2, A ). Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 15/14

45 Detecting forbidden patterns One can determine in PTIME( Q 1, Q 2, A ) whether ( u, B) such that both A 1 and A 2 have a ( u, B)-path. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 16/14

46 Detecting forbidden patterns One can determine in PTIME( Q 1, Q 2, A ) whether ( u, B) such that both A 1 and A 2 have a ( u, B)-path. By adding meta-transitions in A i, finding a ( u, B)-witness reduces to: Given states p i, q i, r i of A i, is there B A st. the paths = B = B B B B B p 1 q 1 r 1 p 2 q 2 r 2 occur in A 1 resp. A 2? Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 16/14

47 Detecting forbidden patterns One can determine in PTIME( Q 1, Q 2, A ) whether ( u, B) such that both A 1 and A 2 have a ( u, B)-path. By adding meta-transitions in A i, finding a ( u, B)-witness reduces to: Given states p i, q i, r i of A i, is there B A st. the paths = B = B B B B B p 1 q 1 r 1 p 2 q 2 r 2 occur in A 1 resp. A 2? This is in Ptime: iteratively use Tarjan s algorithm. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 16/14

48 Detecting forbidden patterns If B exists, B C 1 def = alph scc(q 1, A 1 ) alph scc(q 2, A 2 ) (linear) Restrict the automata to alphabet C 1, and repeat the process: C i+1 def = alph scc(q 1, A 1 Ci ) alph scc(q 2, A 2 Ci ). After n A iterations, C n = C n+1. If C n =, the answer is no. If C n, it is the maximal possible B with (= B)-loops around q 1, q 2. Then, determine the remaining paths. (linear) Overall linear algorithm. Thomas Place, Lorijn van Rooijen, Marc Zeitoun Separation by PTL and UL 17/14

SEPARATING REGULAR LANGUAGES WITH FIRST-ORDER LOGIC

SEPARATING REGULAR LANGUAGES WITH FIRST-ORDER LOGIC Logical Methods in Computer Science Vol. 12(1:5)2016, pp. 1 30 www.lmcs-online.org Submitted Jun. 4, 2014 Published Mar. 9, 2016 SEPARATING REGULAR LANGUAGES WITH FIRST-ORDER LOGIC THOMAS PLACE AND MARC

More information

A Note on Decidable Separability by Piecewise Testable Languages

A Note on Decidable Separability by Piecewise Testable Languages A Note on Decidable Separability by Piecewise Testable Languages Wojciech Czerwiński 1, Wim Martens 2, Lorijn van Rooijen 3, and Marc Zeitoun 3 1 University of Warsaw 2 University of Bayreuth 3 Bordeaux

More information

A Characterization for Decidable Separability by Piecewise Testable Languages

A Characterization for Decidable Separability by Piecewise Testable Languages Discrete Mathematics and Theoretical Computer Science DMTCS vol. (subm.):1, by the authors, #rev A Characterization for Decidable Separability by Piecewise Testable Languages Wojciech Czerwiński 1 Wim

More information

The theory of regular cost functions.

The theory of regular cost functions. The theory of regular cost functions. Denis Kuperberg PhD under supervision of Thomas Colcombet Hebrew University of Jerusalem ERC Workshop on Quantitative Formal Methods Jerusalem, 10-05-2013 1 / 30 Introduction

More information

The Complexity of Transducer Synthesis from Multi-Sequential Specifications

The Complexity of Transducer Synthesis from Multi-Sequential Specifications The Complexity of Transducer Synthesis from Multi-Sequential Specifications Léo Exibard 12 Emmanuel Filiot 13 Ismaël Jecker 1 Tuesday, August 28 th, 2018 1 Université libre de Bruxelles 2 LIS Aix-Marseille

More information

Simplification of finite automata

Simplification of finite automata Simplification of finite automata Lorenzo Clemente (University of Warsaw) based on joint work with Richard Mayr (University of Edinburgh) Warsaw, November 2016 Nondeterministic finite automata We consider

More information

Controlling probabilistic systems under partial observation an automata and verification perspective

Controlling probabilistic systems under partial observation an automata and verification perspective Controlling probabilistic systems under partial observation an automata and verification perspective Nathalie Bertrand, Inria Rennes, France Uncertainty in Computation Workshop October 4th 2016, Simons

More information

Tree Automata and Rewriting

Tree Automata and Rewriting and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton

More information

Alternating nonzero automata

Alternating nonzero automata Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017 Control and verification

More information

Classes and conversions

Classes and conversions Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r

More information

Languages, logics and automata

Languages, logics and automata Languages, logics and automata Anca Muscholl LaBRI, Bordeaux, France EWM summer school, Leiden 2011 1 / 89 Before all that.. Sonia Kowalewskaya Emmy Noether Julia Robinson All this attention has been gratifying

More information

CS 455/555: Finite automata

CS 455/555: Finite automata CS 455/555: Finite automata Stefan D. Bruda Winter 2019 AUTOMATA (FINITE OR NOT) Generally any automaton Has a finite-state control Scans the input one symbol at a time Takes an action based on the currently

More information

Overlapping tile automata:

Overlapping tile automata: Overlapping tile automata: towards a language theory of overlapping structures David Janin LaBRI, Université de Bordeaux Computer Science in Russia, Ekaterinburg, june 2013 1. From strings to overlapping

More information

CS 121, Section 2. Week of September 16, 2013

CS 121, Section 2. Week of September 16, 2013 CS 121, Section 2 Week of September 16, 2013 1 Concept Review 1.1 Overview In the past weeks, we have examined the finite automaton, a simple computational model with limited memory. We proved that DFAs,

More information

Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien, McGill University p.

Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien, McGill University p. Algebra Meets Logic: The Case of Regular Languages (With Applications to Circuit Complexity) Denis Thérien McGill University Denis Thérien, McGill University p.1/26 Introduction The following are equivalent:

More information

Level Two of the quantifier alternation hierarchy over infinite words

Level Two of the quantifier alternation hierarchy over infinite words Loughborough University Institutional Repository Level Two of the quantifier alternation hierarchy over infinite words This item was submitted to Loughborough University's Institutional Repository by the/an

More information

Separability of Reachability Sets of Vector Addition Systems

Separability of Reachability Sets of Vector Addition Systems Separability of Reachability Sets of Vector Addition Systems Lorenzo Clemente 1, Wojciech Czerwiński 2, Sławomir Lasota 3, and Charles Paperman 4 1 University of Warsaw, Warsaw, Poland 2 University of

More information

CS 208: Automata Theory and Logic

CS 208: Automata Theory and Logic CS 28: Automata Theory and Logic b a a start A x(la(x) y(x < y) L b (y)) B b Department of Computer Science and Engineering, Indian Institute of Technology Bombay of 32 Nondeterminism Alternation 2 of

More information

ON LOGICAL HIERARCHIES WITHIN FO 2 -DEFINABLE LANGUAGES

ON LOGICAL HIERARCHIES WITHIN FO 2 -DEFINABLE LANGUAGES Logical Methods in Computer Science Vol. 8 (3:11) 2012, pp. 1 30 www.lmcs-online.org Submitted Feb. 12, 2011 Published Aug. 13, 2012 ON LOGICAL HIERARCHIES WITHIN FO 2 -DEFINABLE LANGUAGES MANFRED KUFLEITNER

More information

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata.

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata. Finite Automata Automata (singular: automation) are a particularly simple, but useful, model of computation. They were initially proposed as a simple model for the behavior of neurons. The concept of a

More information

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism, CS 54, Lecture 2: Finite Automata, Closure Properties Nondeterminism, Why so Many Models? Streaming Algorithms 0 42 Deterministic Finite Automata Anatomy of Deterministic Finite Automata transition: for

More information

September 7, Formal Definition of a Nondeterministic Finite Automaton

September 7, Formal Definition of a Nondeterministic Finite Automaton Formal Definition of a Nondeterministic Finite Automaton September 7, 2014 A comment first The formal definition of an NFA is similar to that of a DFA. Both have states, an alphabet, transition function,

More information

Variable Automata over Infinite Alphabets

Variable Automata over Infinite Alphabets Variable Automata over Infinite Alphabets Orna Grumberg a, Orna Kupferman b, Sarai Sheinvald b a Department of Computer Science, The Technion, Haifa 32000, Israel b School of Computer Science and Engineering,

More information

Distributed games with causal memory are decidable for series-parallel systems

Distributed games with causal memory are decidable for series-parallel systems Distributed games with causal memory are decidable for series-parallel systems Paul Gastin, enjamin Lerman, Marc Zeitoun Firstname.Name@liafa.jussieu.fr LIF, Université Paris 7, UMR CNRS 7089 FSTTCS, dec.

More information

On Recognizable Languages of Infinite Pictures

On Recognizable Languages of Infinite Pictures On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 LIF, Marseille, Avril 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite alphabet

More information

A look at the control of asynchronous automata

A look at the control of asynchronous automata A look at the control of asynchronous automata 1 1 Introduction Anca Muscholl, Igor Walukiewicz and Marc Zeitoun LaBRI Bordeaux Universtity, France In the simplest case, the controller synthesis problem

More information

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories 1 Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo Outline: Contracts and compositional methods for system design Where and why using

More information

On Recognizable Languages of Infinite Pictures

On Recognizable Languages of Infinite Pictures On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 JAF 28, Fontainebleau, Juin 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite

More information

Logics and automata over in nite alphabets

Logics and automata over in nite alphabets Logics and automata over in nite alphabets Anca Muscholl LIAFA, Univ. Paris 7 & CNRS Joint work with: Miko!aj Bojańczyk (Warsaw, Paris), Claire David (Paris), Thomas Schwentick (Dortmund) and Luc Segou

More information

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

2. Elements of the Theory of Computation, Lewis and Papadimitrou, Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping

More information

Theory of Computation

Theory of Computation Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize

More information

Computability Crib Sheet

Computability Crib Sheet Computer Science and Engineering, UCSD Winter 10 CSE 200: Computability and Complexity Instructor: Mihir Bellare Computability Crib Sheet January 3, 2010 Computability Crib Sheet This is a quick reference

More information

A Survey of Partial-Observation Stochastic Parity Games

A Survey of Partial-Observation Stochastic Parity Games Noname manuscript No. (will be inserted by the editor) A Survey of Partial-Observation Stochastic Parity Games Krishnendu Chatterjee Laurent Doyen Thomas A. Henzinger the date of receipt and acceptance

More information

The domino problem for self-similar structures

The domino problem for self-similar structures The domino problem for self-similar structures Sebastián Barbieri and Mathieu Sablik LIP, ENS de Lyon CNRS INRIA UCBL Université de Lyon Aix-Marseille Université CIE June, 2016 Tilings fractals Tiling

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,

T (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is, Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the

More information

Flat counter automata almost everywhere!

Flat counter automata almost everywhere! Flat counter automata almost everywhere! Jérôme Leroux and Grégoire Sutre Projet Vertecs, IRISA / INRIA Rennes, FRANCE Équipe MVTsi, CNRS / LABRI, FRANCE Counter-automata verification A simple counter-automata:

More information

Finite Automata and Languages

Finite Automata and Languages CS62, IIT BOMBAY Finite Automata and Languages Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS62: New Trends in IT: Modeling and Verification of Cyber-Physical Systems (2

More information

Duality and Automata Theory

Duality and Automata Theory Duality and Automata Theory Mai Gehrke Université Paris VII and CNRS Joint work with Serge Grigorieff and Jean-Éric Pin Elements of automata theory A finite automaton a 1 2 b b a 3 a, b The states are

More information

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005 Complexity Theory Knowledge Representation and Reasoning November 2, 2005 (Knowledge Representation and Reasoning) Complexity Theory November 2, 2005 1 / 22 Outline Motivation Reminder: Basic Notions Algorithms

More information

Theory of Computation

Theory of Computation Theory of Computation Dr. Sarmad Abbasi Dr. Sarmad Abbasi () Theory of Computation / Lecture 3: Overview Decidability of Logical Theories Presburger arithmetic Decidability of Presburger Arithmetic Dr.

More information

L is finite or cofinite}, A + k+1 = { L A + L is a boolean combination of languages of the form L 1 L n (n 1) with L 1, L n A +

L is finite or cofinite}, A + k+1 = { L A + L is a boolean combination of languages of the form L 1 L n (n 1) with L 1, L n A + Some Logical Characterizations of the Dot-Depth Hierarchy and Applications By: Francine Blanchet-Sadri F. Blanchet-Sadri, "Some Logical Characterizations of the Dot-Depth Hierarchy and Applications." Journal

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministic Finite Automata Not A DFA Does not have exactly one transition from every state on every symbol: Two transitions from q 0 on a No transition from q 1 (on either a or b) Though not a DFA,

More information

Kolmogorov structure functions for automatic complexity

Kolmogorov structure functions for automatic complexity Kolmogorov structure functions for automatic complexity Bjørn Kjos-Hanssen June 16, 2015 Varieties of Algorithmic Information, University of Heidelberg Internationales Wissenschaftssentrum History 1936:

More information

Probabilistic Aspects of Computer Science: Probabilistic Automata

Probabilistic Aspects of Computer Science: Probabilistic Automata Probabilistic Aspects of Computer Science: Probabilistic Automata Serge Haddad LSV, ENS Paris-Saclay & CNRS & Inria M Jacques Herbrand Presentation 2 Properties of Stochastic Languages 3 Decidability Results

More information

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA)

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA) Deterministic Finite Automata Non deterministic finite automata Automata we ve been dealing with have been deterministic For every state and every alphabet symbol there is exactly one move that the machine

More information

Finite Model Theory and Graph Isomorphism. II.

Finite Model Theory and Graph Isomorphism. II. Finite Model Theory and Graph Isomorphism. II. Anuj Dawar University of Cambridge Computer Laboratory visiting RWTH Aachen Beroun, 13 December 2013 Recapitulation Finite Model Theory aims to study the

More information

An On-the-fly Tableau Construction for a Real-Time Temporal Logic

An On-the-fly Tableau Construction for a Real-Time Temporal Logic #! & F $ F ' F " F % An On-the-fly Tableau Construction for a Real-Time Temporal Logic Marc Geilen and Dennis Dams Faculty of Electrical Engineering, Eindhoven University of Technology P.O.Box 513, 5600

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 3 January 9, 2017 January 9, 2017 CS21 Lecture 3 1 Outline NFA, FA equivalence Regular Expressions FA and Regular Expressions January 9, 2017 CS21 Lecture 3 2

More information

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET Regular Languages and FA A language is a set of strings over a finite alphabet Σ. All languages are finite or countably infinite. The set of all languages

More information

Finite Universes. L is a fixed-length language if it has length n for some

Finite Universes. L is a fixed-length language if it has length n for some Finite Universes Finite Universes When the universe is finite (e.g., the interval 0, 2 1 ), all objects can be encoded by words of the same length. A language L has length n 0 if L =, or every word of

More information

IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012

IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012 IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012 Abstract. The Isolation Lemma of Valiant & Vazirani (1986)

More information

Characterizing EF and EX tree logics

Characterizing EF and EX tree logics Characterizing EF and EX tree logics Mikolaj Bojańczyk and Igor Walukiewicz Warsaw University and Laboratoire Bordelais de Recherche en Informatique Abstract We describe the expressive power of temporal

More information

Finite Automata and Regular languages

Finite Automata and Regular languages Finite Automata and Regular languages Huan Long Shanghai Jiao Tong University Acknowledgements Part of the slides comes from a similar course in Fudan University given by Prof. Yijia Chen. http://basics.sjtu.edu.cn/

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Complexity Theory Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg April 29, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) + Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality

More information

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational 1 The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational model. We'll remind you what a Turing machine is --- you

More information

Deciding the weak definability of Büchi definable tree languages

Deciding the weak definability of Büchi definable tree languages Deciding the weak definability of Büchi definable tree languages Thomas Colcombet 1,DenisKuperberg 1, Christof Löding 2, Michael Vanden Boom 3 1 CNRS and LIAFA, Université Paris Diderot, France 2 Informatik

More information

On the complexity of infinite computations

On the complexity of infinite computations On the complexity of infinite computations Damian Niwiński, Warsaw University joint work with Igor Walukiewicz and Filip Murlak Newton Institute, Cambridge, June 2006 1 Infinite computations Büchi (1960)

More information

COMP4141 Theory of Computation

COMP4141 Theory of Computation COMP4141 Theory of Computation Lecture 4 Regular Languages cont. Ron van der Meyden CSE, UNSW Revision: 2013/03/14 (Credits: David Dill, Thomas Wilke, Kai Engelhardt, Peter Höfner, Rob van Glabbeek) Regular

More information

On the use of guards for logics with data

On the use of guards for logics with data Author manuscript, published in "Proceedings of MFCS 2011, Warsaw : Poland (2011)" DOI : 10.1007/978-3-642-22993-0_24 On the use of guards for logics with data Thomas Colcombet 1, Clemens Ley 2, Gabriele

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automata and Formal Language Theory Course Notes Part II: The Recognition Problem (II) Chapter II.4.: Properties of Regular Languages (13) Anton Setzer (Based on a book draft by J. V. Tucker and

More information

Two-variable first order logic with modular predicates over words

Two-variable first order logic with modular predicates over words Two-variable first order logic with modular predicates over words Luc Dartois 1 and Charles Paperman 1 1 LIAFA, Université Paris-Diderot and CNRS, Case 7014, 75205 Paris Cedex 13, France lucdartois,charlespaperman@liafauniv-paris-diderotfr

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 2 January 5, 2018 January 5, 2018 CS21 Lecture 2 1 Outline Finite Automata Nondeterministic Finite Automata Closure under regular operations NFA, FA equivalence

More information

Path Logics for Querying Graphs: Combining Expressiveness and Efficiency

Path Logics for Querying Graphs: Combining Expressiveness and Efficiency Path Logics for Querying Graphs: Combining Expressiveness and Efficiency Diego Figueira CNRS, LaBRI Bordeaux, France diego.figueira@labri.fr Leonid Libkin School of Informatics University of Edinburgh

More information

Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD

Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD 1 Introduction Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD We are going to prove that a (small) fragment of mathematics is decidable. 1. A Formula allows variables

More information

Le rning Regular. A Languages via Alt rn ting. A E Autom ta

Le rning Regular. A Languages via Alt rn ting. A E Autom ta 1 Le rning Regular A Languages via Alt rn ting A E Autom ta A YALE MIT PENN IJCAI 15, Buenos Aires 2 4 The Problem Learn an unknown regular language L using MQ and EQ data mining neural networks geometry

More information

Final exam study sheet for CS3719 Turing machines and decidability.

Final exam study sheet for CS3719 Turing machines and decidability. Final exam study sheet for CS3719 Turing machines and decidability. A Turing machine is a finite automaton with an infinite memory (tape). Formally, a Turing machine is a 6-tuple M = (Q, Σ, Γ, δ, q 0,

More information

Machines, Models, Monoids, and Modal logic

Machines, Models, Monoids, and Modal logic Machines, Models, Monoids, and Modal logic Sam van Gool University of Amsterdam and City College of New York September 2017 Tbilisi Symposium on Language, Logic and Computation Lagodekhi, Georgia v. Gool

More information

Using model theory for grammatical inference: a case study from phonology

Using model theory for grammatical inference: a case study from phonology Using model theory for grammatical inference: a case study from phonology Kristina Strother-Garcia, Jeffrey Heinz, & Hyun Jin Hwangbo University of Delaware October 5, 2016 This research is supported by

More information

Algorithmic Model Theory SS 2016

Algorithmic Model Theory SS 2016 Algorithmic Model Theory SS 2016 Prof. Dr. Erich Grädel and Dr. Wied Pakusa Mathematische Grundlagen der Informatik RWTH Aachen cbnd This work is licensed under: http://creativecommons.org/licenses/by-nc-nd/3.0/de/

More information

Visibly Linear Dynamic Logic

Visibly Linear Dynamic Logic Visibly Linear Dynamic Logic Joint work with Alexander Weinert (Saarland University) Martin Zimmermann Saarland University September 8th, 2016 Highlights Conference, Brussels, Belgium Martin Zimmermann

More information

Subregular languages for robotics

Subregular languages for robotics Subregular languages for robotics Jeffrey Heinz heinz@udel.edu University of Delaware Boston University March 18, 2011 1/37 Joint work with Jie Fu (UD) Chetan Rawal (UD) Herbert Tanner (UD) 2/37 Why subregular?

More information

Languages. Non deterministic finite automata with ε transitions. First there was the DFA. Finite Automata. Non-Deterministic Finite Automata (NFA)

Languages. Non deterministic finite automata with ε transitions. First there was the DFA. Finite Automata. Non-Deterministic Finite Automata (NFA) Languages Non deterministic finite automata with ε transitions Recall What is a language? What is a class of languages? Finite Automata Consists of A set of states (Q) A start state (q o ) A set of accepting

More information

1. B 0 = def f;; A + g, 2. B n+1=2 = def POL(B n ) for n 0, and 3. B n+1 = def BC(B n+1=2 ) for n 0. For a language L A + and a minimal n with L 2 B n

1. B 0 = def f;; A + g, 2. B n+1=2 = def POL(B n ) for n 0, and 3. B n+1 = def BC(B n+1=2 ) for n 0. For a language L A + and a minimal n with L 2 B n Languages of Dot{Depth 3=2 Christian Glaer? and Heinz Schmitz?? Theoretische Informatik, Universitat Wurzburg, 97074 Wurzburg, Germany fglasser,schmitzg@informatik.uni-wuerzburg.de Abstract. We prove an

More information

Monoidal Categories, Bialgebras, and Automata

Monoidal Categories, Bialgebras, and Automata Monoidal Categories, Bialgebras, and Automata James Worthington Mathematics Department Cornell University Binghamton University Geometry/Topology Seminar October 29, 2009 Background: Automata Finite automata

More information

Nondeterminism. September 7, Nondeterminism

Nondeterminism. September 7, Nondeterminism September 7, 204 Introduction is a useful concept that has a great impact on the theory of computation Introduction is a useful concept that has a great impact on the theory of computation So far in our

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

COM364 Automata Theory Lecture Note 2 - Nondeterminism

COM364 Automata Theory Lecture Note 2 - Nondeterminism COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly

More information

Antichain Algorithms for Finite Automata

Antichain Algorithms for Finite Automata Antichain Algorithms for Finite Automata Laurent Doyen 1 and Jean-François Raskin 2 1 LSV, ENS Cachan & CNRS, France 2 U.L.B., Université Libre de Bruxelles, Belgium Abstract. We present a general theory

More information

Some techniques and results in deciding bisimilarity

Some techniques and results in deciding bisimilarity Some techniques and results in deciding bisimilarity Petr Jančar Dept of Computer Science Technical University Ostrava (FEI VŠB-TU) Czech Republic www.cs.vsb.cz/jancar Talk at the Verification Seminar,

More information

CS154, Lecture 13: P vs NP

CS154, Lecture 13: P vs NP CS154, Lecture 13: P vs NP The EXTENDED Church-Turing Thesis Everyone s Intuitive Notion of Efficient Algorithms Polynomial-Time Turing Machines More generally: TM can simulate every reasonable model of

More information

Origin-equivalence of two-way word transducers is in PSPACE

Origin-equivalence of two-way word transducers is in PSPACE Origin-equivalence of two-way word transducers is in PSPACE Sougata Bose, Anca Muscholl, Vincent Penelle LaBRI, University of Bordeaux Gabriele Puppis CNRS, LaBRI Abstract We consider equivalence and containment

More information

Trace Diagnostics using Temporal Implicants

Trace Diagnostics using Temporal Implicants Trace Diagnostics using Temporal Implicants ATVA 15 Thomas Ferrère 1 Dejan Nickovic 2 Oded Maler 1 1 VERIMAG, University of Grenoble / CNRS 2 Austrian Institute of Technology October 14, 2015 Motivation

More information

Büchi Automata and Their Determinization

Büchi Automata and Their Determinization Büchi Automata and Their Determinization Edinburgh, October 215 Plan of the Day 1. Büchi automata and their determinization 2. Infinite games 3. Rabin s Tree Theorem 4. Decidability of monadic theories

More information

Harvard CS 121 and CSCI E-121 Lecture 20: Polynomial Time

Harvard CS 121 and CSCI E-121 Lecture 20: Polynomial Time Harvard CS 121 and CSCI E-121 Lecture 20: Polynomial Time Harry Lewis November 12, 20123 Review of Asymptotic Notation For f, g : N R + f = O(g): c > 0 s.t. f(n) c g(n) for all sufficiently large n. f

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

CS154, Lecture 13: P vs NP

CS154, Lecture 13: P vs NP CS154, Lecture 13: P vs NP The EXTENDED Church-Turing Thesis Everyone s Intuitive Notion of Efficient Algorithms Polynomial-Time Turing Machines More generally: TM can simulate every reasonable model of

More information

CS 154. Finite Automata, Nondeterminism, Regular Expressions

CS 154. Finite Automata, Nondeterminism, Regular Expressions CS 54 Finite Automata, Nondeterminism, Regular Expressions Read string left to right The DFA accepts a string if the process ends in a double circle A DFA is a 5-tuple M = (Q, Σ, δ, q, F) Q is the set

More information

Applied Automata Theory

Applied Automata Theory Applied Automata Theory Roland Meyer TU Kaiserslautern Roland Meyer (TU KL) Applied Automata Theory (WiSe 2013) 1 / 161 Table of Contents I 1 Regular Languages and Finite Automata Regular Languages Finite

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Introduction to Tree Logics

Introduction to Tree Logics 1 / 26 Introduction to Tree Logics Pierre Genevès CNRS (slides mostly based on the ones by W. Martens and T. Schwentick) University of Grenoble, 2014 2015 2 / 26 Why Logic? Tree automaton algorithm Logical

More information

Bounded Rationality, Strategy Simplification, and Equilibrium

Bounded Rationality, Strategy Simplification, and Equilibrium Bounded Rationality, Strategy Simplification, and Equilibrium UPV/EHU & Ikerbasque Donostia, Spain BCAM Workshop on Interactions, September 2014 Bounded Rationality Frequently raised criticism of game

More information

The Target Discounted-Sum Problem

The Target Discounted-Sum Problem The Target Discounted-Sum Problem Udi Boker and Thomas A Henzinger and Jan Otop Technical Report No. IST-2015-335-v1+1 Deposited at 18 May 2015 07:50 http://repository.ist.ac.at/335/1/report.pdf IST Austria

More information

C2.1 Regular Grammars

C2.1 Regular Grammars Theory of Computer Science March 6, 26 C2. Regular Languages: Finite Automata Theory of Computer Science C2. Regular Languages: Finite Automata Malte Helmert University of Basel March 6, 26 C2. Regular

More information

Reachability in Petri nets with Inhibitor arcs

Reachability in Petri nets with Inhibitor arcs Reachability in Petri nets with Inhibitor arcs Klaus Reinhardt Universität Tübingen reinhard@informatik.uni-tuebingen.de Overview Multisets, New operators Q and Q on multisets, Semilinearity Petri nets,

More information

The Target Discounted-Sum Problem

The Target Discounted-Sum Problem The Target Discounted-Sum Problem Udi Boker The Interdisciplinary Center (IDC), Herzliya, Israel Email: udiboker@idc.ac.il Thomas A. Henzinger and Jan Otop IST Austria Klosterneuburg, Austria Email: {tah,

More information

The Inclusion Problem for Weighted Automata on Infinite Trees

The Inclusion Problem for Weighted Automata on Infinite Trees The Inclusion Problem for Weighted Automata on Infinite Trees Stefan Borgwardt and Rafael Peñaloza Theoretical Computer Science, TU Dresden, Germany {penaloza,stefborg}@tcs.inf.tu-dresden.de Abstract Weighted

More information

CDS 270 (Fall 09) - Lecture Notes for Assignment 8.

CDS 270 (Fall 09) - Lecture Notes for Assignment 8. CDS 270 (Fall 09) - Lecture Notes for Assignment 8. ecause this part of the course has no slides or textbook, we will provide lecture supplements that include, hopefully, enough discussion to complete

More information

Techniques to solve computationally hard problems in automata theory

Techniques to solve computationally hard problems in automata theory Techniques to solve computationally hard problems in automata theory Richard Mayr University of Edinburgh, UK IST Vienna, 4. Nov. 2014 Resources: www.languageinclusion.org Mayr (Edinburgh) Hard Problems

More information