Unit-5: -regular properties B. Srivathsan Chennai Mathematical - - PowerPoint PPT Presentation

unit 5 regular properties
SMART_READER_LITE
LIVE PREVIEW

Unit-5: -regular properties B. Srivathsan Chennai Mathematical - - PowerPoint PPT Presentation

Unit-5: -regular properties B. Srivathsan Chennai Mathematical Institute NPTEL-course July - November 2015 1 / 19 Module 4: Simple properties of NBA 2 / 19 Determinization Product construction Emptiness Complementation Union 3 / 19


slide-1
SLIDE 1

Unit-5: ω-regular properties

  • B. Srivathsan

Chennai Mathematical Institute

NPTEL-course July - November 2015

1/19

slide-2
SLIDE 2

Module 4: Simple properties of NBA

2/19

slide-3
SLIDE 3

Determinization Product construction Emptiness Complementation Union

3/19

slide-4
SLIDE 4

Deterministic Büchi Automata

Words where b occurs infinitely often q0 q1 b a a b

◮ Single initial state ◮ From every state - on an alphabet, there is a unique transition

4/19

slide-5
SLIDE 5

Question: Can every NBA be converted to an equivalent DBA?

5/19

slide-6
SLIDE 6

(a + b)∗bω: a occurs only finitely often

q0 q1 b a,b b

6/19

slide-7
SLIDE 7

(a + b)∗bω: a occurs only finitely often

q0 q1 b a,b b

◮ Automaton has to guess the point from where only b occurs ◮ A deterministic Büchi automaton cannot make this guess

6/19

slide-8
SLIDE 8

(a + b)∗bω: a occurs only finitely often

q0 q1 b a,b b

◮ Automaton has to guess the point from where only b occurs ◮ A deterministic Büchi automaton cannot make this guess

The above language cannot be accepted by a DBA

6/19

slide-9
SLIDE 9

(a + b)∗bω: a occurs only finitely often

q0 q1 b a,b b

◮ Automaton has to guess the point from where only b occurs ◮ A deterministic Büchi automaton cannot make this guess

The above language cannot be accepted by a DBA

Theorem 4.50 (Page 190) of Principles of Model Checking, Baier and Katoen. MIT Press (2008)

6/19

slide-10
SLIDE 10

Determinization

DBA less powerful than NBA

Product construction Emptiness Complementation Union

7/19

slide-11
SLIDE 11

p0 p1 p2 a b a b a b q0 q1 b a a b Word (ab)ω is accepted by both automata

8/19

slide-12
SLIDE 12

p0 p1 p2 a b a b a b q0 q1 b a a b Word (ab)ω is accepted by both automata

Coming next: The synchronous product construction

8/19

slide-13
SLIDE 13

p0 p1 p2 a b a b a b q0 q1 b a a b

〈p0,q0〉 〈p1,q0〉 〈p2,q1〉 〈p0,q1〉 a b a b a b a b

9/19

slide-14
SLIDE 14

p0 p1 p2 a b a b a b q0 q1 b a a b

〈p0,q0〉 〈p1,q0〉 〈p2,q1〉 〈p0,q1〉 a b a b a b a b

〈p1,q1〉 is not present

9/19

slide-15
SLIDE 15

p0 p1 p2 a b a b a b q0 q1 b a a b

〈p0,q0〉 〈p1,q0〉 〈p2,q1〉 〈p0,q1〉 a b a b a b a b

〈p1,q1〉 is not present No accepting state!

9/19

slide-16
SLIDE 16

p0 p1 p2 a b a b a b q0 q1 b a a b

〈p0,q0〉 〈p1,q0〉 〈p2,q1〉 〈p0,q1〉 a b a b a b a b

〈p1,q1〉 is not present No accepting state!

But intersection of the two automata is not empty

9/19

slide-17
SLIDE 17

◮ Need to modify the product construction ◮ Track accepting states of both automata ◮ Ensure that both automata visit accepting states infinitely

  • ften

10/19

slide-18
SLIDE 18

p0 p1 p2 a b a b a b q0 q1 b a a b

11/19

slide-19
SLIDE 19

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3

11/19

slide-20
SLIDE 20

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b

11/19

slide-21
SLIDE 21

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b

11/19

slide-22
SLIDE 22

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b

11/19

slide-23
SLIDE 23

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b a b

11/19

slide-24
SLIDE 24

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b a b a b

11/19

slide-25
SLIDE 25

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b a b a b a b

11/19

slide-26
SLIDE 26

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b a b a b a b b a

11/19

slide-27
SLIDE 27

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p0 q0 2 p1 q0 2 p2 q1 2 p0 q1 2 p0 q0 3 p1 q0 3 p2 q1 3 p0 q1 3 a b a b a b a b a b a b b a b a

11/19

slide-28
SLIDE 28

p0 p1 p2 a b a b a b q0 q1 b a a b

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p1 q0 2 p2 q1 2 p0 q0 3 p2 q1 3 a b a b a b a b a b a b b a b a

11/19

slide-29
SLIDE 29

p0 p1 p2 a b a b a b q0 q1 b a a b

a

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p1 q0 2 p2 q1 2 p0 q0 3 p2 q1 3 a b a b a b a b a b a b b a b a 12/19

slide-30
SLIDE 30

p0 p1 p2 a b a b a b q0 q1 b a a b

a

p0 q0 1 p1 q0 1 p2 q1 1 p0 q1 1 p1 q0 2 p2 q1 2 p0 q0 3 p2 q1 3 a b a b a b a b a b a b b a b a

Word is accepted by product ↔ it is accepted by both component automata

12/19

slide-31
SLIDE 31

p0 p1 b a b a q0 b

13/19

slide-32
SLIDE 32

p0 p1 b a b a q0 b

p0 q0 1 p1 q0 1 p1 q0 2 p1 q0 3 b b b b

13/19

slide-33
SLIDE 33

Determinization

DBA less powerful than NBA

Product construction

Language intersection

Emptiness Complementation Union

14/19

slide-34
SLIDE 34

Determinization

DBA less powerful than NBA

Product construction

Language intersection

Emptiness

Next unit ...

Complementation Union

14/19

slide-35
SLIDE 35

p0 p1 b a b a Language: b occurs infinitely often

15/19

slide-36
SLIDE 36

p0 p1 b a b a Language: b occurs infinitely often p0 p1 b a b a Language: a occurs infinitely often

15/19

slide-37
SLIDE 37

p0 p1 b a b a Language: b occurs infinitely often p0 p1 b a b a Language: a occurs infinitely often Not the complement!

(ab)ω present in both

15/19

slide-38
SLIDE 38

Challenges

◮ Mere interchange of accepting states does not work ◮ Moreoever, NBA are more expressive than DBA

16/19

slide-39
SLIDE 39

Complementation

Theorem

Given an NBA , there is an algorithm to compute the NBA accepting the complement language ( )c

Proof out of scope of this course

17/19

slide-40
SLIDE 40

p0 p1 p2 a b a b a b q0 q1 b a a b

18/19

slide-41
SLIDE 41

p0 p1 p2 a b a b a b q0 q1 b a a b For union, take the disjoint union of the two NBA

18/19

slide-42
SLIDE 42

Determinization

DBA less powerful than NBA

Product construction

Language intersection

Emptiness

Next unit ...

Complementation Union

19/19