Hierarchy of pushdown graphs

Similar documents
The Caucal Hierarchy of Infinite Graphs in Terms of Logic and Higher-order Pushdown Automata

More general families of infinite graphs

On Rational Graphs. Christophe Morvan. IRISA, Campus de Beaulieu, Rennes, France

CHAPTER 1 Regular Languages. Contents

Contextual graph grammars characterising Rational Graphs

CS375: Logic and Theory of Computing

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

Coalgebra, Lecture 15: Equations for Deterministic Automata

Model Checking and Functional Program Transformations

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

Finite-State Automata: Recap

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

On Determinisation of History-Deterministic Automata.

Lecture 08: Feb. 08, 2019

ɛ-closure, Kleene s Theorem,

Fundamentals of Computer Science

First Midterm Examination

Deterministic Finite Automata

CSE : Exam 3-ANSWERS, Spring 2011 Time: 50 minutes

Formal Languages and Automata

Finite Automata-cont d

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

Non-deterministic Finite Automata

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

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

Converting Regular Expressions to Discrete Finite Automata: A Tutorial

Good-for-Games Automata versus Deterministic Automata.

First Midterm Examination

NFAs continued, Closure Properties of Regular Languages

Chapter 2 Finite Automata

Non-deterministic Finite Automata

Free groups, Lecture 2, part 1

80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES. 2.6 Finite State Automata With Output: Transducers

CISC 4090 Theory of Computation

CONTEXT-SENSITIVE LANGUAGES, RATIONAL GRAPHS AND DETERMINISM

Random subgroups of a free group

CMSC 330: Organization of Programming Languages

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

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

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

Lexical Analysis Finite Automate

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

Marking shortest paths on pushdown graphs does not preserve MSO decidability

Nondeterminism and Nodeterministic Automata

Formal Language and Automata Theory (CS21004)

Thoery of Automata CS402

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

Harvard University Computer Science 121 Midterm October 23, 2012

A negative answer to a question of Wilke on varieties of!-languages

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

Prefix-Free Regular-Expression Matching

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

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CSC 311 Theory of Computation

Context-Free Grammars and Languages

Algebra 2 Semester 1 Practice Final

Formal languages, automata, and theory of computation

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

Table of contents: Lecture N Summary... 3 What does automata mean?... 3 Introduction to languages... 3 Alphabets... 3 Strings...

CS 275 Automata and Formal Language Theory

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

The Value 1 Problem for Probabilistic Automata

Minimal DFA. minimal DFA for L starting from any other

Let's start with an example:

Journal of Inequalities in Pure and Applied Mathematics

3 Regular expressions

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

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

Java II Finite Automata I

CS 330 Formal Methods and Models

GNFA GNFA GNFA GNFA GNFA

Software Engineering using Formal Methods

Lexical Analysis Part III

BACHELOR THESIS Star height

CS 330 Formal Methods and Models

Hybrid Control and Switched Systems. Lecture #2 How to describe a hybrid system? Formal models for hybrid system

Second Lecture: Basics of model-checking for finite and timed systems

Introduction to ω-autamata

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

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

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

2. Lexical Analysis. Oscar Nierstrasz

CS344: Introduction to Artificial Intelligence

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

1 From NFA to regular expression

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.

Running an NFA & the subset algorithm (NFA->DFA) CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/

Homework 3 Solutions

Regular Expressions for Muller Context-Free Languages

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama

Model Reduction of Finite State Machines by Contraction

COMPOSITIONALITY AND REACHABILITY WITH CONDITIONS ON PATH LENGTHS

CHAPTER : INTEGRATION Content pge Concept Mp 4. Integrtion of Algeric Functions 4 Eercise A 5 4. The Eqution of Curve from Functions of Grdients. 6 Ee

Lecture 09: Myhill-Nerode Theorem

Today s Topics Automata and Languages

Automata and Languages

Chapter 6 Continuous Random Variables and Distributions

Lecture 9: LTL and Büchi Automata

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!)

Transcription:

Hierrchy o pushdown grphs Didier Cucl CNRS / LIGM University Pris- Est Frnce

The hierrchy o pushdown grphs recursive trnsition grphs Corresponding hierrchies o lnguges, terms, ordinls, ininite words higher order recursive schemes Didier Cucl Pushdown grphs

Grphs lphet L o edge lels lphet C o vertex lels: colours Grph : G V L V C V on n rritrry countle set V o vertices Didier Cucl Pushdown grphs

A hierrchy o grph milies 2002 Two sic grph opertions: unolding nd pth unctions Didier Cucl Pushdown grphs

Unolding i i i Didier Cucl Pushdown grphs

Pth unctions set Exp o pth expressions C L {ε} Exp or ny u,v Exp pth s u, u v, u +, u, u v, u v Exp u G t or u Exp Didier Cucl Pushdown grphs

s s s t or (s,,t) G c t or s = t (c,s) G ε t or s = t s u t or t u s s u v t or r (s s u+ t or s ( ) u + t s u t or (s s u v t or s u r r u t) u t s v t v t) For instnce s ε t mens tht s = t s Didier Cucl Pushdown grphs

Pth unction h : L C Exp pplied y inverse on grph G h (G) = { (s,,t) s h() G h() t } { (c,s) s h(c) s } G c s t s h(c) Didier Cucl Pushdown grphs

Inverse pth unction i i i Didier Cucl Pushdown grphs

Inverse pth unction c i c i c i Didier Cucl Pushdown grphs

Inverse pth unction c (i + not( )) c i i c i Didier Cucl Pushdown grphs

Inverse pth unction c d i (i + not( )) i + not( ) c c i i d i d i Didier Cucl Pushdown grphs

Inverse pth unction c i (i + not( )) c d d c d i i + not( ) Didier Cucl Pushdown grphs

Unolding i c d c d c d c d c d c d c d c d c d c d c d Didier Cucl Pushdown grphs

Inverse pth unction i Didier Cucl Pushdown grphs

A hierrchy o grph milies Tree0 = mily o inite trees Grphn = Pth -1 (Treen) Treen+1 = Un(Grphn) Didier Cucl Pushdown grphs

A hierrchy o grph milies Finite trees Pth Finite grphs Tree 0 Regulr trees Tree 1 Un Pth Un Grph 0 Equtionl grphs Grph 1 Algeric trees Tree 2 Pth Grph 2 Didier Cucl Pushdown grphs

VR-equtionl grphs Courcelle 1989 Sme hierrchy Pth unctions = regulr sustitutions Exp = set o regulr expressions or L ; u v, u +, u v or u,v Exp Pth = mondic interprettions Su-hierrchy o inite degree grphs Pth unctions = inite sustitutions Didier Cucl grph 1 = HR-equtionl grphs Courcelle 89 Pushdown grphs

Tree(g) or some integer mpping g i n g(0) g(n) n g(n) Tree(2 n ) Grph 2 Tree(n!), Tree(2 2n ) Grph 3 Tree(2 n) hierrchy Didier Cucl Pushdown grphs

Genertors For ech level n ind genn Grphn such tht Grphn = Pth (genn) Didier Cucl Pushdown grphs

Grph itertion Shelh, Stupp 1975 G Proposition with Knpik 2011 The itertion opertion preserves Grphn or ech n > 0 Didier Cucl Pushdown grphs

Tree-grph G Proposition Colcomet 04, Cryol, Wöhrle 03 TreeGrph(Grphn) Grphn+1 Didier Cucl Pushdown grphs

Theorem Muchnik 1984, Wlukiewicz 1996 The tree-grph opertion preserves the decidility o the mondic theory Corollry Courcelle Wlukiewicz 1998 The unolding opertion preserves the decidility o the mondic theory Corollry Didier Cucl Any grph o the hierrchy hs decidle mondic theory Pushdown grphs

Genertors Grphn+1 = Pth -1 (Un(Grphn Det CoDet)) = Pth -1 (genn+1) genn+1 Treen+1 Det Didier Cucl Pushdown grphs

Tree genertor t level 1 Didier Cucl Pushdown grphs

Grph genertor t level 2 1 1 1 Didier Cucl Pushdown grphs

Tree genertor t level 2 1 1 1 Didier Cucl Pushdown grphs

Higher order pushdown utomt Theorem Cryol 2006 Grphn = ε-closure((pdn) Reg) = i Wi(Ui i Vi) pusdown hierrchy Didier Cucl Pushdown grphs

Hierrchies o lnguges ordinls ininite words terms Didier Cucl Pushdown grphs

A hierrchy o lnguges Finite grphs Trce Regulr lnguges Grph 0 Index 0 Equtionl grphs Trce Context ree lnguges Grph1 Index 1 Grph 2 Trce Indexed lnguges Index 2 Trce Level 2 indexed lnguges Grph 3 Index 3 Indexed lnguges Aho 1968 The hierrchy o indexed lnguges Mslov 1974 Didier Cucl Pushdown grphs

Proposition Mslov 1976 For ech n 0, the lnguge mily Indexn is closed under intersection y ny regulr lnguge inverse regulr sustitution Indexn sustitution Didier Cucl Pushdown grphs

The hierrchy on ordinls Ordinl ω +1 : trnsitive closure o Theorem Brud 2009 For ech n, the ordinls in Grphn re the ordinls < ω (n+1) Grphω? ǫ 0? MSO? Didier Cucl Pushdown grphs

The hierrchy on ininite words Equtionl grphs Ult. periodic words Grph 1 In 1 Grph2 Morphic words In 2 Grph 3 Morphic words t level 2 In 3 Level 2 morphic words: Chmpernowne numer 0 1 10 11 100 101 110 111... The Liouville numer: 10 i! =,110001000000000000000001... i 1 Didier Cucl Pushdown grphs

Questions chrcterize morphic words t level 2 or α = 0,u with u In n nd n > 0 is α rtionl or trnscendentl numer? is 2 in the hierrchy? Didier Cucl Pushdown grphs

The hierrchy on terms By irst order sustitutions Theorem 2002 Treen+1 Term = Sustn Courcelle, Knpik 2002 Sust0 = regulr terms Sustn+1 = Se,u (Sustn) Didier Cucl u word o distinct constnts e symol o rity u +1 Pushdown grphs

First order sustitution (evlution) unction e constnt word x y e y x y Didier Cucl Pushdown grphs

Finite terms S e,u (e t 0 t 1... t n ) = S e,u (t 0 ) [S e,u (t 1 )/u(1),...,s e,u (t n )/u(n)] S e,u ( t 1... t m ) = S e,u (t 1 )...S e,u (t m ) Ininite terms S e,u (t) = sup n S e,u (t n Ω ) without Ω Didier Cucl Pushdown grphs

The hierrchy on terms By higher order schemes Dmm 1982 Scheme t level 0 S R ; F F g S Solution R ω g g g Didier Cucl Pushdown grphs

Scheme t level 1 Nivt 1975, Guessrin 1987, Courcelle 1990 R S F ; F x x F g Solution x R ω g g g Didier Cucl Pushdown grphs

Scheme t level 2 F F S ; g R x G x F F : ( 0 0 ) 0 0 G Solution R ω x g g g Didier Cucl Pushdown grphs

Sety condition: scope o vriles Dmm 1982 x 1 F Unse scheme x n No level( x i ) < level( s ) x i s R F S ; g G F x x F G Solution R ω g t n+2 = t t n n+1 x x t 2 Didier Cucl t 3 Pushdown grphs

Theorem 2002 Treen+1 Term = SeSchemen Knpik, Niwiński, Urzyczyn 2002 Any se scheme R t level n+1 is trnsormed into se scheme S t level n such tht R ω = Un(h (S ω ),r) or some pth unction h Didier Cucl Pushdown grphs

Conjecture The non rtionl lgeric numers re not in the pushdown hierrchy Didier Cucl Pushdown grphs