Learning Regular ω-languages
|
|
- Amice Dixon
- 5 years ago
- Views:
Transcription
1 Learning Regular ω-languages
2 The Goal Device an algorithm for learning an unknown regular ω-language L
3 3 The Goal Device an algorithm for learning an unknown regular ω-language L set of infinite words (ω-words)
4 4 The Goal Device an algorithm for learning accepted by a finite automaton an unknown regular ω-language L
5 5 The Goal Device an algorithm for learning an unknown regular ω-language L Learner
6 6 The Goal Device an algorithm for learning an unknown regular ω-language L L Learner Teacher
7 7 The Goal Device an algorithm for learning an unknown regular ω-language L membership queries equivalence queries L Learner Teacher
8 8 Coping with ω-words Is abcccccabdebbbaaaabcdaa in L? L Learner Teacher
9 9 Coping with ω-words Is abcccccabdebbbaaaabcdaa in L? L Learner Teacher
10 0 Coping with ω-words Is wingardium laviosa ω in L? L Learner Teacher
11 Coping with ω-words Is wingardium laviosa ω in L? wingardium laviosa laviosa laviosa laviosa laviosa L Learner Teacher
12 Coping with ω-words Is wingardium laviosa ω in L? wingardium laviosa laviosa laviosa laviosa laviosa THM: Two regular ω-languages are equivalent iff L they agree on the set of ultimately periodic words Learner Teacher
13 3 The Goal Is uv ω in L? L Learner Teacher
14 4 The Goal Is uv ω in L? Yes / No L Learner Teacher
15 5 The Goal Is uv ω in L? Yes / No Is H same as L? L Learner Teacher
16 6 The Goal Is uv ω in L? Yes / No Is H same as L? L Learner Yes / No, c.e: uv ω Teacher
17 The Goal Is uv ω in L? Yes / No Is H same as L? L Learner Yes / No, c.e: uv ω Teacher H s.t. H =L 7
18 8 Motivation Same problem for regular (finitary) languages is solved by the L* algorithm [Angluin] L* has found applications in many areas including AI, neural networks, geometry, data mining, verification and synthesis and many more. Reactive systems concerns ω-languages, using L* for this limits application to safety (and excludes liveness, fairness)
19 Previous Work on Learning ω-langs. DP / DM DS / DR all regular ω-languages DB DC DWP DWB DWC Safe strictly less expressive 9
20 Previous Work on Learning ω-langs. DP / DM DS / DR all regular ω-languages DB DC DWP DWB DWC From Prefixes From Lassos [de la Higuera & Janodet, 004] [Jayasrirani et al, 0] [Saoudi & Yokomori, 993] Safe strictly less expressive 0
21 Previous Work on Learning ω-langs. DP / DM DS / DR all regular ω-languages DB DC From Lassos [Maler & Pnueli,995] DWP DWB DWC From Prefixes From Lassos [de la Higuera & Janodet, 004] [Jayasrirani et al, 0] [Saoudi & Yokomori, 993] Safe strictly less expressive
22 Previous Work on Learning ω-langs. goal DP / DM DS / DR all regular ω-languages DB DC From Lassos [Maler & Pnueli,995] DWP DWB DWC From Prefixes From Lassos [de la Higuera & Janodet, 004] [Jayasrirani et al, 0] [Saoudi & Yokomori, 993] Safe strictly less expressive
23 Previous Work on Learning ω-langs. goal DP / DM DS / DR all regular ω-languages DB DC From Lassos [Maler & Pnueli,995] DWP DWB DWC From Prefixes From Lassos [de la Higuera & Janodet, 004] [Jayasrirani et al, 0] [Saoudi & Yokomori, 993] Safe strictly less expressive 3
24 Previous Work on Learning ω-langs. goal DP / DM DS / DR all regular ω-languages DB DC From Lassos [Maler & Pnueli,995] DWP DWB DWC From Prefixes From Lassos [de la Higuera & Janodet, 004] [Jayasrirani et al, 0] [Saoudi & Yokomori, 993] Safe strictly less expressive 4
25 5 However L $ [Calbrix, Nivat & Podelski 93] [Maler & Staiger 93] Syntactic FORC Recurrent FDFA
26 6 However May be exp. bigger than L $ [Calbrix, Nivat & Podelski 93] [Maler & Staiger 93] Syntactic FORC Recurrent FDFA
27 7 However May be exp. bigger than L $ [Calbrix, Nivat & Podelski 93] [Maler & Staiger 93] Syntactic FORC May be quadr. bigger than Recurrent FDFA
28 8 Main Contribution Learner L ω a learning algorithm for all 3 representations (periodic, syntactic, recurrent)
29 9 Why is it difficult? L* 96 ω- aut.
30 30 Why is it difficult? L* works due to the Myhill-Nerode Theorem, stating a -to- relationship between states of the minimal DFA (deterministic finite automaton) and the syntactic right congruence ~ of a language. a b c 4 4 b a 3 c a L* 96 ω- aut.
31 3 Why is it difficult? L* works due to the Myhill-Nerode Theorem, stating a -to- relationship between states of the minimal DFA (deterministic finite automaton) and the syntactic right congruence ~ of a language. a b c 4 4 b a 3 c a L* But for ω-langs, the syntactic right congruence is not informative enough! 96 ω- aut.
32 3 The Syntactic Right Congruence For finite words x» L y iff v *. xvl, yvl
33 33 The Syntactic Right Congruence For finite words x» L y iff v *. xvl, yvl Example: L = { w w has an even number of a s}
34 34 The Syntactic Right Congruence For finite words x» L y iff v *. xvl, yvl Example: L = { w w has an even number of a s} Then» L has two equivalence classes: words with an odd number of a s and b 0 a b words with an even number of a s a
35 35 The Syntactic Right Congruence For finite words: x» L y iff v *. xvl, yvl For ω-words: x» L y iff w!. xwl, ywl
36 36 The Syntactic Right Congruence For finite words: x» L y iff v *. xvl, yvl For ω-words: x» x» L y iff w! L y iff u,v *.. xuv xwl!, ywl yuv! L
37 37 The Syntactic Right Congruence For ω-words: x» L y iff u,v *. xuv! L, yuv! L Example: L = { w w has finitely many a s}
38 38 The Syntactic Right Congruence For ω-words: x» L y iff u,v *. xuv! L, yuv! L Example: L = { w w has finitely many a s} Then xuv! L iff uv! has finitely may a s.
39 39 The Syntactic Right Congruence For ω-words: x» L y iff u,v *. xuv! L, yuv! L Example: L = { w w has finitely many a s} Then xuv! L iff uv! has finitely may a s. Regardless of x. Thus» L has just one equivalence class.
40 40 The Syntactic Right Congruence For ω-words: x» L y iff u,v *. xuv! L, yuv! L Example: L = { w w has finitely many a s} Then xuv! L iff uv! has finitely may a s. Regardless of x. Thus» L has just one equivalence class.
41 The Syntactic Right Congruence For ω-words: x» L y iff u,v *. xuv! L, yuv! L Example: L = { w w has finitely many a s} Then xuv! L iff uv! has finitely may a s. Regardless of x. Thus» L has just one equivalence class. But clearly an ω-automaton for L requires at least two states. 4
42 4 Solution Foundation Families of DFAs (FDFA) A non-traditional representation of ω-automata inspired by Maler & Staiger s 97 families of right congruences (FORC) and their canonical representation of a Syntactic FORC for which they have shown a Myhill-Nerode Theorem
43 Family of Right Congruences [MS97] (»,¼,¼,¼ 3,¼ 4,¼ 5 ) Leading Progress Leading Right Congruence 4 5 Plus some restriction (details ommited) 43
44 44 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress Leading DFA M
45 45 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P Leading DFA M
46 46 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P P Leading DFA M
47 47 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P P 3 3 P 3 Leading DFA M
48 48 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P P P 3 Leading DFA M 4 P 4
49 49 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P P P 3 Leading DFA M 4 P 4 P 5
50 Family of DFAs (FDFA) (M, P, P, P 3, P 4, P 5 ) Leading Progress P P P 3 Leading DFA M 4 P 4 P 5 That restriction removed. 50
51 FDFA Exact Acceptance? (u,v) M, P, P, P 3, P 4, P 5 uv! P P P3 M P4 P5
52 FDFA Exact Acceptance? (u,v) M, P, P, P 3, P 4, P 5 uv! P P u P3 M P4 P5
53 FDFA Exact Acceptance? (u,v) M, P, P, P 3, P 4, P 5 uv! P P u P3 M P4 v P5
54 FDFA Exact Acceptance? (u,v) M, P, P, P 3, P 4, P 5 uv! P P u P3 M P4 v P5
55 FORC and FDFA Example L = { w w has finitely many a s} FORC FDFA Progress No a s Some a s Leading a,b All prefixes are equally good
56 FORC and FDFA Example L = { w w has finitely many a s} FORC FDFA Progress No a s Some a s b a a,b P a,b Leading All prefixes are equally good
57 FORC and FDFA Example L = { w w has finitely many a s} FORC FDFA Progress No a s Some a s b a a,b P a,b Leading (abba,bbb) All prefixes are equally good (abba,bab)
58 58 4-state automaton 0,, 0 0
59 59 4-state automaton Some periods of are easy to find: ,, 0 0
60 60 4-state automaton Some periods of are easy to find: ,, 0 0 Some are hard: 0
61 6 4-state automaton Some periods of are easy to find: ,, 0 0 Some are hard:
62 6 4-state automaton Some periods of are easy to find: ,, 0 0 Some are hard: The DFA for periods of has 3 states => L $ > 3
63 63 4-state automaton All periods that loop back are easy to find: ,, 0 0
64 4-state automaton All periods that loop back are easy to find: ,, 0 0 The DFA that accepts only periods of that loop back has only 5 states! 64
65 65 Saturation (Consistency) How can we use this without losing saturation?
66 66 Saturation (Consistency) How can we use this without losing saturation? We say that a language is saturated if uv! =xy! implies (u,v)l, (x,y)l
67 67 Saturation (Consistency) How can we use this without losing saturation? We say that a language is saturated if uv! =xy! implies (u,v)l, (x,y)l To achieve saturation, we change the definition of acceptance.
68 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 P P P4 4 M 3 5 P3 P5
69 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 Normalization seeks for the smallest repetition of the period that loops back P P P4 4 M 3 5 P3 P5
70 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 Normalization seeks for the smallest repetition of the period that loops back P P P4 4 M 3 5 P3 P5
71 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 Normalization seeks for the smallest repetition of the period that loops back P P P4 4 M 3 5 P3 P5
72 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 Normalization seeks for the smallest repetition of the period that loops back P P P4 4 M 3 5 P3 P5
73 FDFA Normalized Acceptance? (u,v) M, P, P, P 3, P 4, P 5 Normalization seeks for the smallest repetition of the period that loops back P P P4 4 M 3 5 P3 P5 We term Recurrent FDFA the FDFA where progress DFA recognize only periods that loop back. It is saturated under normalized acceptance!
74 74 More generally Generalizing to arbitrary n we get the following lower bound May be exp. bigger than Periodic FDFA (L $ ) Syntactic FDFA Recurrent FDFA
75 75 The Learner L ω Same scheme for all 3 canonical FDFAs
76 76 Minimality? The Recurrent FDFA for a given L is not necessarily the minimal FDFA for L. According to the normalized acceptance criterion a progress DFA P u should give correct results only to extensions that close a cycle to u. On other extensions it has freedom. This has the flavor of minimization with unknowns, which is NP complete. The Recurrent FDFA chooses to treat all don t cares as rejecting.
77 77 Time Complexity Interestingly, [Klarlund, 994] has shown that choosing a leading automaton which is more refined (bigger) than the syntactic right congruence, may yield an overall smaller FDFA. If we are given such a leading automaton, we can feed it to the learning algorithm, in which case it will yield the smaller FDFA. However, the same phenomenon can cause the learning algorithm for the syntactic/recurrent FDFAs to work as hard as the one for the periodic FDFA
78 78 Time Complexity The worst case time complexity for all 3 families is thus polynomial in the size of the periodic FDFA. Some positive results on sizes obtained via recurrent FDFA learner vs. periodic FDFA learner on randomly generated Muller automata.
79 80 Future Direction Find smaller canonical representations? Find smallest FDFA? Learning the leading first? L*-learning for (traditional) ω-automata? Other types of learning for ω-languages?
80 Learning THE END Thank you for your attention! Comments or questions? Regular Languages via Alternating Automata IJCAI 5 8
81 83 Time Complexity The worst case time complexity for all 3 families is thus polynomial in the size of the periodic FDFA. Some positive results on sizes obtained via recurrent FDFA learner vs. periodic FDFA learner on randomly generated Muller automata.
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 informationClick to edit. Master title. style
Query Learning of Derived ω-tree Languages in Polynomial Time Dana Angluin, Tımos Antonopoulos & Dana 1 Query Learning a set of possile concepts Question Answer tc Learner Teacher Tries to identify a target
More informationLearning 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 informationLe 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 informationQuery 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 informationFAMILIES 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 informationBü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 informationTimo 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 informationInference 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 informationLearning 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 informationDefinition 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 informationCOMP-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 informationA 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 informationLearning 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 informationLearning 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 informationCOMP-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 informationAdvanced 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 informationA 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 informationUsing 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 informationLearning 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 information2. 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 informationSynthesis 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 informationLearning 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 informationAngluin-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 informationCSE 311 Lecture 23: Finite State Machines. Emina Torlak and Kevin Zatloukal
CSE 3 Lecture 3: Finite State Machines Emina Torlak and Kevin Zatloukal Topics Finite state machines (FSMs) Definition and examples. Finite state machines with output Definition and examples. Finite state
More informationω-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 informationHKN 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 informationClasses 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 informationGames with Costs and Delays
Games with Costs and Delays Martin Zimmermann Saarland University June 20th, 2017 LICS 2017, Reykjavik, Iceland Martin Zimmermann Saarland University Games with Costs and Delays 1/14 Gale-Stewart Games
More informationClosure under the Regular Operations
September 7, 2013 Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have shown this closure
More informationLearning 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 informationPrime Languages, Orna Kupferman, Jonathan Mosheiff. School of Engineering and Computer Science The Hebrew University, Jerusalem, Israel
Prime Languages, Orna Kupferman, Jonathan Mosheiff School of Engineering and Computer Science The Hebrew University, Jerusalem, Israel Abstract We say that a deterministic finite automaton (DFA) A is composite
More information2. 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 informationAlgebraic Approach to Automata Theory
Algebraic Approach to Automata Theory Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 20 September 2016 Outline 1 Overview 2 Recognition via monoid
More informationComplexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler
Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard
More informationOutline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.
Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität
More informationOpen Problems in Automata Theory: An Idiosyncratic View
Open Problems in Automata Theory: An Idiosyncratic View Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit
More informationDM17. Beregnelighed. Jacob Aae Mikkelsen
DM17 Beregnelighed Jacob Aae Mikkelsen January 12, 2007 CONTENTS Contents 1 Introduction 2 1.1 Operations with languages...................... 2 2 Finite Automata 3 2.1 Regular expressions/languages....................
More informationThe Separating Words Problem
The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca https://www.cs.uwaterloo.ca/~shallit 1/54 The Simplest
More informationFinal 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 informationWe 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 informationUNIT-VIII COMPUTABILITY THEORY
CONTEXT SENSITIVE LANGUAGE UNIT-VIII COMPUTABILITY THEORY A Context Sensitive Grammar is a 4-tuple, G = (N, Σ P, S) where: N Set of non terminal symbols Σ Set of terminal symbols S Start symbol of the
More informationThe Separating Words Problem
The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit 1 / 48 An Advertisement
More informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 4.1, 5.1 Define reductions from one problem to another. Use reductions to prove
More informationAutomata 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 informationNotes on State Minimization
U.C. Berkeley CS172: Automata, Computability and Complexity Handout 1 Professor Luca Trevisan 2/3/2015 Notes on State Minimization These notes present a technique to prove a lower bound on the number of
More informationLBT 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 information1 More finite deterministic automata
CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.
More informationA Symbolic Approach to Safety LTL Synthesis
A Symbolic Approach to Safety LTL Synthesis Shufang Zhu 1 Lucas M. Tabajara 2 Jianwen Li Geguang Pu 1 Moshe Y. Vardi 2 1 East China Normal University 2 Rice Lucas M. Tabajara (Rice University) 2 University
More informationWhat You Must Remember When Processing Data Words
What You Must Remember When Processing Data Words Michael Benedikt, Clemens Ley, and Gabriele Puppis Oxford University Computing Laboratory, Park Rd, Oxford OX13QD UK Abstract. We provide a Myhill-Nerode-like
More informationComputational 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 informationOn the Accepting Power of 2-Tape Büchi Automata
On the Accepting Power of 2-Tape Büchi Automata Equipe de Logique Mathématique Université Paris 7 STACS 2006 Acceptance of infinite words In the sixties, Acceptance of infinite words by finite automata
More informationÉmilie Charlier 1 Department of Mathematics, University of Liège, Liège, Belgium Narad Rampersad.
#A4 INTEGERS B () THE MINIMAL AUTOMATON RECOGNIZING m N IN A LINEAR NUMERATION SYSTEM Émilie Charlier Department of Mathematics, University of Liège, Liège, Belgium echarlier@uwaterloo.ca Narad Rampersad
More informationCompositional 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 informationEfficient minimization of deterministic weak ω-automata
Information Processing Letters 79 (2001) 105 109 Efficient minimization of deterministic weak ω-automata Christof Löding Lehrstuhl Informatik VII, RWTH Aachen, 52056 Aachen, Germany Received 26 April 2000;
More informationMinimization 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 informationCSE 105 THEORY OF COMPUTATION. Spring 2018 review class
CSE 105 THEORY OF COMPUTATION Spring 2018 review class Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with confidence. Identify areas to focus
More informationTheoretical 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 informationAutomata extended to nominal sets
Bachelor thesis Computer Science Radboud University Automata extended to nominal sets Author: Joep Veldhoven s4456556 First supervisor/assessor: Jurriaan Rot jrot@cs.ru.nl Second and third supervisor:
More informationRuntime 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 informationDeciding whether a regular language is power-closed is PSPACE-complete
Deciding whether a regular language is power-closed is PSPACE-complete Yuval Filmus September 2, 2012 Abstract A regular language L is power-closed if whenever x L, also x k L for all k 1. We show that
More informationUncountable 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 informationTheory 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 informationCS 154 Introduction to Automata and Complexity Theory
CS 154 Introduction to Automata and Complexity Theory cs154.stanford.edu 1 INSTRUCTORS & TAs Ryan Williams Cody Murray Lera Nikolaenko Sunny Rajan 2 Textbook 3 Homework / Problem Sets Homework will be
More informationObtaining the syntactic monoid via duality
Radboud University Nijmegen MLNL Groningen May 19th, 2011 Formal languages An alphabet is a non-empty finite set of symbols. If Σ is an alphabet, then Σ denotes the set of all words over Σ. The set Σ forms
More informationLearning register automata: from languages to program structures
Mach Learn (2014) 96:65 98 DOI 10.1007/s10994-013-5419-7 Learning register automata: from languages to program structures Malte Isberner Falk Howar Bernhard Steffen Received: 9 December 2012 / Accepted:
More informationTheory of Computation 3 Deterministic Finite Automata
Theory of Computation 3 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 informationAutomated 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 informationPeled, 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 informationTheory 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 informationIntroduction to Languages and Computation
Introduction to Languages and Computation George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 400 George Voutsadakis (LSSU) Languages and Computation July 2014
More informationModel Counting for Logical Theories
Model Counting for Logical Theories Wednesday Dmitry Chistikov Rayna Dimitrova Department of Computer Science University of Oxford, UK Max Planck Institute for Software Systems (MPI-SWS) Kaiserslautern
More informationThe 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 informationPranav Garg 1 Christof Löding 2 P. Madhusudan 1 Daniel Neider 2
Form Methods Syst Des (2015) 47:120 157 DOI 10.1007/s10703-015-0231-6 Quantified data automata for linear data structures: a register automaton model with applications to learning invariants of programs
More informationLecture 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 informationThe 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 informationNOTES 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 informationPSL 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 informationMore on Finite Automata and Regular Languages. (NTU EE) Regular Languages Fall / 41
More on Finite Automata and Regular Languages (NTU EE) Regular Languages Fall 2016 1 / 41 Pumping Lemma is not a Sufficient Condition Example 1 We know L = {b m c m m > 0} is not regular. Let us consider
More informationFormalizing and Reasoning about Quality
Formalizing and Reasoning about Quality Thesis for the degree of Doctor of Philosophy by Shaull Almagor Submitted to the Senate of the Hebrew University of Jerusalem May, 2016 This work was carried out
More informationThe efficiency of identifying timed automata and the power of clocks
The efficiency of identifying timed automata and the power of clocks Sicco Verwer a,b,1,, Mathijs de Weerdt b, Cees Witteveen b a Eindhoven University of Technology, Department of Mathematics and Computer
More informationConstructive 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 informationAdvanced 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 informationAnswers to the CSCE 551 Final Exam, April 30, 2008
Answers to the CSCE 55 Final Exam, April 3, 28. (5 points) Use the Pumping Lemma to show that the language L = {x {, } the number of s and s in x differ (in either direction) by at most 28} is not regular.
More informationNondeterministic 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 informationLecture 2: Regular Expression
Lecture 2: Regular Expression Instructor: Ketan Mulmuley Scriber: Yuan Li January 8, 2015 In the last lecture, we proved that DFA, NFA, and NFA with ϵ-moves are equivalent. Recall that a language L Σ is
More informationClosure under the Regular Operations
Closure under the Regular Operations Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have
More informationCSci 311, Models of Computation Chapter 4 Properties of Regular Languages
CSci 311, Models of Computation Chapter 4 Properties of Regular Languages H. Conrad Cunningham 29 December 2015 Contents Introduction................................. 1 4.1 Closure Properties of Regular
More informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Spring 2017 http://cseweb.ucsd.edu/classes/sp17/cse105-ab/ Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with
More information} Some languages are Turing-decidable A Turing Machine will halt on all inputs (either accepting or rejecting). No infinite loops.
and their languages } Some languages are Turing-decidable A Turing Machine will halt on all inputs (either accepting or rejecting). No infinite loops. } Some languages are Turing-recognizable, but not
More informationIC3 and Beyond: Incremental, Inductive Verification
IC3 and Beyond: Incremental, Inductive Verification Aaron R. Bradley ECEE, CU Boulder & Summit Middle School IC3 and Beyond: Incremental, Inductive Verification 1/62 Induction Foundation of verification
More informationCOMP4141 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 informationEquivalence. See section 4.4 of the text
Equivalence See section 4.4 of the text Our algorithm for converting a regular expression into a DFA produces a correct but overly complex automaton. We will now look at some technique for simplifying
More informationQuantum Computing Lecture 8. Quantum Automata and Complexity
Quantum Computing Lecture 8 Quantum Automata and Complexity Maris Ozols Computational models and complexity Shor s algorithm solves, in polynomial time, a problem for which no classical polynomial time
More informationLanguages. 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 informationDESCRIPTIONAL 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 informationAdvanced 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 informationRemarks on Separating Words
Remarks on Separating Words Erik D. Demaine, Sarah Eisenstat, Jeffrey Shallit 2, and David A. Wilson MIT Computer Science and Artificial Intelligence Laboratory, 32 Vassar Street, Cambridge, MA 239, USA,
More informationTechniques 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 informationCP405 Theory of Computation
CP405 Theory of Computation BB(3) q 0 q 1 q 2 0 q 1 1R q 2 0R q 2 1L 1 H1R q 1 1R q 0 1L Growing Fast BB(3) = 6 BB(4) = 13 BB(5) = 4098 BB(6) = 3.515 x 10 18267 (known) (known) (possible) (possible) Language:
More information