• Keine Ergebnisse gefunden

Prakash Saivasan Delivery until at 10h Exercise 5.1 (Completeness in L) Let Σ be a finite alphabet

N/A
N/A
Protected

Academic year: 2021

Aktie "Prakash Saivasan Delivery until at 10h Exercise 5.1 (Completeness in L) Let Σ be a finite alphabet"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2016/2015 23.11.2016 Exercises to the lecture

Complexity Theory Sheet 5 Prof. Dr. Roland Meyer

Dr. Prakash Saivasan Delivery until 29.11.2016 at 10h

Exercise 5.1 (Completeness in L)

Let Σ be a finite alphabet. Prove the following two statements:

a) A language Aover Σ is in L if and only ifA≤logm {0,1}.

b) Any languageA inL that satisfiesA6=∅ andA6= Σ is alreadyL-complete with respect to logspace-many-one reductions.

Exercise 5.2 (Acyclic reachability)

Show that we can reducePATH to ACYCLICPATH with respect to logspace-many-one reductions. Conclude thatACYCLICPATH is NL-complete.

Exercise 5.3 (Reducing ACYCLICPATH to 2SAT)

LetG be an acyclic graph ands andt vertices ofG. We construct a formula F in CNF as follows: for any edgex→y, we add a clause (¬x∨y). Moreover, we add the clauses (s) and (¬t). Show the following:

F is satisfiable ⇔ there is no path from stotinG.

Exercise 5.4 (Counter automata)

Let Σ be a finite alphabet and A ank-counter two-way automaton over Σ.

a) The counters ofAmay take values inZ. Construct ank0-counter two-way automaton A0 such that:

• A0 simulatesA, and

• the counters ofA0 only take values inN.

b) Assume thatA has linearly bounded semantics and that the counters can only take values in N. Construct ak0-head two-way finite automaton B that simulatesA.

Delivery until 29.11.2016 at 10h into the box next to room 343 in the Institute for Theoretical Computer Science, Muehlenpfordstrasse 22-23

Referenzen

ÄHNLICHE DOKUMENTE

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

Roland

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

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

Delivery until 22.11.2016 at 10h into the box next to room 343 in the Institute for Theoretical Computer Science,

Delivery until 10.01.2017 at 10h into the box next to room 343 in the Institute for Theoretical Computer Science,

Delivery until 24.01.2017 at 17h into the box next to room 343 in the Institute for Theoretical Computer Science,