Title: ?-Automata
1?-Automata
2Today
- 1 Introduction
- - notation
- - ?-Automata overview
3Today
- 1 Introduction
- - notation
- - ?-Automata overview
- 2 Nondeterministic models
- - Büchi acceptance
- - Muller acceptance
- - Rabin acceptance
- - Streett acceptance
- - parity condition
4Today(cont.)
- 2.1 Equivalency of nondeterministic models
5Today(cont.)
- 2.1 Equivalency of nondeterministic models
- 3 Deterministic models
- - Büchi condition
- - equivalency of deterministic models
6Today(cont.)
- 2.1 Equivalency of nondeterministic models
- 3 Deterministic models
- - Büchi condition
- - equivalency of deterministic models
- 4 Some lower bound for transformations
7Today(cont.)
- 2.1 Equivalency of nondeterministic models
- 3 Deterministic models
- - Büchi condition
- - equivalency of deterministic models
- 4 Some lower bound for transformations
- 5 Weak acceptance conditions
- - Staiger-Wagner acceptance
8Today(cont.)
- 2.1 Equivalency of nondeterministic models
- 3 Deterministic models
- - Büchi condition
- - equivalency of deterministic models
- 4 Some lower bound for transformations
- 5 Weak acceptance conditions
- - Staiger-Wagner acceptance
- 6 Conclusion
9Notation
10Notation
11Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
12Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
13Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
14Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
- u, v, w finite words
15Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
- u, v, w finite words
- ?, ?, ? - infinite words
16Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
- u, v, w finite words
- ?, ?, ? - infinite words
- ? ?(0)?(1)?(2) with ?(i)??
17Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
- u, v, w finite words
- ?, ?, ? - infinite words
- ? ?(0)?(1)?(2) with ?(i)??
- ?, ? - runs of automata
18Notation
- ? 0, 1, 2, 3,
- ? - finite alphabet
- ? - set of finite words over ?
- ?? - set of infinite words (?-words) over ?
- u, v, w finite words
- ?, ?, ? - infinite words
- ? ?(0)?(1)?(2) with ?(i)??
- ?, ? - runs of automata
- ?-language set of ?-words
19Notation(cont.)
20Notation(cont.)
- ?a number of occurrences of a in ?
21Notation(cont.)
- ?a number of occurrences of a in ?
- Occ(?) a????i ?(i)a
22Notation(cont.)
- ?a number of occurrences of a in ?
- Occ(?) a????i ?(i)a
- Inf (?) a????i ?jgti ?(j)a
23Notation(cont.)
- ?a number of occurrences of a in ?
- Occ(?) a????i ?(i)a
- Inf (?) a????i ?jgti ?(j)a
- 2M powerset of a set M
24Notation(cont.)
- ?a number of occurrences of a in ?
- Occ(?) a????i ?(i)a
- Inf (?) a????i ?jgti ?(j)a
- 2M powerset of a set M
- REG class of regular languages
25Notation(cont.)
- ?a number of occurrences of a in ?
- Occ(?) a????i ?(i)a
- Inf (?) a????i ?jgti ?(j)a
- 2M powerset of a set M
- REG class of regular languages
- L(A) ????A accepts ? - ?-language
- recognized by A
26?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
27?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
28?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
29?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
- ? Q?? ? 2Q/Q state transition function
30?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
- ? Q?? ? 2Q/Q state transition function
- qI?Q initial state
31?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
- ? Q?? ? 2Q/Q state transition function
- qI?Q initial state
- Acc acceptance component
32?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
- ? Q?? ? 2Q/Q state transition function
- qI?Q initial state
- Acc acceptance component
- can be given in different way!!!
33?-Automata
- ?-Automaton is (Q, ?, ?, qI, Acc)
- Q finite set of states
- ? - finite alphabet
- ? Q?? ? 2Q/Q state transition function
- qI?Q initial state
- Acc acceptance component
- can be given in different way!!!
- A Q - size of automaton
- Acc sometimes used too
34Büchi acceptance
35Büchi acceptance
- ?-Automaton (Q, ?, ?, qI, F?Q) is Büchi if
- Acc is Büchi acceptance
36Büchi acceptance
- ?-Automaton (Q, ?, ?, qI, F?Q) is Büchi if
- Acc is Büchi acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - Inf(?)?F ? ?
37Example 1
- L ??a, b? ? ends with a? or with (ab)?
38Büchi acceptance(cont.)
- is accepted by A iff some run of A on ? visit
some final state q?F infinitely often, i.e.
??W(q0, q)?W(q, q)?
39Büchi acceptance(cont.)
- is accepted by A iff some run of A on ? visit
some final state q?F infinitely often, i.e.
??W(q0, q)?W(q, q)? - The Büchi recognizable ?-languages are the
?-languages of the form - L?ki1 UiVi? with k??
- and Ui , Vi ? REG for i1, 2, 3,
40Büchi acceptance(cont.)
- The family of ?-languages is also called the
?-Kleene closure of the class of regular
languages denoted ?-KC(REG)
41Muller acceptance
42Muller acceptance
- ?-Automaton (Q, ?, ?, qI, F? 2Q) is Muller if
- Acc is Muller acceptance
43Muller acceptance
- ?-Automaton (Q, ?, ?, qI, F? 2Q) is Muller if
- Acc is Muller acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - Inf(?)?F
44Example 2
- L ??a, b? ? ends with a? or with (ab)?
- F qa, qa,qb
45Büchi and Muller automata
- Nondeterministic Büchi automata and
nondeterministic Muller automata are equivalent
in expressive power
46Büchi and Muller automata
- Nondeterministic Büchi automata and
nondeterministic Muller automata are equivalent
in expressive power - One direction is simple
- F K?Q K?F ? ?
47Büchi and Muller automata
- Nondeterministic Büchi automata and
nondeterministic Muller automata are equivalent
in expressive power - One direction is simple
- F K?Q K?F ? ?
- Second is complex and multiples states number
exponentially
48Rabin acceptance
49Rabin acceptance
- ?-Automaton (Q, ?, ?, qI, ?),
- ? (E1, F1),,(Ek, Fk) with Ei, Fi ? Q
- is Rabin if Acc is Rabin acceptance
50Rabin acceptance
- ?-Automaton (Q, ?, ?, qI, ?),
- ? (E1, F1),,(Ek, Fk) with Ei, Fi ? Q
- is Rabin if Acc is Rabin acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - ?(E,F)?? . (Inf(?)?E ?) ? (Inf(?)?F ? ?)
51Example 3
- L words that consist of infinitely many as but
only finitely many bs - ? (qb, qa)
52Example 4
- L words that contain infinitely many bs only
if they also contain infinitely many as - ? (?, qa)
53Streett acceptance
54Streett acceptance
- ?-Automaton (Q, ?, ?, qI, ?),
- ? (E1, F1),,(Ek, Fk) with Ei, Fi ? Q
- is Streett if Acc is Streett acceptance
55Streett acceptance
- ?-Automaton (Q, ?, ?, qI, ?),
- ? (E1, F1),,(Ek, Fk) with Ei, Fi ? Q
- is Streett if Acc is Streett acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - ?(E,F)?? . (Inf(?)?E ? ?) ? (Inf(?)?F ?)
56Example 5
- L words that contain infinitely many bs only
if they also contain infinitely many as - ? (qa, qb)
57Transformation Rabin or Streett automaton to
Muller automaton
- Let A (Q, ?, ?, qI, ?) be a Rabin/Streett
automaton.
58Transformation Rabin or Streett automaton to
Muller automaton
- Let A (Q, ?, ?, qI, ?) be a Rabin/Streett
automaton. - Define A (Q, ?, ?, qI, F) with
- F G? 2Q ?(E,F)?? . G?E ? ? G?F ? ?
- F G? 2Q ?(E,F)?? . G?E ? ? ? G?F ?
59Transformation Rabin or Streett automaton to
Muller automaton
- Let A (Q, ?, ?, qI, ?) be a Rabin/Streett
automaton. - Define A (Q, ?, ?, qI, F) with
- F G? 2Q ?(E,F)?? . G?E ? ? G?F ? ?
- F G? 2Q ?(E,F)?? . G?E ? ? ? G?F ?
- Then L(A) L(A)
60Transformation Büchi automaton to Rabin or
Streett automaton
- Let A (Q, ?, ?, qI, F?Q) is Büchi automaton.
61Transformation Büchi automaton to Rabin or
Streett automaton
- Let A (Q, ?, ?, qI, F?Q) is Büchi automaton.
- Define A (Q, ?, ?, qI, ?) with
- (?, F)
- (F, Q)
62Transformation Büchi automaton to Rabin or
Streett automaton
- Let A (Q, ?, ?, qI, F?Q) is Büchi automaton.
- Define A (Q, ?, ?, qI, ?) with
- (?, F)
- (F, Q)
- Then A is Rabin/Streett automaton that
- L(A) L(A)
63Parity condition
- Parity condition amounts to the Rabin condition
for the special case - E1 ? F1 ? E2 ? Em ? Fm
64Parity condition
- Parity condition amounts to the Rabin condition
for the special case - E1 ? F1 ? E2 ? Em ? Fm
- State of E1 receive color(index) 1,
- State Fi \ Ei have color 2i,
- State Ei \ Fi-1 have color 2i-1
65Parity condition
- ?-Automaton (Q, ?, ?, qI, c),
- c Q ? 1, , k, k ? ?
- is parity if Acc is parity acceptance
66Parity condition
- ?-Automaton (Q, ?, ?, qI, c),
- c Q ? 1, , k, k ? ?
- is parity if Acc is parity acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - Minc(q) q ? Inf(?) is even
67interim conclusion
- Nondeterministic Büchi automata, Muller automata,
Rabin automata, Streett automata, and parity
automata are all equivalent in expressive power,
i.e. they recognize the same ?-language
68interim conclusion
- Nondeterministic Büchi automata, Muller automata,
Rabin automata, Streett automata, and parity
automata are all equivalent in expressive power,
i.e. they recognize the same ?-language - The ?-language recognized by these
?-automata from class ?-KC(REG), i.e. the
?-Kleene closure of the class of regular languages
69Deterministic models
70Deterministic models
- Deterministic Muller automata, Rabin automata,
Streett automata, and parity automata are all
equivalent in expressive power
71Deterministic models
- Deterministic Muller automata, Rabin automata,
Streett automata, and parity automata are all
equivalent in expressive power - They all recognize the regular ?
?-languages
72Deterministic models
- Deterministic Muller automata, Rabin automata,
Streett automata, and parity automata are all
equivalent in expressive power - They all recognize the regular ?
?-languages - Büchi deterministic automata is too weak
73Büchi deterministic automata is too weak
- L words that consist of infinitely many as but
only finitely many bs
74Büchi deterministic automata is too weak
- L words that consist of infinitely many as but
only finitely many bs - F qa Muller automata
75Transformation Muller automation to Rabin
automation
76Transformation Muller automation to Rabin
automation
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automation. Assume w.l.o.g. that Q1, ,
k and qI1. Let ??Q. Define A as following -
77Transformation Muller automation to Rabin
automation
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automation. Assume w.l.o.g. that Q1, ,
k and qI1. Let ??Q. Define A as following - - Q w?(Q??) ?q?Q?? . wq 1
-
78Transformation Muller automation to Rabin
automation
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automation. Assume w.l.o.g. that Q1, ,
k and qI1. Let ??Q. Define A as following - - Q w?(Q??) ?q?Q?? . wq 1
- - qI ?k1
-
79Transformation Muller automation to Rabin
automation
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automation. Assume w.l.o.g. that Q1, ,
k and qI1. Let ??Q. Define A as following - - Q w?(Q??) ?q?Q?? . wq 1
- - qI ?k1
- - for i, i?Q, a??, and ?(i, a)i for any word
m1mr? mr1mk ? Q with mki , ims - ?(m1mr? mr1mk,a) (m1ms-1?
ms1mki)
80Transformation Muller automation to Rabin
automation
- - ? (E1, F1), , (Ek, Fk)
- define as following
-
81Transformation Muller automation to Rabin
automation
- - ? (E1, F1), , (Ek, Fk)
- define as following
- - Ej u?v u lt j
-
82Transformation Muller automation to Rabin
automation
- - ? (E1, F1), , (Ek, Fk)
- define as following
- - Ej u?v u lt j
- - Fj u?v u lt j ?
- u?v uj ? m?Q m?v ? F
- where m?v means m occurs in v
83Transformation Muller automation to Rabin
automation
- - ? (E1, F1), , (Ek, Fk)
- define as following
- - Ej u?v u lt j
- - Fj u?v u lt j ?
- u?v uj ? m?Q m?v ? F
- where m?v means m occurs in v
- Then L(A) L(A)
84Transformation Muller automation to parity
automation
- From definition we have
- E1 ? F1 ? E2 ? Ek ? Fk
- Delete all pair where Ej Fj and left strictly
increasing chain of sets - Thus have defined a parity automaton recognize
same L(A)
85Transformation Muller automation to Rabin
automation
- By transformation a deterministic Muller
automation with n states is transformed into a
deterministic Rabin automata with nn! states and
n accepting pairs - It works analogously for nondeterministic automata
86Complement of L(A) by Muller automata
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automata.
87Complement of L(A) by Muller automata
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automata. - Define A (Q, ?, ?, qI, 2Q \ F) Muller
automata
88Complement of L(A) by Muller automata
- Let A (Q, ?, ?, qI, F) be a deterministic
Muller automata. - Define A (Q, ?, ?, qI, 2Q \ F) Muller
automata - Then L(A) is complement of L(A)
89Complement of L(A) by Rabin/Streett automata
90Complement of L(A) by Rabin/Streett automata
- Let A (Q, ?, ?, qI, ?)
- The Rabin condition () is
- ?(E,F)?? . (Inf(?)?E ?) ? (Inf(?)?F ? ?)
91Complement of L(A) by Rabin/Streett automata
- Let A (Q, ?, ?, qI, ?)
- The Rabin condition () is
- ?(E,F)?? . (Inf(?)?E ?) ? (Inf(?)?F ? ?)
- The Streett condition () is
- ?(E,F)?? . (Inf(?)?E ? ?) ? (Inf(?)?F ?)
92Complement of L(A) by Rabin/Streett automata
- Let A (Q, ?, ?, qI, ?)
- The Rabin condition () is
- ?(E,F)?? . (Inf(?)?E ?) ? (Inf(?)?F ? ?)
- The Streett condition () is
- ?(E,F)?? . (Inf(?)?E ? ?) ? (Inf(?)?F ?)
- Then L(A, ()) is complement of L(A, ())
93Complement L(A) by parity automaton
- Let A (Q, ?, ?, qI, c) be a deterministic
parity automaton
94Complement L(A) by parity automaton
- Let A (Q, ?, ?, qI, c) be a deterministic
parity automaton - Define A (Q, ?, ?, qI, c) with
- c(q) c(q)1
95Complement L(A) by parity automaton
- Let A (Q, ?, ?, qI, c) be a deterministic
parity automaton - Define A (Q, ?, ?, qI, c) with
- c(q) c(q)1
- Then L(A) is complement of L(A)
96interim conclusion
- Deterministic Muller automata, Rabin automata,
Streett automata, and parity automata recognize
same ?-languages, and the class of these
?-languages is closed under complementation
97Some lower bound for transformations
98Some lower bound for transformations
- Lemma 1
- Let A (Q, ?, ?, qI, ?) be Robin automaton,
and assume ?1, ?2 are two non-accepting runs. - Then any run ? with Inf(?) Inf(?1) ? Inf(?2)
is also non-accepting
99Some lower bound for transformations
- Lemma 1
- Let A (Q, ?, ?, qI, ?) be Robin automaton,
and assume ?1, ?2 are two non-accepting runs. - Then any run ? with Inf(?) Inf(?1) ? Inf(?2)
is also non-accepting - Lemma 2
- Let A (Q, ?, ?, qI, ?) be a Streett
automata, and assume ?1, ?2 are two accepting
runs. - Then any run ? with Inf(?) Inf(?1) ? Inf(?2)
is also accepting
100Some lower bound for transformations
- Let A?(An)ngt1 defined over ?1,,n,
101Some lower bound for transformations
- Let A?(An)ngt1 defined over ?1,,n,
- ??LnL(A) exist k and j1,,jk?1,,n such that
each pair jtjt1 for tltk and jkj1 appears
infinitely often in ?
102Some lower bound for transformations
- We encode the symbols 1,,n by words over 0, 1
such that i is encoded by - 0i1, if iltn
- 0i01, if in
103Some lower bound for transformations
- We encode the symbols 1,,n by words over 0, 1
such that i is encoded by - 0i1, if iltn
- 0i01, if in
- Lemma 3
- There exist a family of languages (Ln)ngt1 over
the ? 0, 1, recognizable by
nondeterministic Büchi automata of size O(n) such
that any nondeterministic Streett automaton
accepting the complement language of Ln has at
least n! states
104Some lower bound for transformations
- From lemma 3 we conclude
- Lemma 4
- There exist a family of languages (Ln)ngt1 over
the ? 0, 1, recognizable by
nondeterministic Büchi automata of size O(n) such
that any equivalent deterministic Rabin automata
must be of size n! or larger
105Some lower bound for transformations
- Lemma 5(with no proof)
- There exist a family of languages (Ln)ngt1 over
the ? 0, 1 recognizable by deterministic
Streett automata with O(n) states and O(n) pairs
of designated state sets such that any equivalent
deterministic Rabin automata must be of size n!
or larger
106Weak acceptance conditions
107Weak acceptance conditions
- ?-Automaton (Q, ?, ?, qI, F? 2Q) is weak if
- Acc is Staiger-Wagner acceptance
108Weak acceptance conditions
- ?-Automaton (Q, ?, ?, qI, F? 2Q) is weak if
- Acc is Staiger-Wagner acceptance
- A word ??? is accepted by A iff there exists a
run ? of A on ? satisfying the condition - Occ(?)?F
109Weak acceptance conditions
- There are two special cases used
110Weak acceptance conditions
- There are two special cases used
- Occ(?) ? F ? ? - 1-acceptance
-
- F X ? 2Q X ? F ? ?
111Weak acceptance conditions
- There are two special cases used
- Occ(?) ? F ? ? - 1-acceptance
-
- F X ? 2Q X ? F ? ?
- Occ(?) ? F - 1-acceptance
- F X ? 2Q X ? F
112Weak acceptance conditions
- Acceptance by occurrence set can be simulated by
Büchi acceptance
113Weak acceptance conditions
- Acceptance by occurrence set can be simulated by
Büchi acceptance - The transformation need exponential blow-up. It
can be avoided if only 1-acceptance or
1-acceptance are involved
114Weak acceptance conditions
- Acceptance by occurrence set can be simulated by
Büchi acceptance - The transformation need exponential blow-up. It
can be avoided if only 1-acceptance or
1-acceptance are involved - The reverse transformation are not possible
115Conclusion
- We have shown the expressive equivalence of
116Conclusion
- We have shown the expressive equivalence of
- Nondeterministic Büchi, Muller, Rabin, Streett,
and parity automata
117Conclusion
- We have shown the expressive equivalence of
- Nondeterministic Büchi, Muller, Rabin, Streett,
and parity automata - Deterministic Muller, Rabin, Streett, and parity
automata
118Conclusion
- Theorem(with no proof)
- Nondeterministic Büchi automata accept the same
?-languages as deterministic Muller automata
119Conclusion
- Theorem(with no proof)
- Nondeterministic Büchi automata accept the same
?-languages as deterministic Muller automata - Conclusion all these automata are equivalent in
expressive power