• Keine Ergebnisse gefunden

Exercise 10.1 B¨ uchi Pushdown Systems

N/A
N/A
Protected

Academic year: 2021

Aktie "Exercise 10.1 B¨ uchi Pushdown Systems"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Applied Automata Theory (WS 2013/2014) Technische Universit¨ at Kaiserslautern

Exercise Sheet 10

Jun.-Prof. Roland Meyer, Georgel Calin Due: Tue, Jan 14

Exercise 10.1 B¨ uchi Pushdown Systems

Solve the accepting run problem for the B¨ uchi-pushdown system over Γ = {γ, δ} below:

p q r

δ/γδ γ/δγ

δ/ε γ/δ

δ/γδ

δ/ε

(a) Find all (s, γ) ∈ Q × Γ such that (s, γ) →

+

(r, u) →

(s, γ · v) for some u, v ∈ Γ

. (b) Compute A

pre(C)

for C = {(s, γ · Γ

) | (s, γ) is a configuration found in (a)}.

Note: the lowercase γ ∈ Γ in (a) and (b) is an arbitrary symbol.

Exercise 10.2 Boolean Satisfiability

Let Σ = {∧, ∨, ¬, 0, 1, x} with rk(∧) = rk(∨) = 2, rk(¬) = 1, rk(0) = rk(1) = rk(x) = 0.

(a) Give a deterministic BUTA that recognises the satisfiable Boolean formulas over x.

(b) Use (a) to establish whether ¬(x ∧ 0) ∨ (¬x ∧ 1) and (x ∨ 0) ∧ (¬x ∧ 1) are satisfiable.

Exercise 10.3 Tree Language Acceptance

Let Σ = {a, b, c, d} with rk(a) = rk(b) = 2, respectively rk(c) = rk(d) = 0. Establish which of the following tree languages are accepted by some BUTA.

(a) L

1

:= {t ∈ T

Σ

| the path , 0, 01, 010, 0101, . . . in t contains an even number of a’s}.

(b) L

2

:= {t ∈ T

Σ

| t is an unbalanced tree}.

(c) L

3

:= {t ∈ T

Σ

| there are nodes u, v in t with t(u) = c, t(v) = d and u is left of v}.

(d) L

4

:= {t ∈ T

Σ

| precisely 2014 of t’s leaves are labelled by c}.

Determine which of the languages above are also accepted by a deterministic TDTA.

Exercise 10.4 Emptiness of TDTA

Give an algorithm that decides emptiness of nondeterministic TDTA without checking emptiness of an equivalently encoded BUTA.

Prove termination and correctness of your algorithm.

Referenzen

ÄHNLICHE DOKUMENTE

The automaton definition now includes an initial configuration c 0 and transitions are now labeled, i.e.. Note that the constructions presented in the lecture are not affected by

c) We want to prove, using the method from Exercise 2, that if from some point on input() only returns 0, then the program will halt. First, extend your model to a BPDS

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern.. Exercise

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern. Exercise

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern.. Exercise

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern.. Exercise

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern. Exercise

Applied Automata Theory (WS 2014/2015) Technische Universit¨ at Kaiserslautern.. Exercise