games, logic and automata seminar rotem zach 1. overview 2

35
-Automata Games, Logic and Automata Seminar Rotem Zach 1

Upload: gwendolyn-copeland

Post on 18-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

1

-Automata

Games, Logic and Automata SeminarRotem Zach

Page 2: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

2

Overview

• We will present several models of -automata

• We will prove the equivalence of their nondeterministic forms

• We will prove the equivalence of their deterministic forms

Page 3: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

3

Notation

• Given an alphabet – = set of finite words over – = set of infinite words over

• = Concatenation of and • = Class of regular languages

Page 4: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

4

Recap

• -automaton is a quintuple • = acceptance component• A run is an infinite sequence of states• = States occurring infinitely often in

Page 5: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

5

Büchi Acceptance [Büchi 1962]

• Define a set • A word is accepted if there exists a run s.t.

Page 6: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

6

Example

• Which language is recognized?

Page 7: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

7

Deterministic Büchi Automata

• Theorem: Deterministic Büchi Automata are weaker than nondeterministic Büchi Automata

• Proof: • Can’t express • For , enters an state after letters• For , will visit an state after • Can create which will be accepted

Page 8: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

8

Muller Acceptance [Muller 1963]

• Define a set • A word is accepted if there exists a run s.t.

Page 9: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

9

Example

• Define for ?

Page 10: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

10

Büchi Muller

• Büchi automaton = • Define

• Preserves determinism:– Deterministic Deterministic– Nondeterministic Nondeterministic

Page 11: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

11

Muller Büchi

• The Büchi automaton guesses the set which will be

• It also guesses from when on only the states in will be seen

• It verifies this guess by holding in memory which states were visited

• When all was seen, it resets the memory• The reset states are the new accepting states

Page 12: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

12

Muller Büchi

• To implement, for each create a new copy of • Simultaneously make the two guesses and

move from to • These new states also contain a memory

component , to store which states in were visited

Page 13: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

13

Muller Büchi

• If originally n states and m accepting sets, then

• Always converts to nondeterministic

Page 14: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

14

Rabin Acceptance [Rabin 1969]

• Define , • A word α is accepted if there exists a run s.t.

Page 15: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

15

Example

Page 16: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

16

Streett Acceptance [Streett 1982]

• Define , • A word is accepted if there exists a run s.t.

• Dual to Rabin acceptance

Page 17: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

17

Example

• Previous language• Define

Page 18: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

18

Rabin, Streett Muller

• Go over every possible choice for and check the acceptance conditions

• For Rabin:

• For Streett:

• Preserves determinism

Page 19: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

19

Muller Rabin, Streett

• Convert Muller to Büchi

• For Rabin: • For Streett:

• Always converts to nondeterministic (because Muller Büchi)

Page 20: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

20

Nondeterministic Equivalence

• We have proved the theorem:• Nondeterministic Büchi, Muller, Rabin and

Streett automata recognize the same class of ω-languages

• Denote this class of languages as -REG

Page 21: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

21

Parity Condition [Mostowski 1984]

• Special case of Rabin when

• Associate colors with states– for – for

• A word α is accepted if there exists a run s.t.

Page 22: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

22

Example

• Which language is accepted if ?• Which language is accepted if ?

Page 23: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

23

D’ Muller D’ Rabin

• We’ll use latest appearance records as states– Permutations of the Muller automaton’s states

extended by a hit position (#)• Let the original states be • If the original automaton moved and in the

new automaton the state is then after the transition it is

Page 24: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

24

D’ Muller D’ Rabin

• = permutations of • ()

Page 25: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

25

D’ Muller D’ Rabin

• For the run of the Muller automaton, assume • For the run of the Rabin automaton,

eventually every state in will be before #• Thus, and k• Infinitely often – When this happens the states in are

• Finitely often

Page 26: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

26

D’ Muller D’ Rabin

• The Muller automaton accepts if • Let • The Rabin automaton will visit a state in

infinitely often• But will only visit states in finitely often• So it will accept

Page 27: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

27

D’ Muller D’ Rabin

• If then

– There are accepting pairs

• Preserves determinism

Page 28: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

28

D’ Muller D’ Parity

• In the previous transformation :

• So we have also proved D’ Muller D’ Parity

Page 29: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

29

Closure Under Complement

• For a deterministic Muller automaton the acceptance condition is equivalent to:A word is accepted if for the (only) run

• Thus:A word isn’t accepted if for the run

• To accept the complement,

Page 30: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

30

D’ Muller -> D’ Streett

• Rabin acceptance:

• Streett acceptance:

• Given a deterministic Rabin/Streett keeping the same F yields a deterministic Streett /Rabin accepting the complemented L

• Muller Complement’s Muller Complement’s Rabin Streett

Page 31: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

31

D’ Rabin D’ Streett

• Rabin Complement’s Streett Complement’s Muller Muller Streett

• Streett Complement’s Rabin Complement’s Muller Muller Rabin

Page 32: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

32

Deterministic Equivalence

• We have proved the theorem:• Deterministic Muller, Rabin, Streett and parity

automata recognize the same class of -languages

Page 33: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

33

Lower Bounds [Löding 1999]

• The following transformations:– deterministic Rabin deterministic Streett– nondeterministic Büchi deterministic Rabin

• Have a lower bound of given

Page 34: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

34

Sources• Grädel, Thomas, Wilke (Eds.): Automata, Logics, and Infinite Games: A

Guide to Current Research, 2002• J.R. Büchi, On a decision method in restricted second order arithmetic,

1962• D.E. Muller, Infinite sequences and finite machines, 1963• M.O. Rabin, Decidability of second order theories and automata on

infinite trees, 1969• R.S. Streett, Propositional dynamic logic of looping and converse is

elementary decidable, 1982• A.W. Mostowski. Regular expressions for infnite trees and a standard

form of automata, 1984• C. Löding, Optimal bounds for the transformation of omega-automata,

1999

Page 35: Games, Logic and Automata Seminar Rotem Zach 1. Overview 2

35

Questions?