Click to edit. Master title. style

Size: px
Start display at page:

Download "Click to edit. Master title. style"

Transcription

1 Query Learning of Derived ω-tree Languages in Polynomial Time Dana Angluin, Tımos Antonopoulos & Dana 1

2 Query Learning a set of possile concepts Question Answer tc Learner Teacher Tries to identify a target concept 2

3 Query Learning w. MQ & EQ Regular Languages MQ = memership queries EQ = equivalence queries. Master Is w in L? title Yes / No Is [H] same as L? L w 4 w 3 w 5 w 1 w 2 Learner H s.t. [H] =L Yes / No, c.e: w Teacher 3

4 Requirements from Learner Work well regardless of the given counterexample Complexity is measured wrt. l Length of the maximum counterexample l Size of a minimal description for L

5 Learning Regular Languages In 1987 Angluin showed that a regular language can e learned in polynomial time using MQ and EQ. And proposed the learning algorithm L* for that. Regular languages cannot e learned in polynomial time using just MQ or just EQ [Angluin 90]

6 Learning Regular Languages Many improvements to the original L* algorithm since Many applications Master to L* in particular title in analysis, verification and synthesis of programs, protocols and hardware. See recent Model Learning CACM article y Frits Vaandrager

7 Query Learning of Richer Formalisms Finite Words L* Finite Words AL* ω-words L ω DFA Words over Infinite alphaets Λ* AFA Weighted Words W* ω-aut 7 Sym. Aut DWA

8 Our Interest a Master title T ω ω-tree Aut 8

9 ω-words and ω-trees ω-word Infinite length word over a finite alphaet ω-tree Infinite depth tree, with a finite fixed ranching degree, over a finite alphaet aaaaaaaaa a a a a What was accomplished in learning regular ω-languages? a a 9

10 Hierarchy of Regular ω-languages Learnale [Farzan et al. 08] [Angluin & Fisman 14] Difficulties: - No Myhill-Nerode Thm - No minimization Alg Master D-Parity title ω-reg Langs D-Buchi D-coBuchi Poly-Learnale [Maler & Pnueli 95] DW-Buchi DW-Parity DW-coBuchi Weak ω-reg Langs 10 Expressive Power

11 Our Focus Derived ω-tree Languages: ω-tree languages consisting of trees all of whose paths satisfy a certain property on ω-words GF a GF a GF a Let L e an ω-language. Trees d (L) denotes the set of all d-ary ω-trees where all paths are in L GF a GF a Hmm Can this e reduced to learning corr. ω-word langs? 11

12 Main Result Click THM: to edit Learning of Derived(D-Buchi) langs w MQ & EQ can e polynomially reduced to learning D-Buchi langs w MQ & EQ 12

13 Corollary Derived(D-Parity) Poly- Reducile Derived(D-Buchi) Derived(D-coBuchi) Poly- Learnale Derived(DW-Parity) Derived(DW-Buchi) Derived(DW-coBuchi) 13

14 Perspective NPT Master NBT title DBT Poly- Reducile Derived(D-Buchi) 14 Poly- Learnale Expressive Power

15 We need some definitions 15

16 ω-word Acceptor (DBW) Deterministic Buchi Word Acceptor (DBW) look like DFA ut the Click acceptance criterion to edit requires that an accepting state is visited infinitely often a a 2 L = a* ω L = (a) ω 16

17 !sman D.!sman Asking MQ reg.. langs Is aa in L? Learner ord w ω reg. gs. lan Teacher Is aaaaaaaaaaaaaa Learner Teacher tree ω. reg gs. lan Learner 17 Is Teacher

18 Representing Examples Ultimately periodic words are words of the form u v v v v v v v... How can we represent infinite words or infinite trees in a finite manner? denoted uv ω Master represented title (u, v) [McNaughton 66] THM Two regular ω-word languages are equivalent iff they agree on the set of ultimately periodic words 18

19 Representing Examples Regular ω-trees are ω-trees that have a finite numer of non-isomorphic complete infinite sutrees How can we represent infinite words or infinite trees in a finite manner? [Rain 72] THM: Two regular ω-tree languages are equivalent iff they agree on the set of regular ω-trees 19

20 Representing Examples Regular ω-trees are ω-trees that have a finite numer of non-isomorphic complete infinite sutrees a a a [Rain 72] THM: Two regular ω-tree languages are equivalent iff they agree on the set of regular ω-trees 20

21 Representing Examples Regular ω-trees can e represented using ω-tree automaton a a Complete DFAs over the alphaet of tree directions, accompanied y an output function laeling transitions a L/a A t R/ 21 L/ R/ Σ in = {L, R} Σ out = {a, } t a a

22 Derived Langs. ω-word lang its derived ω-tree lang L = a* ω aaaa... Trees 2 (L) a aaaaaaaaaaa... ω-word acceptor a 1 2 ω-tree acceptor??? 22

23 ω-tree acceptors ω-word acceptor ω-tree acceptor Runs on a ω-word Runs on a ω-tree a a a... q 0 q 1 q 2 q 1 q 1 q 8 q 0 q 2 q 0 a q 2 a a q 0 q 1 q 4 δ : Q Σ Q δ : Q Σ 2 Q 2 23

24 M => M T Given an ω-word aut M can we uild an ω-tree aut M T s.t. M T accepts Trees d ([M])? 24

25 M for L => M T for Trees(L) 25 Given an ω-word aut M for L a 1 We can construct an ω-tree aut. M T for Trees 2 (L) y mimicking M in each direction independently L = a* ω 2 From State T = Trees 2 (L) Upon Reading To States q1 (a,a) (q1, q1) q1 (a,) (q1, q2) q1 (,a) (q2, q1) q1 (,) (q2, q2) q2 (a,a) (q2, q2) q2 (a,) (q2, q ) q2 (,a) (q, q2) q2 (,) (q, q )

26 Main Result Click THM: to edit Learning of Derived(D-Buchi) langs w MQ & EQ can e polynomially reduced to learning D-Buchi langs w MQ & EQ 26

27 The reduction framework 27

28 A Trees A M T accepts a tree t iff M accepts all of t s paths

29 A Trees A M T accepts a tree t iff M accepts all of t s paths

30 EQ answered no t Master Trees d (L) [M T ] title t is a counterexample pos. ce t Trees d (L) t [M T ] neg. ce t Trees d (L) t [M T ] t We can give w as a ce to A Not clear how to extract a ce for A 30

31 A Trees A

32 A Trees A

33 Dealing with neg. counterexample 33

34 Dealing w. Negative CE neg. ce Click t Trees d (L) to edit t [M T ] t If only we could have asked suset queries aout L and get a ce.. We would have asked paths(t) L and the ce returned is what we are looking for USQ = Unrestricted suset query returns whether H L and a ce if not RSQ = Restricted suset query returns whether H L and does not return a ce 34

35 Dealing w. Negative CE We show that USQ can e simulated y RSQ neg. ce Click t Trees d (L) to edit t [M T ] t USQ = Unrestricted suset query returns whether H L and a ce if not That is, we can extract the ce ourselves RSQ = Restricted suset query returns whether H L and does not return a ce 35

36 Dealing w. Negative CE We show that USQ can e simulated y RSQ neg. ce Click t Trees d (L) to edit t [M T ] t That is, we can extract the ce ourselves But we don t have RSQ either We show that the RSQ we need can e simulated y MQ 36

37 RSQ => USQ counterexample length = 11 Reg Langs NFW/DFW M USQ for L RSQ for L 37 Idea: first estalish the length of the ce Yes No, ce Is M ε L? Is M Σ L? Is M Σ 2 L? Is M Σ 3 L? Is M Σ 11 L?

38 RSQ => USQ counterexample a a a a a length = 11 Reg Langs NFW/DFW M USQ for L RSQ for L Then work out letter y letter Yes No, ce Is M aσ 10 L? Is M aaσ 9 L? Is M aσ 9 L? 38

39 RSQ => USQ counterexample a a a a a length = 11 Reg Langs NFW/DFW M USQ for L RSQ for L 39 Note: the length must e estalished first Yes No, ce Take L = Σ* \ a* ε is a prefix of a ce a is a prefix of a ce aa is a prefix of a ce aaa is a prefix of a ce

40 RSQ => USQ counterexample prefix ω period ω-reg Langs DBW/NBW M USQ for L RSQ for L Need to estalish the prefix and the period Yes No, ce Once we estalish the period we can estalish the prefix as efore 40 But how do we estalish the period?

41 Estalishing the Period ω q 0 prefix q period Lq 0,q (Lq,q) ω \ L q Suppose we know there is a period of the form (aσ k ) ω The length of the smallest period can still e more than k+1 E.g. L = Σ ω \ (aaccadd) ω 41

42 Estalishing the Period ω q 0 prefix q period Lq 0,q (Lq,q) ω \ L q So what do we do? We can estalish pieces of the period, one y one 42

43 Estalishing the Period prefix ω period q 0 q Lq 0,q (Lq,q) ω \ L q 43

44 Estalishing the Period prefix ω period q 0 Lq 0,q q (Lq,q Lq,q) ω q \ L 44

45 Estalishing the Period prefix ω period q 0 q q Lq 0,q (Lq,q Lq,q) ω \ L q 45

46 Estalishing the Period ω q 0 prefix a a period v 1 q q Lq 0,q (Lq,q Lq,q) ω \ L q 46

47 Estalishing the Period ω q 0 prefix a a period v 1 q q Lq 0,q (Lq,q Lq,q) ω \ L Lq,q q 47

48 Estalishing the Period ω q 0 prefix a a period Master c c title v 1 q q q Lq 0,q (Lq,q Lq,q) ω \ L Lq,q v 2 q 48

49 Estalishing the Period n = #states in DBT for L prefix ω period q 0 v 1 v q q 2 v 3 v n q q q q Lq 0,q ((Lq,q) n Lq,q) ω \ L q Lq 0,q (v1 v2 v3 vn Lq,q) ω \ L eventually for some i,j < n: Lq 0,q v1 v2 (vi vi+1 vj) ω \ L 49

50 Proof Let w Lq 0,q (v1 v2 vn Lq,q) ω Then w is of the form \ L w = u (v1 v2 vn y1) (v1 v2 vn y2) (v1 v2 vn y3) w = u ( y1) ( y2) ( y3) ( y4) ( y5) ( y6) ( y7) ( y8) ( y9) q 0 q q q q q q q q q q Eventually visits only non-accepting states r 1 r 2 r 3 r n r i = r j for some i, j 50

51 Proof w = u (v1 v2 vn y1) (v1 v2 vn y2) (v1 v2 vn y3) w = u ( y1) ( y2) ( y3) ( y4) ( y5) ( y6) ( y7) ( y8) ( y9) q 0 q q q q q q q q q q r 1 r i r j r n = r i u' v' u' (v') ω Lq 0,q (Lq,q) ω \ L 51

52 A Trees A

53 Summary We have shown how to reduce learning Derived(D-Buchi) Click to langs edit w. MQ and EQ to learning D-Buchi langs w. MQ and EQ Together with [MP95] s result we otain polylearnaility of Derived(DW-Parity) langs. Desired: a poly-learnailty result for more than DW-Parity 53

54 Thank you for your attention! Comments / Questions? 54

Query Learning of Derived ω-tree Languages in Polynomial Time

Query Learning of Derived ω-tree Languages in Polynomial Time Query Learning of Derived ω-tree Languages in Polynomial Time Dana Angluin 1, Timos Antonopoulos 2, and Dana Fisman 3 1 Yale University, New Haven, CT, USA 2 Yale University, New Haven, CT, USA 3 Ben-Gurion

More information

Learning Regular ω-languages

Learning Regular ω-languages Learning Regular ω-languages The Goal Device an algorithm for learning an unknown regular ω-language L 3 The Goal Device an algorithm for learning an unknown regular ω-language L set of infinite words

More information

Learning Regular ω-languages

Learning Regular ω-languages Learning Regular ω-languages 1 2 Overview Motivation Background (ω-automata) 2014 Previous work on learning regular ω-languages Why is it difficult to extend L* [Angluin] to ω- languages? L* works due

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

Languages. A language is a set of strings. String: A sequence of letters. Examples: cat, dog, house, Defined over an alphabet:

Languages. A language is a set of strings. String: A sequence of letters. Examples: cat, dog, house, Defined over an alphabet: Languages 1 Languages A language is a set of strings String: A sequence of letters Examples: cat, dog, house, Defined over an alphaet: a,, c,, z 2 Alphaets and Strings We will use small alphaets: Strings

More information

A practical introduction to active automata learning

A practical introduction to active automata learning A practical introduction to active automata learning Bernhard Steffen, Falk Howar, Maik Merten TU Dortmund SFM2011 Maik Merten, learning technology 1 Overview Motivation Introduction to active automata

More information

Inference of ω-languages from Prefixes

Inference of ω-languages from Prefixes Inference of ω-languages from Prefixes Colin DE LA HIGUERA and Jean-Christophe JANODET EURISE, Université de Saint-Etienne France cdlh@univ-st-etienne.fr, janodet@univ-st-etienne.fr Astract. Büchi automata

More information

Advanced Automata Theory 11 Regular Languages and Learning Theory

Advanced Automata Theory 11 Regular Languages and Learning Theory Advanced Automata Theory 11 Regular Languages and Learning Theory Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced

More information

A practical introduction to active automata learning

A practical introduction to active automata learning A practical introduction to active automata learning Bernhard Steffen, Falk Howar, Maik Merten TU Dortmund SFM2011 Maik Merten, learning technology 1 Overview Motivation Introduction to active automata

More information

Learning cover context-free grammars from structural data

Learning cover context-free grammars from structural data Learning cover context-free grammars from structural data Mircea Marin Gabriel Istrate West University of Timişoara, Romania 11th International Colloquium on Theoretical Aspects of Computing ICTAC 2014

More information

Definition of Büchi Automata

Definition of Büchi Automata Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A

More information

FAMILIES OF DFAS AS ACCEPTORS OF ω-regular LANGUAGES

FAMILIES OF DFAS AS ACCEPTORS OF ω-regular LANGUAGES Logical Methods in Computer Science Vol. 14(1:15)2018, pp. 1 21 https://lmcs.episciences.org/ Submitted Dec. 29, 2016 Published Feb. 14, 2018 FAMILIES OF DFAS AS ACCEPTORS OF ω-regular LANGUAGES DANA ANGLUIN,

More information

Learning Regular Sets

Learning Regular Sets Learning Regular Sets Author: Dana Angluin Presented by: M. Andreína Francisco Department of Computer Science Uppsala University February 3, 2014 Minimally Adequate Teachers A Minimally Adequate Teacher

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Learning k-edge Deterministic Finite Automata in the Framework of Active Learning

Learning k-edge Deterministic Finite Automata in the Framework of Active Learning Learning k-edge Deterministic Finite Automata in the Framework of Active Learning Anuchit Jitpattanakul* Department of Mathematics, Faculty of Applied Science, King Mong s University of Technology North

More information

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear:

ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: ω-automata ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: in verification, as encodings of non-terminating executions of a program. in arithmetic,

More information

M = (Q,Σ,δ,q 0,F) Σ is the alphabet over which the transitions are defined.

M = (Q,Σ,δ,q 0,F) Σ is the alphabet over which the transitions are defined. LECTURE 23 10.1 Formal Definition of a DFA Definition 10.1 A Deterministic Finite Automaton (DFA) M, is a five-tuple: where M = (Q,Σ,δ, 0,F) Q is a finite set of states. It is important that the set of

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June

More information

Compositional Reasoning

Compositional Reasoning EECS 219C: Computer-Aided Verification Compositional Reasoning and Learning for Model Generation Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: Avrim Blum Compositional Reasoning S. A. Seshia 2 1

More information

Building a befer mousetrap. Transi-on Graphs. L = { abba } Building a befer mousetrap. L = { abba } L = { abba } 2/16/15

Building a befer mousetrap. Transi-on Graphs. L = { abba } Building a befer mousetrap. L = { abba } L = { abba } 2/16/15 Building a efer mousetrap Let s uild an FA that only accepts the string aa from Σ = { a } Models of Computa-on Lecture #5 (a?er quiz) Chapter 6 Building a efer mousetrap Let s uild an FA that only accepts

More information

Plan for Today and Beginning Next week (Lexical Analysis)

Plan for Today and Beginning Next week (Lexical Analysis) Plan for Today and Beginning Next week (Lexical Analysis) Regular Expressions Finite State Machines DFAs: Deterministic Finite Automata Complications NFAs: Non Deterministic Finite State Automata From

More information

Learning to Complement Büchi Automata

Learning to Complement Büchi Automata Learning to Complement Büchi Automata Yong Li 1,2, Andrea Turrini 1, Lijun Zhang 1,2, and Sven Schewe 3 1 State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing,

More information

Timo Latvala. March 7, 2004

Timo Latvala. March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness Timo Latvala March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness 14-1 Safety Safety properties are a very useful subclass of specifications.

More information

HKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed

HKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed HKN CS/ECE 374 Midterm 1 Review Nathan Bleier and Mahir Morshed For the most part, all about strings! String induction (to some extent) Regular languages Regular expressions (regexps) Deterministic finite

More information

Learning of Bi-ω Languages from Factors

Learning of Bi-ω Languages from Factors JMLR: Workshop and Conference Proceedings 21:139 144, 2012 The 11th ICGI Learning of Bi-ω Languages from Factors M. Jayasrirani mjayasrirani@yahoo.co.in Arignar Anna Government Arts College, Walajapet

More information

Learning Residual Finite-State Automata Using Observation Tables

Learning Residual Finite-State Automata Using Observation Tables Learning Residual Finite-State Automata Using Observation Tables Anna Kasprzik kasprzik@informatik.uni-trier.de September 16, 2009 Keywords: Algorithmic learning theory, grammatical inference, observation

More information

Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries

Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries Jose Oncina Dept. Lenguajes y Sistemas Informáticos - Universidad de Alicante oncina@dlsi.ua.es September

More information

An Active Learning Approach For Inferring Discrete Event Automata

An Active Learning Approach For Inferring Discrete Event Automata An Active Learning Approach For Inferring Discrete Event Automata Mohammad Mahdi Karimi PhD. Candidate, ECE Supervisor: Dr Ali Karimoddini Summer 2015 1 Content 1. Discrete Event Systems Definitions Applications

More information

The Power of Random Counterexamples

The Power of Random Counterexamples Proceedings of Machine Learning Research 76:1 14, 2017 Algorithmic Learning Theory 2017 The Power of Random Counterexamples Dana Angluin DANA.ANGLUIN@YALE.EDU and Tyler Dohrn TYLER.DOHRN@YALE.EDU Department

More information

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: Automata, State machines, Circuits Stavros Tripakis University of California, Berkeley Stavros

More information

Chapter 3: Linear temporal logic

Chapter 3: Linear temporal logic INFOF412 Formal verification of computer systems Chapter 3: Linear temporal logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 LTL: a specification

More information

On Decision Problems for Probabilistic Büchi Automata

On Decision Problems for Probabilistic Büchi Automata On Decision Prolems for Proailistic Büchi Automata Christel Baier 1, Nathalie Bertrand 2, Marcus Größer 1 1 TU Dresden, Germany 2 IRISA, INRIA Rennes, France Cachan 05 février 2008 Séminaire LSV 05/02/08,

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

Learning Context Free Grammars with the Syntactic Concept Lattice

Learning Context Free Grammars with the Syntactic Concept Lattice Learning Context Free Grammars with the Syntactic Concept Lattice Alexander Clark Department of Computer Science Royal Holloway, University of London alexc@cs.rhul.ac.uk ICGI, September 2010 Outline Introduction

More information

SUFFIX TREE. SYNONYMS Compact suffix trie

SUFFIX TREE. SYNONYMS Compact suffix trie SUFFIX TREE Maxime Crochemore King s College London and Université Paris-Est, http://www.dcs.kcl.ac.uk/staff/mac/ Thierry Lecroq Université de Rouen, http://monge.univ-mlv.fr/~lecroq SYNONYMS Compact suffix

More information

Synthesis and Inductive Learning Part 3

Synthesis and Inductive Learning Part 3 Synthesis and Inductive Learning Part 3 Sanjit A. Seshia EECS Department UC Berkeley Acknowledgments: Susmit Jha, Alexandre Donze, Edward Lee NSF ExCAPE Summer School June 23-25, 2015 Questions of Interest

More information

PSL Model Checking and Run-time Verification via Testers

PSL Model Checking and Run-time Verification via Testers PSL Model Checking and Run-time Verification via Testers Formal Methods 2006 Aleksandr Zaks and Amir Pnueli New York University Introduction Motivation (Why PSL?) A new property specification language,

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

Foreword. Grammatical inference. Examples of sequences. Sources. Example of problems expressed by sequences Switching the light

Foreword. Grammatical inference. Examples of sequences. Sources. Example of problems expressed by sequences Switching the light Foreword Vincent Claveau IRISA - CNRS Rennes, France In the course of the course supervised symbolic machine learning technique concept learning (i.e. 2 classes) INSA 4 Sources s of sequences Slides and

More information

Angluin-Style Learning of NFA

Angluin-Style Learning of NFA Angluin-Style Learning of NFA Benedikt Bollig LSV, ENS Cachan, CNRS bollig@lsv.ens-cachan.fr Peter Habermehl LIAFA, U. Paris Diderot (Paris 7) Peter.Habermehl@liafa.jussieu.fr Carsten Kern MOVES, RWTH

More information

Ludwig Staiger Martin-Luther-Universität Halle-Wittenberg Hideki Yamasaki Hitotsubashi University

Ludwig Staiger Martin-Luther-Universität Halle-Wittenberg Hideki Yamasaki Hitotsubashi University CDMTCS Research Report Series A Simple Example of an ω-language Topologically Inequivalent to a Regular One Ludwig Staiger Martin-Luther-Universität Halle-Wittenerg Hideki Yamasaki Hitotsuashi University

More information

Finite Automata and Regular Languages (part II)

Finite Automata and Regular Languages (part II) Finite Automata and Regular Languages (part II) Prof. Dan A. Simovici UMB 1 / 25 Outline 1 Nondeterministic Automata 2 / 25 Definition A nondeterministic finite automaton (ndfa) is a quintuple M = (A,

More information

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 9 : Myhill-Nerode Theorem and applications

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 9 : Myhill-Nerode Theorem and applications COMP-33 Theory of Computation Fall 217 -- Prof. Claude Crépeau Lec. 9 : Myhill-Nerode Theorem and applications COMP 33 Fall 212: Lectures Schedule 1-2. Introduction 1.5. Some basic mathematics 2-3. Deterministic

More information

Constructive Formalization of Regular Languages

Constructive Formalization of Regular Languages Constructive Formalization of Regular Languages Jan-Oliver Kaiser Advisors: Christian Doczkal, Gert Smolka Supervisor: Gert Smolka UdS November 7, 2012 Jan-Oliver Kaiser (UdS) Constr. Formalization of

More information

Uncountable Automatic Classes and Learning

Uncountable Automatic Classes and Learning Uncountable Automatic Classes and Learning Sanjay Jain a,1, Qinglong Luo a, Pavel Semukhin b,2, Frank Stephan c,3 a Department of Computer Science, National University of Singapore, Singapore 117417, Republic

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

NOTES ON AUTOMATA. Date: April 29,

NOTES ON AUTOMATA. Date: April 29, NOTES ON AUTOMATA 1. Monoids acting on sets We say that a monoid S with identity element ɛ acts on a set Q if q(st) = (qs)t and qɛ = q. As with groups, if we set s = t whenever qs = qt for all q Q, then

More information

4.2 The Halting Problem

4.2 The Halting Problem 172 4.2 The Halting Problem The technique of diagonalization was discovered in 1873 by Georg Cantor who was concerned with the problem of measuring the sizes of infinite sets For finite sets we can simply

More information

Minimization of DFAs

Minimization of DFAs CS 72: Computability and Complexity Minimization of DFAs Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: L.von Ahn, L. Blum, M. Blum, A. Sinclair What is Minimization? Minimized DFA for language L

More information

Theory of Computation

Theory of Computation Fall 2002 (YEN) Theory of Computation Midterm Exam. Name:... I.D.#:... 1. (30 pts) True or false (mark O for true ; X for false ). (Score=Max{0, Right- 1 2 Wrong}.) (1) X... If L 1 is regular and L 2 L

More information

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1 Randomness for Free Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1 1 IST Austria (Institute of Science and Technology Austria) 2 LSV, ENS Cachan & CNRS, France 3 LaBri

More information

What we have done so far

What we have done so far What we have done so far DFAs and regular languages NFAs and their equivalence to DFAs Regular expressions. Regular expressions capture exactly regular languages: Construct a NFA from a regular expression.

More information

Non-regular languages

Non-regular languages Non-regular languages (Pumping Lemma) Fall 2017 Costas Busch - RPI 1 Non-regular languages { a n n : n 0} { vv R : v{ a, }*} Regular languages a* * c a c( a )* etc... Fall 2017 Costas Busch - RPI 2 How

More information

Peled, Vardi, & Yannakakis: Black Box Checking

Peled, Vardi, & Yannakakis: Black Box Checking Peled, Vardi, & Yannakakis: Black Box Checking Martin Leucker leucker@it.uu.se Department of Computer Systems,, Sweden Plan Preliminaries State identification and verification Conformance Testing Extended

More information

Learning Mealy Machines with Timers

Learning Mealy Machines with Timers Learning Mealy Machines with Timers Bengt Jonsson Department of Information Technology, Uppsala University Abstract We introduce a new model of Mealy machines with timers (MMTs), which is able to describe

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

LBT for Procedural and Reac1ve Systems Part 2: Reac1ve Systems Basic Theory

LBT for Procedural and Reac1ve Systems Part 2: Reac1ve Systems Basic Theory LBT for Procedural and Reac1ve Systems Part 2: Reac1ve Systems Basic Theory Karl Meinke, karlm@kth.se School of Computer Science and Communica:on KTH Stockholm 0. Overview of the Lecture 1. Learning Based

More information

Enhancing Active Automata Learning by a User Log Based Metric

Enhancing Active Automata Learning by a User Log Based Metric Master Thesis Computing Science Radboud University Enhancing Active Automata Learning by a User Log Based Metric Author Petra van den Bos First Supervisor prof. dr. Frits W. Vaandrager Second Supervisor

More information

Nonregular Languages

Nonregular Languages Nonregular Languages Recap from Last Time Theorem: The following are all equivalent: L is a regular language. There is a DFA D such that L( D) = L. There is an NFA N such that L( N) = L. There is a regular

More information

Theory of Computation 4 Non-Deterministic Finite Automata

Theory of Computation 4 Non-Deterministic Finite Automata Theory of Computation 4 Non-Deterministic Finite Automata Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Theory of Computation

More information

Reactive Synthesis. Swen Jacobs VTSA 2013 Nancy, France u

Reactive Synthesis. Swen Jacobs VTSA 2013 Nancy, France u Reactive Synthesis Nancy, France 24.09.2013 u www.iaik.tugraz.at 2 Property Synthesis (You Will Never Code Again) 3 Construct Correct Systems Automatically Don t do the same

More information

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014 Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic

More information

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure Outline Temporal Logic Ralf Huuck Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness Model Checking Problem model, program? M φ satisfies, Implements, refines property, specification

More information

We define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ,

We define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ, Distinguishability Recall A deterministic finite automaton is a five-tuple M = (S,Σ,T,s 0,F) where S is a finite set of states, Σ is an alphabet the input alphabet, T : S Σ S is the transition function,

More information

1.3 Regular Expressions

1.3 Regular Expressions 51 1.3 Regular Expressions These have an important role in descriing patterns in searching for strings in many applications (e.g. awk, grep, Perl,...) All regular expressions of alphaet are 1.Øand are

More information

On the Succinctness of Nondeterminizm

On the Succinctness of Nondeterminizm On the Succinctness of Nondeterminizm Benjamin Aminof and Orna Kupferman Hebrew University, School of Engineering and Computer Science, Jerusalem 91904, Israel Email: {benj,orna}@cs.huji.ac.il Abstract.

More information

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 5 : DFA minimization

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 5 : DFA minimization COMP-33 Theory of Computation Fall 27 -- Prof. Claude Crépeau Lec. 5 : DFA minimization COMP 33 Fall 27: Lectures Schedule 4. Context-free languages 5. Pushdown automata 6. Parsing 7. The pumping lemma

More information

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.

More information

Unary Automatic Graphs: An Algorithmic Perspective 1

Unary Automatic Graphs: An Algorithmic Perspective 1 Unary Automatic Graphs: An Algorithmic Perspective 1 This paper studies infinite graphs produced from a natural unfolding operation applied to finite graphs. Graphs produced via such operations are of

More information

Learning Regular Languages over Large Alphabets

Learning Regular Languages over Large Alphabets Learning Regular Languages over Large Alphabets Oded Maler and Irini Eleftheria Mens CNRS-VERIMAG University of Grenoble France Abstract. This work is concerned with regular languages defined over large

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Learning to Verify Branching Time Properties

Learning to Verify Branching Time Properties Learning to Verify Branching Time Properties Abhay Vardhan and Mahesh Viswanathan Dept. of Computer Science, Univ. of Illinois at Urbana-Champaign, USA Abstract. We present a new model checking algorithm

More information

Computational Models - Lecture 4

Computational Models - Lecture 4 Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push

More information

Teil 5: Informationsextraktion

Teil 5: Informationsextraktion Theorie des Algorithmischen Lernens Sommersemester 2006 Teil 5: Informationsextraktion Version 1.1 Gliederung der LV Teil 1: Motivation 1. Was ist Lernen 2. Das Szenario der Induktiven Inf erenz 3. Natürlichkeitsanforderungen

More information

DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY

DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY International Journal of Foundations of Computer Science Vol. 16, No. 5 (2005) 975 984 c World Scientific Publishing Company DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY HING LEUNG Department

More information

Models of active learning in group-structured state spaces

Models of active learning in group-structured state spaces Models of active learning in group-structured state spaces Gábor Bartók, Csaba Szepesvári 1, Sandra Zilles Department of Computing Science, University of Alberta Edmonton, Alberta, Canada Abstract We investigate

More information

Query-based Learning of XPath Expressions

Query-based Learning of XPath Expressions Query-based Learning of XPath Expressions Julien Carme, Michal Ceresna, and Max Goebel Database and Artificial Intelligence Group Vienna University of Technology Abstract. XML is data format for storing

More information

Runtime Verification of Safety-Progress Properties

Runtime Verification of Safety-Progress Properties Unité Mixte de Recherche 5104 CNRS - INPG - UJF Centre Equation 2, avenue de VIGNATE F-38610 GIERES tel : +33 456 52 03 40 fax : +33 456 52 03 50 http://www-verimag.imag.fr Runtime Verification of Safety-Progress

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 448 (2012) 41 46 Contents lists available at SciVerse ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Polynomial characteristic sets

More information

3515ICT: Theory of Computation. Regular languages

3515ICT: Theory of Computation. Regular languages 3515ICT: Theory of Computation Regular languages Notation and concepts concerning alphabets, strings and languages, and identification of languages with problems (H, 1.5). Regular expressions (H, 3.1,

More information

Bernhard Steffen, Falk Howar, Malte Isberner TU Dortmund /CMU. B. Steffen Summer School CPS

Bernhard Steffen, Falk Howar, Malte Isberner TU Dortmund /CMU. B. Steffen Summer School CPS Active Automata Learning: From DFA to Interface Programs and Beyond or From Languages to Program Executions or (more technically) The Power of Counterexample Analysis Bernhard Steffen, Falk Howar, Malte

More information

Learning probability distributions generated by finite-state machines

Learning probability distributions generated by finite-state machines Learning probability distributions generated by finite-state machines Jorge Castro Ricard Gavaldà LARCA Research Group Departament de Llenguatges i Sistemes Informàtics Universitat Politècnica de Catalunya,

More information

Advanced Automata Theory 2 Finite Automata

Advanced Automata Theory 2 Finite Automata Advanced Automata Theory 2 Finite Automata Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory 2 Finite

More information

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany Real-Time Systems Lecture 15: The Universality Problem for TBA 2013-06-26 15 2013-06-26 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: Extended Timed

More information

LTL is Closed Under Topological Closure

LTL is Closed Under Topological Closure LTL is Closed Under Topological Closure Grgur Petric Maretić, Mohammad Torabi Dashti, David Basin Department of Computer Science, ETH Universitätstrasse 6 Zürich, Switzerland Abstract We constructively

More information

Polynomial time Prediction Strategy with almost Optimal Mistake Probability

Polynomial time Prediction Strategy with almost Optimal Mistake Probability Polynomial time Prediction Strategy with almost Optimal Mistake Probability Nader H. Bshouty Department of Computer Science Technion, 32000 Haifa, Israel bshouty@cs.technion.ac.il Abstract We give the

More information

2. Syntactic Congruences and Monoids

2. Syntactic Congruences and Monoids IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.

More information

Regularity-preserving letter selections

Regularity-preserving letter selections Regularity-preserving letter selections Armando B. Matos LIACC, Universidade do Porto Rua do Campo Alegre 823, 4150 Porto, Portugal 1 Introduction and definitions Seiferas and McNaughton gave in [SM76]

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

Automata-Theoretic LTL Model-Checking

Automata-Theoretic LTL Model-Checking Automata-Theoretic LTL Model-Checking Arie Gurfinkel arie@cmu.edu SEI/CMU Automata-Theoretic LTL Model-Checking p.1 LTL - Linear Time Logic (Pn 77) Determines Patterns on Infinite Traces Atomic Propositions

More information

Automated Compositional Analysis for Checking Component Substitutability

Automated Compositional Analysis for Checking Component Substitutability Automated Compositional Analysis for Checking Component Substitutability Nishant Sinha December 2007 Electrical and Computer Engineering Department Carnegie Mellon University Pittsburgh, PA 15213 Thesis

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

CS 301. Lecture 18 Decidable languages. Stephen Checkoway. April 2, 2018

CS 301. Lecture 18 Decidable languages. Stephen Checkoway. April 2, 2018 CS 301 Lecture 18 Decidable languages Stephen Checkoway April 2, 2018 1 / 26 Decidable language Recall, a language A is decidable if there is some TM M that 1 recognizes A (i.e., L(M) = A), and 2 halts

More information

Lecture 11 Safety, Liveness, and Regular Expression Logics

Lecture 11 Safety, Liveness, and Regular Expression Logics Lecture 11 Safety, Liveness, and Regular Expression Logics Safety and Liveness Regular Expressions w-regular Expressions Programs, Computations, and Properties Guarantee, Response, and Persistance Properties.

More information

Automata on Infinite words and LTL Model Checking

Automata on Infinite words and LTL Model Checking Automata on Infinite words and LTL Model Checking Rodica Condurache Lecture 4 Lecture 4 Automata on Infinite words and LTL Model Checking 1 / 35 Labeled Transition Systems Let AP be the (finite) set of

More information

Advanced Automata Theory 7 Automatic Functions

Advanced Automata Theory 7 Automatic Functions Advanced Automata Theory 7 Automatic Functions Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory

More information

Computational Models - Lecture 3 1

Computational Models - Lecture 3 1 Computational Models - Lecture 3 1 Handout Mode Iftach Haitner and Yishay Mansour. Tel Aviv University. March 13/18, 2013 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Learning Languages from Bounded Resources: The Case of the DFA and the Balls of Strings

Learning Languages from Bounded Resources: The Case of the DFA and the Balls of Strings Learning Languages from Bounded Resources: The Case of the DFA and the Balls of Strings Colin de la Higuera and Jean-Christophe Janodet and Frédéric Tantini Universities of Lyon, 18 r. Pr. Lauras, F-42000

More information

Synthesis of Winning Strategies for Interaction under Partial Information

Synthesis of Winning Strategies for Interaction under Partial Information Synthesis of Winning Strategies for Interaction under Partial Information Oberseminar Informatik Bernd Puchala RWTH Aachen University June 10th, 2013 1 Introduction Interaction Strategy Synthesis 2 Main

More information