Complexity Theory Review: Space Complexity Classes

Total Page:16

File Type:pdf, Size:1020Kb

Complexity Theory Review: Space Complexity Classes Space Complexity Space Complexity Review Complexity Theory Space Complexity Daniel Borchmann, Markus Krötzsch Review Computational Logic 2015-11-25 cba cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #1 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #2 Space Complexity Space Complexity Space Complexity Space Complexity Review: Space Complexity Classes Recall our earlier definition of space complexities: Definition 10.1 Let f : N R+ be a function. → DSpace(f(n)) is the class of all languages for which there is an Space Complexity L O(f(n))-space bounded Turing machine deciding . L NSpace(f(n)) is the class of all languages for which there is an L O(f(n))-space bounded nondeterministic Turing machine deciding . L Being O(f(n))-space bounded requires a (nondeterministic) TM to halt on every input and to use f( w ) tape cells on every computation path. ≤ | | cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #3 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #4 Space Complexity Space Complexity Space Complexity Space Complexity Space Complexity Classes The Power Of Space Some important space complexity classes: Space seems to be more powerful than time because space can be reused. L = LogSpace = DSpace(log n) logarithmic space PSpace = DSpace(nd ) polynomial space Example 10.2 d 1 [≥ Sat can be solved in linear space: d ExpSpace = DSpace(2n ) exponential space Just iterate over all possible truth assignments (each linear in size) and d 1 [≥ check if one satisfies the formula. NL = NLogSpace = NSpace(log n) nondet. logarithmic space Example 10.3 NPSpace = NSpace(nd ) nondet. polynomial space Tautology can be solved in linear space: d 1 Just iterate over all possible truth assignments (each linear in size) and [≥ d check if all satisfy the formula. NExpSpace = NSpace(2n ) nondet. exponential space d 1 [≥ More generally: NP PSpace and coNP PSpace ⊆ ⊆ cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #5 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #6 Space Complexity Space Complexity Space Complexity Space Complexity Linear Compression Tape Reduction Theorem 10.5 Theorem 10.4 + For every functionf : N R allk 1 and Σ∗: For every functionf : N R+, for allc N, and for every f-space → ≥ L ⊆ → ∈ If can be decided by anf-space boundedk-tape Turing-machine, bounded (deterministic/nondeterminsitic) Turing machine : L M it can also be decided by anf-space bounded 1-tape Turing-machine there is a max 1, 1 f(n) -space bounded (deterministic/nondeterminsitic) { c } Turing machine that accepts the same language as . M0 M Proof idea. Proof idea. Combine tapes with a similar reduction as for time. Compress space to avoid linear increase. Similar to (but much simpler than) linear speed-up. This justifies using O-notation for defining space classes. Recall that we still use a separate read-only input tape to define some space complexities, such as LogSpace. cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #7 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #8 Space Complexity Space Complexity Space Complexity Space Complexity Time vs. Space Number of Possible Configurations Theorem 10.6 Let := (Q, Σ, Γ, q0, δ, qstart) be a 2-tape Turing machine M For all functionsf : N R+: (1 read-only input tape + 1 work tape) → DTime(f) DSpace(f) and NTime(f) NSpace(f) Recall: A configuration of is a quadruple (q, p1, p2, x) where ⊆ ⊆ M q Q is the current state, Proof. ∈ pi N is the head position on tape i, and Visiting a cell takes at least one time step. ∈ x Γ is the tape content. ∈ ∗ Theorem 10.7 Let w Σ be an input to and n := w . Then also p n. ∈ ∗ M | | 1 ≤ + For all functionsf : N R with f(n) log n: If is f(n)-space bounded we can assume p f(n) and x f(n) → ≥ M 2 ≤ | | ≤ ( ) ( ) DSpace(f) DTime(2O f ) and NSpace(f) DTime(2O f ) Hence, there are at most ⊆ ⊆ Q n f(n) Γ f(n) = n 2O(f(n)) = 2O(f(n)) Proof. | | · · · | | · Based on configuration graphs and a bound on the number of possible different configurations on inputs of length n configurations. (the last equality requires f(n) log n). ≥ cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #9 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #10 Proof. Space Complexity Space Complexity Space Complexity Space Complexity O(f(n)) ConfigurationBuild the configuration Graphs graph (time2 ) and find a path from the start Time vs. Space to an accepting stop configuration (time2 O(f(n))). The possible computations of a TM (on input w) form a directed graph: M Theorem 10.6 Vertices: configurations that can reach (on input w) For all functionsf : N R+: M → Edges: there is an edge from C1 to C2 if C1 C2 `M DTime(f) DSpace(f) and NTime(f) NSpace(f) (C2 reachable from C1 in a single step) ⊆ ⊆ This yields the configuration graph Proof. Could be infinite in general. Visiting a cell takes at least one time step. For f(n)-space bounded 2-tape TMs, there can be at most2 O(f(n)) vertices and2 (2O(f(n)))2 = 2O(f(n)) edges Theorem 10.7 · For all functionsf : N R+ with f(n) log n: A computation of on input w corresponds to a path in the configuration → ≥ M ( ) ( ) graph from the start configuration to a stop configuration. DSpace(f) DTime(2O f ) and NSpace(f) DTime(2O f ) ⊆ ⊆ Hence, to test if accepts input w, M Proof. construct the configuration graph and Based on configuration graphs and a bound on the number of possible find a path from the start to an accepting stop configuration. configurations. cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #11 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #12 Proof. Build the configuration graph (time2 O(f(n))) and find a path from the start to an accepting stop configuration (time2 O(f(n))). Space Complexity Space Complexity Space Complexity Space Complexity Basic Space/Time Relationships Nondeterminism in Space Most experts think that nondeterministic TMs can solve strictly more Applying the results of the previous slides, we get the following relations: problems when given the same amount of time than a deterministic TM: Most believe that P ( NP L NL P NP PSpace NPSpace ExpTime NExpTime ⊆ ⊆ ⊆ ⊆ ⊆ ⊆ ⊆ How about nondeterminism in space-bounded TMs? We also noted P coNP PSpace. ⊆ ⊆ Theorem 10.8 (Savitch’s Theorem, 1970) Open questions: For any functionf : N R+ withf (n) log n: What is the relationship between space classes and their co-classes? → ≥ NSpace(f(n)) DSpace(f 2(n)). What is the relationship between deterministic and non-deterministic ⊆ space classes? That is: nondeterminism adds almost no power to space-bounded TMs! cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #13 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #14 Space Complexity Space Complexity Space Complexity Space Complexity Consequences of Savitch’s Theorem Proving Savitch’s Theorem Savitch’s Theorem: For any function f : N R+ with f(n) log n: → ≥ Simulating nondeterminism with more space: Use configuration graph of nondeterministic space-bounded TM NSpace(f(n)) DSpace(f 2(n)). ⊆ Corollary 10.9 Check if an accepting configuration can be reached PSpace = NPSpace. Store only one computation path at a time (depth-first search) This still requires exponential space. We want quadratic space! Proof. What to do? PSpace NPSpace is clear. The converse follows since the square of a ⊆ polynomial is still a polynomial. Things we can do: Store one configuration: Similarly for “bigger” classes, e.g., ExpSpace = NExpSpace. one configuration requires log n + O(f(n)) space Corollary 10.10 if f(n) log n, then this is O(f(n)) space ≥ NL DSpace(O(log2 n)). Store log n configurations (remember we have log2 n space) ⊆ Iterate over all configurations (one by one) Note that log2(n) < O(log n), so we do not obtain NL = L from this. cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #15 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #16 Space Complexity Space Complexity Space Complexity Space Complexity Proving Savitch’s Theorem: Key Idea An Algorithm for Yieldability To find out if we can reach an accepting configuration, we solve a slighly 01 CanYield(C1,C2,k){ more general question: 02 if k = 1 : 03 return (C1 = C2) or (C1 C2) `M 04 else if k > 1 : Yieldability 05 for each configuration C of for input size n : Input: TM configurations C1 and C2, integer k M 06 if CanYield(C1,C,k/2) and Problem: Can TM get from C1 to C2 in at most k steps? 07 CanYield(C,C2,k/2): 08 return true Approach: check if there is an intermediate configuration C0 such that 09 // eventually, if no success: 10 return false (1) C can reach C0 in k/2 steps and 1 11} (2) C0 can reach C2 in k/2 steps { Deterministic: we can try all C0 (iteration) We only call CanYield only with k a power of 2, so k/2 N { Space-efficient: we can reuse the same space for both steps ∈ cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #17 cba 2015 Daniel Borchmann, Markus Krötzsch Complexity Theory 2015-11-25 #18 Space Complexity Space Complexity Space Complexity Space Complexity Space Requirement for the Algorithm Simulating Nondeterministic Space-Bounded TMs 01 CanYield(C ,C ,k){ 1 2 Input:TM that runs in NSpace(f(n)); input word w of length n 02 if k = 1 : M 03 return (C1 = C2) or (C1 C2) `M Algorithm: 04 else if k > 1 : 05 for each configuration C of for input size n : Modify to have a unique accepting configuration Caccept M
Recommended publications
  • CS601 DTIME and DSPACE Lecture 5 Time and Space Functions: T, S
    CS601 DTIME and DSPACE Lecture 5 Time and Space functions: t, s : N → N+ Definition 5.1 A set A ⊆ U is in DTIME[t(n)] iff there exists a deterministic, multi-tape TM, M, and a constant c, such that, 1. A = L(M) ≡ w ∈ U M(w)=1 , and 2. ∀w ∈ U, M(w) halts within c · t(|w|) steps. Definition 5.2 A set A ⊆ U is in DSPACE[s(n)] iff there exists a deterministic, multi-tape TM, M, and a constant c, such that, 1. A = L(M), and 2. ∀w ∈ U, M(w) uses at most c · s(|w|) work-tape cells. (Input tape is “read-only” and not counted as space used.) Example: PALINDROMES ∈ DTIME[n], DSPACE[n]. In fact, PALINDROMES ∈ DSPACE[log n]. [Exercise] 1 CS601 F(DTIME) and F(DSPACE) Lecture 5 Definition 5.3 f : U → U is in F (DTIME[t(n)]) iff there exists a deterministic, multi-tape TM, M, and a constant c, such that, 1. f = M(·); 2. ∀w ∈ U, M(w) halts within c · t(|w|) steps; 3. |f(w)|≤|w|O(1), i.e., f is polynomially bounded. Definition 5.4 f : U → U is in F (DSPACE[s(n)]) iff there exists a deterministic, multi-tape TM, M, and a constant c, such that, 1. f = M(·); 2. ∀w ∈ U, M(w) uses at most c · s(|w|) work-tape cells; 3. |f(w)|≤|w|O(1), i.e., f is polynomially bounded. (Input tape is “read-only”; Output tape is “write-only”.
    [Show full text]
  • Interactive Proof Systems and Alternating Time-Space Complexity
    Theoretical Computer Science 113 (1993) 55-73 55 Elsevier Interactive proof systems and alternating time-space complexity Lance Fortnow” and Carsten Lund** Department of Computer Science, Unicersity of Chicago. 1100 E. 58th Street, Chicago, IL 40637, USA Abstract Fortnow, L. and C. Lund, Interactive proof systems and alternating time-space complexity, Theoretical Computer Science 113 (1993) 55-73. We show a rough equivalence between alternating time-space complexity and a public-coin interactive proof system with the verifier having a polynomial-related time-space complexity. Special cases include the following: . All of NC has interactive proofs, with a log-space polynomial-time public-coin verifier vastly improving the best previous lower bound of LOGCFL for this model (Fortnow and Sipser, 1988). All languages in P have interactive proofs with a polynomial-time public-coin verifier using o(log’ n) space. l All exponential-time languages have interactive proof systems with public-coin polynomial-space exponential-time verifiers. To achieve better bounds, we show how to reduce a k-tape alternating Turing machine to a l-tape alternating Turing machine with only a constant factor increase in time and space. 1. Introduction In 1981, Chandra et al. [4] introduced alternating Turing machines, an extension of nondeterministic computation where the Turing machine can make both existential and universal moves. In 1985, Goldwasser et al. [lo] and Babai [l] introduced interactive proof systems, an extension of nondeterministic computation consisting of two players, an infinitely powerful prover and a probabilistic polynomial-time verifier. The prover will try to convince the verifier of the validity of some statement.
    [Show full text]
  • Sustained Space Complexity
    Sustained Space Complexity Jo¨elAlwen1;3, Jeremiah Blocki2, and Krzysztof Pietrzak1 1 IST Austria 2 Purdue University 3 Wickr Inc. Abstract. Memory-hard functions (MHF) are functions whose eval- uation cost is dominated by memory cost. MHFs are egalitarian, in the sense that evaluating them on dedicated hardware (like FPGAs or ASICs) is not much cheaper than on off-the-shelf hardware (like x86 CPUs). MHFs have interesting cryptographic applications, most notably to password hashing and securing blockchains. Alwen and Serbinenko [STOC'15] define the cumulative memory com- plexity (cmc) of a function as the sum (over all time-steps) of the amount of memory required to compute the function. They advocate that a good MHF must have high cmc. Unlike previous notions, cmc takes into ac- count that dedicated hardware might exploit amortization and paral- lelism. Still, cmc has been critizised as insufficient, as it fails to capture possible time-memory trade-offs; as memory cost doesn't scale linearly, functions with the same cmc could still have very different actual hard- ware cost. In this work we address this problem, and introduce the notion of sustained- memory complexity, which requires that any algorithm evaluating the function must use a large amount of memory for many steps. We con- struct functions (in the parallel random oracle model) whose sustained- memory complexity is almost optimal: our function can be evaluated using n steps and O(n= log(n)) memory, in each step making one query to the (fixed-input length) random oracle, while any algorithm that can make arbitrary many parallel queries to the random oracle, still needs Ω(n= log(n)) memory for Ω(n) steps.
    [Show full text]
  • Complexity Theory
    Complexity Theory Course Notes Sebastiaan A. Terwijn Radboud University Nijmegen Department of Mathematics P.O. Box 9010 6500 GL Nijmegen the Netherlands [email protected] Copyright c 2010 by Sebastiaan A. Terwijn Version: December 2017 ii Contents 1 Introduction 1 1.1 Complexity theory . .1 1.2 Preliminaries . .1 1.3 Turing machines . .2 1.4 Big O and small o .........................3 1.5 Logic . .3 1.6 Number theory . .4 1.7 Exercises . .5 2 Basics 6 2.1 Time and space bounds . .6 2.2 Inclusions between classes . .7 2.3 Hierarchy theorems . .8 2.4 Central complexity classes . 10 2.5 Problems from logic, algebra, and graph theory . 11 2.6 The Immerman-Szelepcs´enyi Theorem . 12 2.7 Exercises . 14 3 Reductions and completeness 16 3.1 Many-one reductions . 16 3.2 NP-complete problems . 18 3.3 More decision problems from logic . 19 3.4 Completeness of Hamilton path and TSP . 22 3.5 Exercises . 24 4 Relativized computation and the polynomial hierarchy 27 4.1 Relativized computation . 27 4.2 The Polynomial Hierarchy . 28 4.3 Relativization . 31 4.4 Exercises . 32 iii 5 Diagonalization 34 5.1 The Halting Problem . 34 5.2 Intermediate sets . 34 5.3 Oracle separations . 36 5.4 Many-one versus Turing reductions . 38 5.5 Sparse sets . 38 5.6 The Gap Theorem . 40 5.7 The Speed-Up Theorem . 41 5.8 Exercises . 43 6 Randomized computation 45 6.1 Probabilistic classes . 45 6.2 More about BPP . 48 6.3 The classes RP and ZPP .
    [Show full text]
  • Arxiv:Quant-Ph/0202111V1 20 Feb 2002
    Quantum statistical zero-knowledge John Watrous Department of Computer Science University of Calgary Calgary, Alberta, Canada [email protected] February 19, 2002 Abstract In this paper we propose a definition for (honest verifier) quantum statistical zero-knowledge interactive proof systems and study the resulting complexity class, which we denote QSZK. We prove several facts regarding this class: The following natural problem is a complete promise problem for QSZK: given instructions • for preparing two mixed quantum states, are the states close together or far apart in the trace norm metric? By instructions for preparing a mixed quantum state we mean the description of a quantum circuit that produces the mixed state on some specified subset of its qubits, assuming all qubits are initially in the 0 state. This problem is a quantum generalization of the complete promise problem of Sahai| i and Vadhan [33] for (classical) statistical zero-knowledge. QSZK is closed under complement. • QSZK PSPACE. (At present it is not known if arbitrary quantum interactive proof • systems⊆ can be simulated in PSPACE, even for one-round proof systems.) Any honest verifier quantum statistical zero-knowledge proof system can be parallelized to • a two-message (i.e., one-round) honest verifier quantum statistical zero-knowledge proof arXiv:quant-ph/0202111v1 20 Feb 2002 system. (For arbitrary quantum interactive proof systems it is known how to parallelize to three messages, but not two.) Moreover, the one-round proof system can be taken to be such that the prover sends only one qubit to the verifier in order to achieve completeness and soundness error exponentially close to 0 and 1/2, respectively.
    [Show full text]
  • Lecture 10: Space Complexity III
    Space Complexity Classes: NL and L Reductions NL-completeness The Relation between NL and coNL A Relation Among the Complexity Classes Lecture 10: Space Complexity III Arijit Bishnu 27.03.2010 Space Complexity Classes: NL and L Reductions NL-completeness The Relation between NL and coNL A Relation Among the Complexity Classes Outline 1 Space Complexity Classes: NL and L 2 Reductions 3 NL-completeness 4 The Relation between NL and coNL 5 A Relation Among the Complexity Classes Space Complexity Classes: NL and L Reductions NL-completeness The Relation between NL and coNL A Relation Among the Complexity Classes Outline 1 Space Complexity Classes: NL and L 2 Reductions 3 NL-completeness 4 The Relation between NL and coNL 5 A Relation Among the Complexity Classes Definition for Recapitulation S c NPSPACE = c>0 NSPACE(n ). The class NPSPACE is an analog of the class NP. Definition L = SPACE(log n). Definition NL = NSPACE(log n). Space Complexity Classes: NL and L Reductions NL-completeness The Relation between NL and coNL A Relation Among the Complexity Classes Space Complexity Classes Definition for Recapitulation S c PSPACE = c>0 SPACE(n ). The class PSPACE is an analog of the class P. Definition L = SPACE(log n). Definition NL = NSPACE(log n). Space Complexity Classes: NL and L Reductions NL-completeness The Relation between NL and coNL A Relation Among the Complexity Classes Space Complexity Classes Definition for Recapitulation S c PSPACE = c>0 SPACE(n ). The class PSPACE is an analog of the class P. Definition for Recapitulation S c NPSPACE = c>0 NSPACE(n ).
    [Show full text]
  • Spring 2020 (Provide Proofs for All Answers) (120 Points Total)
    Complexity Qual Spring 2020 (provide proofs for all answers) (120 Points Total) 1 Problem 1: Formal Languages (30 Points Total): For each of the following languages, state and prove whether: (i) the lan- guage is regular, (ii) the language is context-free but not regular, or (iii) the language is non-context-free. n n Problem 1a (10 Points): La = f0 1 jn ≥ 0g (that is, the set of all binary strings consisting of 0's and then 1's where the number of 0's and 1's are equal). ∗ Problem 1b (10 Points): Lb = fw 2 f0; 1g jw has an even number of 0's and at least two 1'sg (that is, the set of all binary strings with an even number, including zero, of 0's and at least two 1's). n 2n 3n Problem 1c (10 Points): Lc = f0 #0 #0 jn ≥ 0g (that is, the set of all strings of the form 0 repeated n times, followed by the # symbol, followed by 0 repeated 2n times, followed by the # symbol, followed by 0 repeated 3n times). Problem 2: NP-Hardness (30 Points Total): There are a set of n people who are the vertices of an undirected graph G. There's an undirected edge between two people if they are enemies. Problem 2a (15 Points): The people must be assigned to the seats around a single large circular table. There are exactly as many seats as people (both n). We would like to make sure that nobody ever sits next to one of their enemies.
    [Show full text]
  • A Short History of Computational Complexity
    The Computational Complexity Column by Lance FORTNOW NEC Laboratories America 4 Independence Way, Princeton, NJ 08540, USA [email protected] http://www.neci.nj.nec.com/homepages/fortnow/beatcs Every third year the Conference on Computational Complexity is held in Europe and this summer the University of Aarhus (Denmark) will host the meeting July 7-10. More details at the conference web page http://www.computationalcomplexity.org This month we present a historical view of computational complexity written by Steve Homer and myself. This is a preliminary version of a chapter to be included in an upcoming North-Holland Handbook of the History of Mathematical Logic edited by Dirk van Dalen, John Dawson and Aki Kanamori. A Short History of Computational Complexity Lance Fortnow1 Steve Homer2 NEC Research Institute Computer Science Department 4 Independence Way Boston University Princeton, NJ 08540 111 Cummington Street Boston, MA 02215 1 Introduction It all started with a machine. In 1936, Turing developed his theoretical com- putational model. He based his model on how he perceived mathematicians think. As digital computers were developed in the 40's and 50's, the Turing machine proved itself as the right theoretical model for computation. Quickly though we discovered that the basic Turing machine model fails to account for the amount of time or memory needed by a computer, a critical issue today but even more so in those early days of computing. The key idea to measure time and space as a function of the length of the input came in the early 1960's by Hartmanis and Stearns.
    [Show full text]
  • Computability and Complexity Time and Space Complexity Definition Of
    Time and Space Complexity For practical solutions to computational problems available time, and Computability and Complexity available memory are two main considerations. Lecture 14 We have already studied time complexity, now we will focus on Space Complexity space (memory) complexity. Savitch’s Theorem Space Complexity Class PSPACE Question: How do we measure space complexity of a Turing machine? given by Jiri Srba Answer: The largest number of tape cells a Turing machine visits on all inputs of a given length n. Lecture 14 Computability and Complexity 1/15 Lecture 14 Computability and Complexity 2/15 Definition of Space Complexity The Complexity Classes SPACE and NSPACE Definition (Space Complexity of a TM) Definition (Complexity Class SPACE(t(n))) Let t : N R>0 be a function. Let M be a deterministic decider. The space complexity of M is a → function def SPACE(t(n)) = L(M) M is a decider running in space O(t(n)) f : N N → { | } where f (n) is the maximum number of tape cells that M scans on Definition (Complexity Class NSPACE(t(n))) any input of length n. Then we say that M runs in space f (n). Let t : N R>0 be a function. → def Definition (Space Complexity of a Nondeterministic TM) NSPACE(t(n)) = L(M) M is a nondetermin. decider running in space O(t(n)) Let M be a nondeterministic decider. The space complexity of M { | } is a function In other words: f : N N → SPACE(t(n)) is the class (collection) of languages that are where f (n) is the maximum number of tape cells that M scans on decidable by TMs running in space O(t(n)), and any branch of its computation on any input of length n.
    [Show full text]
  • Some Hardness Escalation Results in Computational Complexity Theory Pritish Kamath
    Some Hardness Escalation Results in Computational Complexity Theory by Pritish Kamath B.Tech. Indian Institute of Technology Bombay (2012) S.M. Massachusetts Institute of Technology (2015) Submitted to Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Electrical Engineering & Computer Science at Massachusetts Institute of Technology February 2020 ⃝c Massachusetts Institute of Technology 2019. All rights reserved. Author: ............................................................. Department of Electrical Engineering and Computer Science September 16, 2019 Certified by: ............................................................. Ronitt Rubinfeld Professor of Electrical Engineering and Computer Science, MIT Thesis Supervisor Certified by: ............................................................. Madhu Sudan Gordon McKay Professor of Computer Science, Harvard University Thesis Supervisor Accepted by: ............................................................. Leslie A. Kolodziejski Professor of Electrical Engineering and Computer Science, MIT Chair, Department Committee on Graduate Students Some Hardness Escalation Results in Computational Complexity Theory by Pritish Kamath Submitted to Department of Electrical Engineering and Computer Science on September 16, 2019, in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science & Engineering Abstract In this thesis, we prove new hardness escalation results in computational complexity theory; a phenomenon where hardness results against seemingly weak models of computation for any problem can be lifted, in a black box manner, to much stronger models of computation by considering a simple gadget composed version of the original problem. For any unsatisfiable CNF formula F that is hard to refute in the Resolution proof system, we show that a gadget-composed version of F is hard to refute in any proof system whose lines are computed by efficient communication protocols.
    [Show full text]
  • Lecture 4: Space Complexity II: NL=Conl, Savitch's Theorem
    COM S 6810 Theory of Computing January 29, 2009 Lecture 4: Space Complexity II Instructor: Rafael Pass Scribe: Shuang Zhao 1 Recall from last lecture Definition 1 (SPACE, NSPACE) SPACE(S(n)) := Languages decidable by some TM using S(n) space; NSPACE(S(n)) := Languages decidable by some NTM using S(n) space. Definition 2 (PSPACE, NPSPACE) [ [ PSPACE := SPACE(nc), NPSPACE := NSPACE(nc). c>1 c>1 Definition 3 (L, NL) L := SPACE(log n), NL := NSPACE(log n). Theorem 1 SPACE(S(n)) ⊆ NSPACE(S(n)) ⊆ DTIME 2 O(S(n)) . This immediately gives that N L ⊆ P. Theorem 2 STCONN is NL-complete. 2 Today’s lecture Theorem 3 N L ⊆ SPACE(log2 n), namely STCONN can be solved in O(log2 n) space. Proof. Recall the STCONN problem: given digraph (V, E) and s, t ∈ V , determine if there exists a path from s to t. 4-1 Define boolean function Reach(u, v, k) with u, v ∈ V and k ∈ Z+ as follows: if there exists a path from u to v with length smaller than or equal to k, then Reach(u, v, k) = 1; otherwise Reach(u, v, k) = 0. It is easy to verify that there exists a path from s to t iff Reach(s, t, |V |) = 1. Next we show that Reach(s, t, |V |) can be recursively computed in O(log2 n) space. For all u, v ∈ V and k ∈ Z+: • k = 1: Reach(u, v, k) = 1 iff (u, v) ∈ E; • k > 1: Reach(u, v, k) = 1 iff there exists w ∈ V such that Reach(u, w, dk/2e) = 1 and Reach(w, v, bk/2c) = 1.
    [Show full text]
  • Computational Complexity Theory
    Computational Complexity Theory Markus Bl¨aser Universit¨atdes Saarlandes Draft|February 5, 2012 and forever 2 1 Simple lower bounds and gaps Lower bounds The hierarchy theorems of the previous chapter assure that there is, e.g., a language L 2 DTime(n6) that is not in DTime(n3). But this language is not natural.a But, for instance, we do not know how to show that 3SAT 2= DTime(n3). (Even worse, we do not know whether this is true.) The best we can show is that 3SAT cannot be decided by a O(n1:81) time bounded and simultaneously no(1) space bounded deterministic Turing machine. aThis, of course, depends on your interpretation of \natural" . In this chapter, we prove some simple lower bounds. The bounds in this section will be shown for natural problems. Furthermore, these bounds are unconditional. While showing the NP-hardness of some problem can be viewed as a lower bound, this bound relies on the assumption that P 6= NP. However, the bounds in this chapter will be rather weak. 1.1 A logarithmic space bound n n Let LEN = fa b j n 2 Ng. LEN is the language of all words that consists of a sequence of as followed by a sequence of b of equal length. This language is one of the examples for a context-free language that is not regular. We will show that LEN can be decided with logarithmic space and that this amount of space is also necessary. The first part is easy. Exercise 1.1 Prove: LEN 2 DSpace(log).
    [Show full text]