• Keine Ergebnisse gefunden

babcaacb,ca 1324 Homework3

N/A
N/A
Protected

Academic year: 2021

Aktie "babcaacb,ca 1324 Homework3"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Homework 3

Finite Automata on Infinite Words and Trees Winter semester, 2009-2010 Note: Graphical representations of automata are accepted.

Exercise 1 (30 points) . Consider the alphabet Σ = {0, 1}. Construct M¨ uller, Rabin, and Streett automata which accept each of the following languages:

1. {w | the symbol 0 appears in w exactly twice}

2. { w | every 0 which appears in w is followed immediately by 11}

3. {w | w contains finitely many 1’s }

4. {w | w contains finitely many substrings 11 }

5. {w | either w contains only 1’s, or w contains infinitely many 0’s and infinitely many 1’s}

Exercise 2 (20 points) . Let Σ = {a, b, c}. Let A

1

, A

2

, A

3

, A

4

be the M¨ uller automata whose states and transitions are as pictured in Figure 1, and whose acceptance conditions are defined as follows: F

1

= {{2, 3}},

1

3 2

4 b

a

b c

a

a

c b, c

a

Figure 1: Graph representation of the automata in Exercise 2.

F

2

= {{1}, {1, 4}}, F

3

= {{3}, {1, 2}}, and F

4

= {{1, 2, 3}}. Determine

(2)

the languages L(A

1

), L(A

2

), L(A

3

), and L(A

4

). You may represent the lan- guages by ω-regular expressions (e.g. (aa + bb)

(ab)

ω

), but try to keep the expressions as simple as possible, and explain your reasoning.

Exercise 3 (15 points) . Prove that every M¨ uller-recognizable language is a Boolean combination (union, intersection, complementation) of languages

− →

W

i

, where each W

i

is a FA-recognizable language (of finite words).

Exercise 4 (25 points) . A parity automaton is a tuple (Q, Σ, T, {q

I

}, c : Q → N ), where T is a transition function. A run r of a parity automaton is successful if and only if max{c(q)|q ∈ Inf (r)} is even.

1. Show how to construct M¨ uller, Rabin, and Streett automata which recognize the same language as a given parity automaton. Explain briefly how your constructions work.

2. Prove that parity automata are closed under negation.

Exercise 5 (10 points) . Review of complementation of finite word automata . Use the power set construction to convert the following NFA into an equiv- alent DFA.

1 a 2 a, b 3 a, b 4

a, b

Abbildung

Figure 1: Graph representation of the automata in Exercise 2.

Referenzen

ÄHNLICHE DOKUMENTE

To ensure that the complexity problem we study is not influenced by the lattice operations, we only consider lattices where there is a Turing-Machine that computes the join and the

Before looking at the problem of deciding inclusion of the languages accepted by two tree automata and its generalization to the weighted case, we will motivate our interest in

Before looking at the problem of deciding inclusion of the languages accepted by two tree automata and its generalization to the weighted case, we will motivate our interest in

For this purpose, standard reasoning tasks like deciding emptiness or complementing automata over finite or infinite words have been generalized to the weighted setting, and

Similarly, we prove that n-turn all-move self-regulating finite automata give rise to an infinite hierarchy of language families coinciding with the hierarchy resulting from (n

Gabriele R¨ oger (University of Basel) Theory of Computer Science March 8, 2021 5 /

(ii) The transition graphs of pushdown automata are in S-AutStr: 13 Given a pushdown automaton A with states Q, stack alphabet Γ, input al- phabet Σ and transition relation ∆ we

Next, we consider the problem of computing the length of a shortest reset word for a given automaton: we establish that this problem is complete for the class FP NP[log] of all