On Determinisation of History-Deterministic Automata.

Similar documents
Good-for-Games Automata versus Deterministic Automata.

4 Deterministic Büchi Automata

1 Nondeterministic Finite Automata

Regular expressions, Finite Automata, transition graphs are all the same!!

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38

Chapter 2 Finite Automata

Deterministic Finite Automata

Minimal DFA. minimal DFA for L starting from any other

Theory of Computation Regular Languages

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck.

Convert the NFA into DFA

Finite-State Automata: Recap

Lexical Analysis Finite Automate

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Kleene-*

Lecture 9: LTL and Büchi Automata

Lecture 08: Feb. 08, 2019

Let's start with an example:

First Midterm Examination

How Deterministic are Good-For-Games Automata?

CHAPTER 1 Regular Languages. Contents

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA)

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018

Coalgebra, Lecture 15: Equations for Deterministic Automata

Nondeterminism and Nodeterministic Automata

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Formal Methods in Software Engineering

First Midterm Examination

Non-deterministic Finite Automata

CISC 4090 Theory of Computation

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers

How Deterministic are Good-For-Games Automata?

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

Formal Language and Automata Theory (CS21004)

Fundamentals of Computer Science

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Regular languages refresher

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Non-deterministic Finite Automata

Chapter 1, Part 1. Regular Languages. CSC527, Chapter 1, Part 1 c 2012 Mitsunori Ogihara 1

Designing finite automata II

Formal languages, automata, and theory of computation

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Worked out examples Finite Automata

Java II Finite Automata I

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh

Converting Regular Expressions to Discrete Finite Automata: A Tutorial

Chapter 4 Regular Grammar and Regular Sets. (Solutions / Hints)

Nondeterminism. Nondeterministic Finite Automata. Example: Moves on a Chessboard. Nondeterminism (2) Example: Chessboard (2) Formal NFA

a,b a 1 a 2 a 3 a,b 1 a,b a,b 2 3 a,b a,b a 2 a,b CS Determinisitic Finite Automata 1

From LTL to Symbolically Represented Deterministic Automata

Controlling a population of identical NFA

Formal Languages and Automata

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont.

Normal Forms for Context-free Grammars

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science

CSCI 340: Computational Models. Transition Graphs. Department of Computer Science

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

Lecture 09: Myhill-Nerode Theorem

CS375: Logic and Theory of Computing

Nondeterministic Biautomata and Their Descriptional Complexity

Introduction to ω-autamata

Kleene s Theorem. Kleene s Theorem. Kleene s Theorem. Kleene s Theorem. Kleene s Theorem. Kleene s Theorem 2/16/15

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS

CS:4330 Theory of Computation Spring Regular Languages. Equivalences between Finite automata and REs. Haniel Barbosa

Automata, Games, and Verification

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

Finite Automata-cont d

Foundations of XML Types: Tree Automata

Regular Language. Nonregular Languages The Pumping Lemma. The pumping lemma. Regular Language. The pumping lemma. Infinitely long words 3/17/15

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute

CMSC 330: Organization of Programming Languages

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

Deterministic Finite-State Automata

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

Harvard University Computer Science 121 Midterm October 23, 2012

State Minimization for DFAs

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

CDM Automata on Infinite Words

CS 275 Automata and Formal Language Theory

Learning Moore Machines from Input-Output Traces

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

1 From NFA to regular expression

Thoery of Automata CS402

The Value 1 Problem for Probabilistic Automata

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model?

Revision Sheet. (a) Give a regular expression for each of the following languages:

Scanner. Specifying patterns. Specifying patterns. Operations on languages. A scanner must recognize the units of syntax Some parts are easy:

Homework 3 Solutions

Transcription:

On Deterministion of History-Deterministic Automt. Denis Kupererg Mich l Skrzypczk University of Wrsw YR-ICALP 2014 Copenhgen

Introduction Deterministic utomt re centrl tool in utomt theory: Polynomil lgorithms for inclusion, complementtion. Sfe composition with gmes, trees. Solutions of the synthesis prolem (verifiction). Esily implemented. Prolems : exponentil stte low-up technicl constructions (Sfr) Cn we weken the notion of determinism while preserving some good properties?

History-deterministic utomt Ide : Nondeterminism cn e resolved without knowledge out the future.

History-deterministic utomt Ide : Nondeterminism cn e resolved without knowledge out the future. Introduced independently in symolic representtion (Henzinger, Pitermn 06) simplifiction qulittive models (Colcomet 09) replce determinism Applictions synthesis rnching time verifiction tree lnguges (Boker, K, Kupfermn, S 12)

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: c Prover: controls trnsitions,, c,,c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: c c Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: c c... = w Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c Plyer H-D wins if: w L Run ccepting.

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: c c... = w Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c Plyer H-D wins if: w L Run ccepting. A H-D mens tht there is strtegy σ : A Q, for ccepting words of L(A).

Definition vi gme A utomton on finite or infinite words. Refuter plys letters: c c... = w Prover: controls trnsitions,, c,, c q 0 q 1 q 2, c c Plyer H-D wins if: w L Run ccepting. A H-D mens tht there is strtegy σ : A Q, for ccepting words of L(A). How close is this to determinism?

Some properties of H-D utomt Composition with gmes: A G hs sme winner s G with condition L(A). Theorem (Boker, K, Kupfermn, S 12) Let A e n utomton for L A ω. Then the tree version of A recognizes {t : ll rnches of t re in L} if nd only if A is H-D. Fct Let A e H-D on finite words. Then A contins n equivlent deterministic utomton. Therefore, H-D is not useful concept on finite words. Wht out infinite words?

An utomton tht is not H-D This utomton for L = ( + ) ω is not H-D:, p, q Opponent strtegy: ply until Eve goes in q, then ply ω. Fct H-D utomt with condition C hve sme expressivity s deterministic utomt with condition C. Therefore, H-D could improve succinctness ut not expressivity.

A H-D Büchi exmple Büchi condition: Run is ccepting if infinitely mny Büchi trnsitions re seen. x x x x Lnguge: [(x + x) (xx + xx)] ω

Determiniztion of Büchi H-D Theorem Let A H-D Büchi utomton. There exists deterministic utomton B with L(B) = L(A) nd B A 2. Proof scheme: Use rutl powerset deterministion, rnk signtures of Wlukiewicz itertive normliztion of A dependency grph over the utomton Conclusion: the utomton cn use itself s memory structure qudrtic low-up only. Is it true for ll ω-regulr conditions?

The lnguge L n n pths: σ, π permute pths, cuts the current 0-pth. Here for n = 5: α: σ π σ π σ π DAG: 0 1 2 3 4 time: 0 1 2 3 4 5 6 7 8 The word α is in L n if it contins n infinite pth.

Automton for L n H-D cobüchi utomton for L n with n sttes: letters σ nd π permute sttes deterministiclly. letter : stte 0 go nywhere ut py cobüchi (must e finitely mny times) sttes 1,..., n: do nothing Strtegy σ: try pths one fter the other. Uses memory 2 n, to ensure tht ll pths re visited. Theorem Any deterministic utomton for L n hs Ω(2 n ) sttes. CoBüchi (nd prity) H-D utomt cn provide oth succinctness nd sound ehviour with respect to gmes.

Automton for L n H-D cobüchi utomton for L n with n sttes: letters σ nd π permute sttes deterministiclly. letter : stte 0 go nywhere ut py cobüchi (must e finitely mny times) sttes 1,..., n: do nothing Strtegy σ: try pths one fter the other. Uses memory 2 n, to ensure tht ll pths re visited. Theorem Any deterministic utomton for L n hs Ω(2 n ) sttes. CoBüchi (nd prity) H-D utomt cn provide oth succinctness nd sound ehviour with respect to gmes. Question: Cn we effectively use them?

Recognizing H-D utomt Question: Given n utomton A, is it H-D? Theorem The complexity of deciding H-D-ness is in P for cobüchi utomt NP for Büchi utomt t lest s hrd s solving prity gmes (NP conp) for prity utomt. Open Prolems Is it in P for ny fixed cceptnce condition? Is it equivlent to prity gmes in the generl cse?

Summry nd conclusion Results H-D utomt cpture good properties of deterministic utomt. Inclusion is in P, ut Complementtion Deterministion. Conditions Büchi nd lower: H-D Deterministic. Conditions cobüchi nd higher: exponentil succinctness. Recognizing H-D cobüchi is in P. Open Prolems Cn we uild smll H-D utomt in systemtic wy? Complexity of deciding H-D-ness for prity utomt?