• Keine Ergebnisse gefunden

Advanced Automata Theory Exercise Sheet 6

N/A
N/A
Protected

Academic year: 2021

Aktie "Advanced Automata Theory Exercise Sheet 6"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Advanced Automata Theory Exercise Sheet 6

Emanuele D’Osualdo TU Kaiserslautern

Sebastian Schweizer Summer term 2016

Out: May 25,Updated May 26: Fixed bug in counter machine Ex. 1b Due: May 30, 12:00

Exercise 1: Reversal-Bounded Counter Machines

Consider ann-counters machine where all the counters are unrestricted. The set of reachable vectors at a state q of a counter machine is the set R(q) :={~v ∈Nn|(q0,0)→ (q, ~v)}. The set of reachable vectors at a stateq using at most k reversals is

Rk(q) :=

~ v ∈Nn

(q0,0)−−−−−−−→

≤kreversals

(q, ~v)

.

a) Prove thatRk(q)is semilinear.

b) Consider the following counter machine:

q0

q

a++

a++

a−−

a++

a== 0 b−−

b++

b++

Show thatR(q))R1(q).

c) Compute a semilinear set representingR1(q) for the machine above.

Exercise 2: Naive Interpretation of NFAs as NBAs

LetA= (Σ, Q, q0,→, QF)be an NFA with ∅ 6=L(A)⊆Σ+ and, for any two states q, q0 ∈Q, define L6=q,q0 := {w ∈ Σ+ | q −→w q0 in A}. If Lω(A) is the ω-regular language accepted by A (interpreted as an NBA), one canwrongly believe that Lω(A) =L(A)ω.

a) Find a counterexample to Lω(A) =L(A)ω when ∅ 6=L6=q,q ⊆L(A) for all q ∈QF. b) Show that ifL(A) = L+ for some regular language L, thenLω(A) = L(A)ω holds.

Update: That actually does not hold...

c) Given an NFA A, provide a construction for an NBA Aω such that L(Aω) =L(A)ω.

(2)

Exercise 3: NBA languages = ω-regular Languages

a) Prove thatω-regular languages are NBA definable.

b) Show that if there exists an NBA that acceptsL⊆Σω then Lis ω-regular.

c) Construct an NBA that accepts L= (ab+c)((aa+b)c)ω+ (ac)ω.

Exercise 4: Shuffle ω-regular Languages

Given an infinite set of positions I ⊆ {0,1, . . .} with I = {i1, i2, . . .} and i1 < i2 < . . ., and anω-word w, we writew|I for the ω-word w(i1)w(i2). . ., i.e. the sub-word of w obtained by selecting the letters in the positions ofI.

The fair shuffle of two ω-languagesL1, L2 is defined as

L1L2 :={w| ∃partition I, J of positions {0,1, . . .} such that w|I ∈L1 and w|J ∈L2}

Note in particular, that sinceI and J form a partition of the positions, I 6=∅ 6=J. Show thatω-regular languages are closed under fair shuffle.

Exercise 5: Reachability in Counter Machines (Optional)

Adapting Parikh’s proof, show that reachability in counter machines with one unrestricted counter and n r-reversal bounded counters is decidable.

Referenzen

ÄHNLICHE DOKUMENTE

[r]

[r]

c) Prove using structural induction that every star-free language

Because of the holiday on Monday, you can bring your submissions to the exercise class

The words in the language will however respect the actions on the unrestricted counter because they correspond to actual effects on the counter of M 00 , which can make sure we

The idea is to accept a run if the set of states that occur infinitely often matches one of the Q i

b) Büchi’s theorem (I) can be adapted to show that every NBA-definable language is S1S- definable. Illustrate the main ingredients needed to adapt Büchi’s proof.. c) Büchi’s

Let | = fin be the satisfaction relation between finite words and LTL[ , U , &lt; , S] formulas, de- fined exactly as the | = relation but only considering positions of the word