Lecture 24 Time and Space of NTM. Time For a NDM M and an input x, Time M (x) = the minimum # of moves leading to accepting x if x ε L(M) = infinity if.

Slides:



Advertisements
Similar presentations
Reductions Complexity ©D.Moshkovitz.
Advertisements

COMPLEXITY THEORY CSci 5403 LECTURE VII: DIAGONALIZATION.
Part VI NP-Hardness. Lecture 23 Whats NP? Hard Problems.
Complexity Theory Lecture 6
Resource-Bounded Computation
Lecture 9. Resource bounded KC K-, and C- complexities depend on unlimited computational resources. Kolmogorov himself first observed that we can put resource.
CS151 Complexity Theory Lecture 4 April 11, 2013.
Lecture 3 Universal TM. Code of a DTM Consider a one-tape DTM M = (Q, Σ, Γ, δ, s). It can be encoded as follows: First, encode each state, each direction,
Based on Powerpoint slides by Giorgi Japaridze, Villanova University Space Complexity and Interactive Proof Systems Sections 8.0, 8.1, 8.2, 8.3, 10.4.
1 Savitch and Immerman- Szelepcsènyi Theorems. 2 Space Compression  For every k-tape S(n) space bounded offline (with a separate read-only input tape)
Lecture 6 Nondeterministic Finite Automata (NFA)
1 Nondeterministic Space is Closed Under Complement Presented by Jing Zhang and Yingbo Wang Theory of Computation II Professor: Geoffrey Smith.
Lecture 23 Space Complexity of DTM. Space Space M (x) = # of cell that M visits on the work (storage) tapes during the computation on input x. If M is.
Complexity Theory Lecture 3 Lecturer: Moni Naor. Recap Last week: Non deterministic communication complexity Probabilistic communication complexity Their.
Fall 2013 CMU CS Computational Complexity Lecture 5 Savich’s theorem, and IS theorems. These slides are mostly a resequencing of Chris Umans’ slides.
Umans Complexity Theory Lectures Lecture 4b: Nondeterministic Space: I-S Theorem: NL = coNL.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Complexity 12-1 Complexity Andrei Bulatov Non-Deterministic Space.
Computability and Complexity 14-1 Computability and Complexity Andrei Bulatov Cook’s Theorem.
P and NP Sipser (pages ). CS 311 Fall Polynomial time P = ∪ k TIME(n k ) … P = ∪ k TIME(n k ) … TIME(n 3 ) TIME(n 2 ) TIME(n)
1 Introduction to Computability Theory Lecture4: Non Regular Languages Prof. Amos Israeli.
Computability and Complexity 19-1 Computability and Complexity Andrei Bulatov Non-Deterministic Space.
P, NP, PS, and NPS By Muhannad Harrim. Class P P is the complexity class containing decision problems which can be solved by a Deterministic Turing machine.
Complexity ©D.Moshkovits 1 Space Complexity Complexity ©D.Moshkovits 2 Motivation Complexity classes correspond to bounds on resources One such resource.
Complexity 1 The Padding Argument. Complexity 2 Motivation: Scaling-Up Complexity Claims space + non-determinism We have: space + determinism can be simulated.
Alternating Turing Machine (ATM) –  node is marked accept iff any of its children is marked accept. –  node is marked accept iff all of its children.
Lecture 10 Matroid. Independent System Consider a finite set S and a collection C of subsets of S. (S,C) is called an independent system if i.e., it is.
Non-Deterministic Space is Closed Under Complementation Neil Immerman Richard Szelepcsenyi Presented By: Subhajit Dasgupta.
1 Slides by Michael Lewin & Robert Sayegh. Adapted from Oded Goldreich’s course lecture notes by Vered Rosen and Alon Rosen.
Definition: Let M be a deterministic Turing Machine that halts on all inputs. Space Complexity of M is the function f:N  N, where f(n) is the maximum.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Theory of Computing Lecture 21 MAS 714 Hartmut Klauck.
Lecture 7 All-Pairs Shortest Paths. All-Pairs Shortest Paths.
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Review of complexity.
1 Design and Analysis of Algorithms Yoram Moses Lecture 11 June 3, 2010
Lecture 22. Time of DTM. Time of DTM Time M (x) = # of moves that DTM M takes on input x. Time M (x) < infinity iff x ε L(M).
Computability NP complete problems. Space complexity. Homework: [Post proposal]. Find PSPACE- Complete problems. Work on presentations.
Umans Complexity Theory Lectures Lecture 1c: Robust Time & Space Classes.
Lecture 4 Hierarchy Theorem. Space Hierarchy Theorem.
Homework 8 Solutions Problem 1. Draw a diagram showing the various classes of languages that we have discussed and alluded to in terms of which class.
Lecture 2 Time and Space of DTM. Time of DTM Time M (x) = # of moves that DTM M takes on input x. Time M (x) < infinity iff x ε L(M).
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
Chapter 7 Introduction to Computational Complexity.
Complexity 27-1 Complexity Andrei Bulatov Interactive Proofs (continued)
 2005 SDU Lecture14 Mapping Reducibility, Complexity.
Design and Analysis of Approximation Algorithms
Lecture 1-2 Time and Space of DTM
Space Complexity Complexity ©D.Moshkovits.
New Characterizations in Turnstile Streams with Applications
Part VI NP-Hardness.
Umans Complexity Theory Lectures
CSE322 The Chomsky Hierarchy
Theory of Computational Complexity
Lecture 24 NP-Complete Problems
Lecture 7 All-Pairs Shortest Paths
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Network Flow 2016/04/12.
Intro to Theory of Computation
Space Complexity Costas Busch - LSU.
Part II Theory of Nondeterministic Computation
CS21 Decidability and Tractability
Umans Complexity Theory Lectures
Clustering.
Space complexity 姚鹏晖 助教: 刘明谋 答疑时间: 周四 2pm-4pm, 计算机科学与技术楼 502
Lecture 28 Approximation of Set Cover
CS151 Complexity Theory Lecture 4 April 12, 2019.
Intro to Theory of Computation
Lecture 1-2 Time and Space of DTM
CS151 Complexity Theory Lecture 4 April 8, 2004.
Presentation transcript:

Lecture 24 Time and Space of NTM

Time For a NDM M and an input x, Time M (x) = the minimum # of moves leading to accepting x if x ε L(M) = infinity if x not in L(M)

Time Bound A NTM M is said to have a time bound t(n) if for sufficiently large n and every x ε L(M) With |x|=n, Time M (x) < max {n+1, t(n)}.

Complexity Classes NTIME(t(n)) = {L(M) | M is a NTM with time bound t(n)} NP = U c > 0 NTIME(n ) c

Relationship P NP NP ≠ EXP NP EXPOLY

Theorem Speed Up Theorem still holds. Hierarchy Theorem may not.

Space For a NTM M and an input x, Space M (x) = the minimum, over all computation paths, of maximum space taken in each work tape on input x if x ε L(M) = infinity otherwise

Space bound A NTM M is said to have a space bound s(n) if sufficiently large n and every input x with |x|=n, Space M (x) ≤ max{1, s(n)}

Complexity Classes NSPACE(s(n)) = {L(M) | M is a NTM with space bound s(n)} NSPACE = U c>0 NSPACE(n ) c

Relationship NP NSPACE PSAPACE = NPSPACE (why?)

Savich’s Theorem If s(n) ≥ log n, then NSPACE (s(n)) DSPACE(s(n) ) The proof will be given in next lecture! 2

Theorems Compresion Theorem holds. Hierarchy Theorem may not.

Translation Lemma Let s 1 (n), s 2 (n) and f(n) be fully space- constructible functions with s 2 (n) > n and f(n) > n. Then NSPACE(s 1 (n)) NSPACE(s 2 (n)) implies NSPACE(s 1 (f(n))) NSPACE(s 2 (f(n)))

Hierarchy NSPACE(n ) DSPACE(n ) DSPACE(n ) NSPACE(n ) For r > 1 and a > 0, NSPACE(n ) ≠ NSPACE (n ) 48 ≠ 9 9 r r+a

Proof of Savitch’s Theorem