• Keine Ergebnisse gefunden

Peter Chini Delivery until 29.05.2018 at 12:00

N/A
N/A
Protected

Academic year: 2021

Aktie "Peter Chini Delivery until 29.05.2018 at 12:00"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2018 16.05.2018 Exercises to the lecture

Algorithmic Automata Theory Sheet 5

Dr. Prakash Saivasan

Peter Chini Delivery until 29.05.2018 at 12:00

Exercise 5.1 (Aperiodic Monoids)

Let (M, ·, 1

M

) be a finite monoid. Recall that a subgroup G in M is a subset G ⊆ M such that G is non-empty, (G, ·, 1

G

) is a monoid, and any element g ∈ G has an inverse g

−1

∈ G: g · g

−1

= 1

G

. Note that 1

G

and 1

M

might be different elements.

Prove that each subgroup of M is trivial, i.e. consists of exactly one element, if and only if M is an aperiodic monoid.

Hint: To show that M is aperiodic, consider the set (a

N+`

)

`∈N

⊆ M , for a ∈ M and N its idempotent power. Show that it is a subgroup.

Exercise 5.2 (Solution Space)

State a Presburger formula ϕ such that every bound variable (non-free variable) occurs in precisely one term and such that

Sol(ϕ) =

2n + 1 n + 3

n ∈ N

3n + 1 2n + 2

n ∈ N

.

Exercise 5.3 (Parikh Image)

The Parikh image is a map Ψ : Σ

→ N

|Σ|

. It sends each word w to the vector Ψ(w), where the components store the number of occurrences of each letter in w. For a language L ⊆ Σ

, let Ψ(L) = {Ψ(w)|w ∈ L}. As an example, consider the alphabet Σ = {a, b, c}.

Then we have:

Ψ(ababcb) =

 2 3 1

 and Ψ((aa)

(bbb)

) =

 2n 3m 0

n, m ∈ N

 .

Give an NFA A so that Ψ(L(A)) = Sol(ϕ) for formula ϕ from Exercise 5.2.

Exercise 5.4 (Presburger to NFA)

a) Prove the correctness of the construction given in class: For every q ∈ Z and w ∈ (B

n

)

, the automaton accepts w, starting from q if and only if w encodes ~ c with ~a · ~ c ≤ q.

b) Construct a finite automaton over B for the Presburger formula x − 3y ≤ 1.

Delivery until 29.05.2018 at 12:00 into the box next to 343

Referenzen

ÄHNLICHE DOKUMENTE

The cells of the TM’s tape should then be simulated by places, the TM’s transition relation gets simulated by the PN’s transitions. Delivery until 02.11.2017 at 12h into the box next

Prove by induction that Σ i QBF (Π i QBF) can be decided by an alternating Turing Machine that runs in polynomial time, uses at most i − 1 alternations between existential and

At some point, one has to count the number of cycles that have weight j in a

Phrased differently, a forest is a disjoint union of trees.. Determine the treewidth of

Note that the definition of time/space constructible functions requires a Turing Machine that starts with the unary encoding of n and displays the result on a designated output

Roland

Note that you have to remember the position of M ’s head inside such

Show the following statements, using the hierarchy and transfer results from the lecture:. a) P ( EXP, b) NL