• Keine Ergebnisse gefunden

Analogously, a functions:N→Nis called space construc- tible, if there is a Turing machineM such thatSpaceM(x) =s(|x|) for each inputx

N/A
N/A
Protected

Academic year: 2021

Aktie "Analogously, a functions:N→Nis called space construc- tible, if there is a Turing machineM such thatSpaceM(x) =s(|x|) for each inputx"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Lehr- und Forschungsgebiet

Mathematische Grundlagen der Informatik RWTH Aachen

Prof. Dr. E. Grädel, D. Fischer, T. Ganzow, B. Puchala

WS 09/10

Complexity Theory and Quantum Computing — Assignment 3 Due: Monday, November 16, 12:00

Exercise 1

A function t : N → N is called time constructible, if there is a Turing machine M such that TimeM(x) =t(|x|)for each inputx. Analogously, a functions:N→Nis called space construc- tible, if there is a Turing machineM such thatSpaceM(x) =s(|x|) for each inputx. Prove the following properties of time constructible functions.

(a) For each computable function f :N→ Nthere is a time constructible functiont such that t(n)> f(n) for all n∈N.

(b) Each time constructible function is space constructible as well, but the converse is not true.

Exercise 2

Determine the order of the following complexity classes with respect to the subset relation:

Dtime(n3),Dtime(n!),P,Logspace,Dspace(log2n),Dspace(nlogn). Prove proper inclusi- ons if possible.

Exercise 3

A language L ⊆ Σ is called context sensitive if it can be generated by a context sensitive grammar. A grammar G over an alphabet Γ ⊃ Σ is a finite set of rules of the form w → w0 withw, w0 ∈Γ. Moreover, there is a distinguished initial symbolS∈Γ\Σ.Gis called context sensitive if, for each rule w → w0 of G, we have |w| ≤ |w0| (except for the rule S → ε if it is contained in G). A rule w→ w0 enables precisely the derivations of the form uwv →uw0v for any u, v∈Γ. The language generated by GinΣ is the set

L(G) ={w∈Σ|w can be derived fromS by a finite sequence of rules from G}.

Finally, we defineCSL :={L|L is context sensitive}. Prove thatCSL⊆Nspace(n).

Exercise 4

Prove that Nspace(n)⊆CSL.

Hint: A language in Nspace(n) can be decided by a nondeterministic Turing machine with a single tape and with a unique accepting configuration given by state q+, head position 0 and empty tape. Then, a configuration of this Turing machine can be represented as a word w0. . . wp−1(qwp)wp+1. . .over the alphabetΣ∪(Q×Σ).

Remark: The resultNspace(n) = CSLshows that the class of all context sensitive languages is closed under complement.

http://www.logic.rwth-aachen.de/Teaching/KTQC-WS09/

Referenzen

ÄHNLICHE DOKUMENTE

In der 5ten Gruppenübung haben wir zu einem endlichen Wort w =

Abgabe : bis Mittwoch, den 06.07., um 12:00 Uhr im Übungskasten oder in der Vorlesung.. Geben Sie bitte Namen, Matrikelnummer und die

(a) Die Klasse der ungerichteten Graphen (V, E), in denen jeder Kreis die gleiche Länge hat. (b) Die Klasse der Strukturen (A, f) wobei f eine selbst-inverse Funktion

Mathematische Grundlagen der Informatik RWTH

Consider the polarisation experiment from the lecture, where, instead of 45 ◦ , the filter in the middle polarises light with an angle α, for arbitrary α. Specify how much light

Eine Satz ϕ ist in Gaifman-Form , falls ϕ eine Boolesche Kombination von Sätzen der Form.

Mathematische Grundlagen der Informatik RWTH

Eine positionale Strategie σ nennen wir homogen, wenn sie für alle Knoten mit gleicher Nachfolgermenge den gleichen Nachfolger