CS151 Complexity Theory

Total Page:16

File Type:pdf, Size:1020Kb

CS151 Complexity Theory Relationships between classes • So far: CS151 L ⊆ P ⊆ PSPACE ⊆ EXP • believe all containments strict Complexity Theory • know L ⊆ PSPACE, P ⊆ EXP Lecture 3 • even before any mention of NP, two major unsolved problems: April 6, 2021 ? ? L = P P = PSPACE April 6, 2021 CS151 Lecture 3 2 A P-complete problem A P-complete problem • We don’t know how to prove L ≠ P • logspace reduction: f computable by TM • But, can identify problems in P least likely that uses O(log n) space to be in L using P- completeness. – denoted “L1 ≤L L2” • need stronger notion of reduction (why?) • If L is P-complete, then L in L implies L = f 2 2 yes yes P (homework problem) f no no L1 L2 April 6, 2021 CS151 Lecture 3 3 April 6, 2021 CS151 Lecture 3 4 A P-complete problem A P-complete problem • Circuit Value (CVAL): given a variable-free • Tableau (configurations written in an Boolean circuit (gates ∧, ∨, ¬, 0, 1), does array) for machine M on input w: it output 1? … w1/qs w2 … wn _ • height = … w1 w2/q1 … wn _ time taken Theorem: CVAL is P-complete. … c w1/q1 a … wn _ = |w| • Proof: . – already argued in P . • width = … – L arbitrary language in P, TM M decides L in _/qa _ … _ _ space used nc steps ≤ |w|c April 6, 2021 CS151 Lecture 3 5 April 6, 2021 CS151 Lecture 3 6 1 A P-complete problem A P-complete problem • Important observation: contents of cell in • Can build Boolean circuit STEP tableau determined by 3 others above it: – input (binary encoding of) 3 cells – output (binary encoding of) 1 cell a/q1 b a a b/q1 a a b/q1 a • each output bit is some b/q1 a function of inputs a b a STEP • can build circuit for each b • size is independent of a size of tableau April 6, 2021 CS151 Lecture 3 7 April 6, 2021 CS151 Lecture 3 8 A P-complete problem A P-complete problem w w w … 1 2 n Tableau for w1/qs w2 … wn _ This circuit M on input … w q w … w … _ C has w1 w2/q1 … wn _ 1/ s 2 n M, w w . inputs . STEP STEP STEP STEP STEP w1w2…wn and outputs 1 iff M • |w|c copies of STEP compute row i from i-1 STEP STEP STEP STEP STEP . accepts input … . w. STEP STEP STEP STEP STEP logspace STEP STEP STEP STEP STEP ignore these reduction … 2c 1 iff cell contains qaccept Size = O(|w| ) April 6, 2021 CS151 Lecture 3 9 April 6, 2021 CS151 Lecture 3 10 Answer to question Padding and succinctness • Can we evaluate an n node Boolean Two consequences of measuring running circuit using O(log n) space? time as function of input length: • “padding” ∧ • NO! (probably) – suppose L ∈ EXP, and define N |x|k ∧ ∨ PADL = { x# : x ∈ L, N = 2 } • CVAL in L if and – TM that decides PADL: ensure suffix of N #s, ∨ ∧ ¬ ignore #s, then simulate TM that decides L only if L = P – running time now polynomial ! 1 0 1 0 1 April 6, 2021 CS151 Lecture 3 11 April 6, 2021 CS151 Lecture 3 12 2 Padding and succinctness Succinct encodings • converse (intuition only): “succinctness” • succinct encoding for a directed – suppose L is P-complete graph G= (V = {1,2,3,…}, E): 1 iff (i, j) ∈ E – intuitively, some inputs are “hard” -- require • a succinct encoding for a full power of P variable-free Boolean circuit: – SUCCINCT has inputs encoded in different L i j form than L, some exponentially shorter 1 iff wire type of – if “hard” inputs are exponentially shorter, then from gate i to gate j gate i candidate to be EXP-complete type of gate j i j April 6, 2021 CS151 Lecture 3 13 April 6, 2021 CS151 Lecture 3 14 An EXP-complete problem An EXP-complete problem • Succinct Circuit Value: given a succinctly – tableau for input x = x1x2x3…xn: encoded variable-free Boolean circuit x _ _ _ _ _ (gates ∧, ∨, ¬, 0, 1), does it output 1? height, k Theorem: Succinct Circuit Value is EXP- width 2n complete. • Proof: – Circuit C from CVAL reduction has size – in EXP (why?) k O(22n ). – L arbitrary language in EXP, TM M decides L k – TM M accepts input x iff circuit outputs 1 in 2n steps April 6, 2021 CS151 Lecture 3 15 April 6, 2021 CS151 Lecture 3 16 An EXP-complete problem Summary • Remaining TM details: big-oh necessary. – Can encode C succinctly: • First complexity classes: L, P, PSPACE, EXP 1 iff wire type of type of • First separations (via simulation and from gate diagonalization): gate i gate j i to gate j i j P ≠ EXP, L ≠ PSPACE • if i, j within single STEP circuit, easy to compute • First major open questions: output ? ? • if i, j between two STEP circuits, easy to compute L = P P = PSPACE output • First complete problems: • if one of i, j refers to input gates, consult x to – CVAL is P-complete compute output – Succinct CVAL is EXP-complete April 6, 2021 CS151 Lecture 3 17 April 6, 2021 CS151 Lecture 3 18 3 Summary Nondeterminism: introduction A motivating question: EXP • Can computers replace mathematicians? PSPACE P L L = { (x, 1k) : statement x has a proof of length at most k } April 6, 2021 CS151 Lecture 3 19 April 6, 2021 CS151 Lecture 3 20 Nondeterminism: introduction Nondeterminism • Outline: • Recall deterministic TM – nondeterminism – nondeterministic time classes – Q finite set of states – NP, NP-completeness, P vs. NP – ∑ alphabet including blank: “_” – coNP – qstart, qaccept, qreject in Q – NTIME Hierarchy – transition function: – Ladner’s Theorem δ : Q x ∑ → Q x ∑ x {L, R, -} April 6, 2021 CS151 Lecture 3 21 April 6, 2021 CS151 Lecture 3 22 Nondeterminism Nondeterminism • deterministic TM: given current configuration, • nondeterministic Turing Machine: unique next configuration – Q finite set of states qstartx1x2x3…xn qstartx1x2x3…xn – ∑ alphabet including blank: “_” – q , q , q in Q start accept reject x ∈ L x ∉ L – transition relation ∆ ⊆ (Q x ∑) x (Q x ∑ x {L, R, -}) qaccept qreject • given current state and symbol scanned, several choices of what to do next. • nondeterministic TM: given current configuration, several possible next configurations April 6, 2021 CS151 Lecture 3 23 April 6, 2021 CS151 Lecture 3 24 4 Nondeterminism Nondeterminism qstartx1x2x3…xn qstartx1x2x3…xn • all paths terminate “computation x ∈ L ∉ x L path” “guess” • time used: maximum length of paths from root • space used: maximum # of work tape qaccept squares touched on any path from root qreject • asymmetric accept/reject criterion April 6, 2021 CS151 Lecture 3 25 April 6, 2021 CS151 Lecture 3 26 Nondeterminism Nondeterminism • NTIME(f(n)) = languages decidable by a • Focus on time classes first: multi-tape NTM that runs for at most f(n) steps on any computation path, where n is k the input length, and f :N → N NP = ∪k NTIME(n ) • NSPACE(f(n)) = languages decidable by a multi-tape NTM that touches at most f(n) nk squares of its work tapes along any NEXP = ∪k NTIME(2 ) computation path, where n is the input length, and f :N → N April 6, 2021 CS151 Lecture 3 27 April 6, 2021 CS151 Lecture 3 28 Poly-time verifiers Poly-time verifiers Very useful alternate“ witnessdefinition” or of NP: • Example: 3SAT expressible as “certificate” 3SAT = {φ : φ is a 3-CNF formula for which Theorem: language L is in NP if andefficiently only if ∃ assignment A for which (φ, A) ∈ R} it is expressible as: verifiable R = {(φ, A) : A is a sat. assign. for φ} L = { x| ∃ y, |y| ≤ |x|k, (x, y) ∈ R } where R is a language in P. – satisfying assignmdnt A is a “witness” of the satisfiability of φ (“certifies” satisfiability of φ) – R is decidable in poly-time • poly-time TM MR deciding R is a “verifier” April 6, 2021 CS151 Lecture 3 29 April 6, 2021 CS151 Lecture 3 30 5 Poly-time verifiers Poly-time verifiers L = { x | ∃ y, |y| ≤ |x|k, (x, y) ∈ R } Proof: (⇐) given L ∈ NP, describe L as: Proof: (⇒) give poly-time NTM deciding L L = { x | ∃ y, |y| ≤ |x|k, (x, y) ∈ R } – L is decided by NTM M running in time nk – define the language phase 1: “guess” y R = { (x, y) : y is an accepting computation with |x|k history of M on input x} nondeterministic steps – check: accepting history has length ≤ |x|k phase 2: – check: R is decidable in polynomial time decide if – check: M accepts x iff ∃y, |y| ≤ |x|k, (x, y) ∈ R (x, y) ∈ R April 6, 2021 CS151 Lecture 3 31 April 6, 2021 CS151 Lecture 3 32 Why NP? Why NP? problem object we •requirementsnot a realistic model of computationare seeking • but, captures important computational • Why not EXP? feature of many problems: exhaustive search worksefficient test: – too strong! • contains huge number of natural,does practical y meet – important problems not complete. problems requirements? • many problems have form: L = { x | ∃ y s.t. (x,y) ∈ R} April 6, 2021 CS151 Lecture 3 33 April 6, 2021 CS151 Lecture 3 34 Relationships between classes NP-completeness • Easy: P ⊆ NP, EXP ⊆ NEXP • Circuit SAT: given a Boolean circuit (gates – TM special case of NTM ∧, ∨, ¬), with variables y1, y2, …, ym is • Recall: L ∈ NP iff expressible as there some assignment that makes it k L = { x | ∃ y, |y| ≤ |x| s.t. (x,y) ∈ R} output 1? • NP ⊆ PSPACE (try all possible y) • The central question: Theorem: Circuit SAT is NP-complete.
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]
  • Complexity Theory Lecture 9 Co-NP Co-NP-Complete
    Complexity Theory 1 Complexity Theory 2 co-NP Complexity Theory Lecture 9 As co-NP is the collection of complements of languages in NP, and P is closed under complementation, co-NP can also be characterised as the collection of languages of the form: ′ L = x y y <p( x ) R (x, y) { |∀ | | | | → } Anuj Dawar University of Cambridge Computer Laboratory NP – the collection of languages with succinct certificates of Easter Term 2010 membership. co-NP – the collection of languages with succinct certificates of http://www.cl.cam.ac.uk/teaching/0910/Complexity/ disqualification. Anuj Dawar May 14, 2010 Anuj Dawar May 14, 2010 Complexity Theory 3 Complexity Theory 4 NP co-NP co-NP-complete P VAL – the collection of Boolean expressions that are valid is co-NP-complete. Any language L that is the complement of an NP-complete language is co-NP-complete. Any of the situations is consistent with our present state of ¯ knowledge: Any reduction of a language L1 to L2 is also a reduction of L1–the complement of L1–to L¯2–the complement of L2. P = NP = co-NP • There is an easy reduction from the complement of SAT to VAL, P = NP co-NP = NP = co-NP • ∩ namely the map that takes an expression to its negation. P = NP co-NP = NP = co-NP • ∩ VAL P P = NP = co-NP ∈ ⇒ P = NP co-NP = NP = co-NP • ∩ VAL NP NP = co-NP ∈ ⇒ Anuj Dawar May 14, 2010 Anuj Dawar May 14, 2010 Complexity Theory 5 Complexity Theory 6 Prime Numbers Primality Consider the decision problem PRIME: Another way of putting this is that Composite is in NP.
    [Show full text]
  • If Np Languages Are Hard on the Worst-Case, Then It Is Easy to Find Their Hard Instances
    IF NP LANGUAGES ARE HARD ON THE WORST-CASE, THEN IT IS EASY TO FIND THEIR HARD INSTANCES Dan Gutfreund, Ronen Shaltiel, and Amnon Ta-Shma Abstract. We prove that if NP 6⊆ BPP, i.e., if SAT is worst-case hard, then for every probabilistic polynomial-time algorithm trying to decide SAT, there exists some polynomially samplable distribution that is hard for it. That is, the algorithm often errs on inputs from this distribution. This is the ¯rst worst-case to average-case reduction for NP of any kind. We stress however, that this does not mean that there exists one ¯xed samplable distribution that is hard for all probabilistic polynomial-time algorithms, which is a pre-requisite assumption needed for one-way func- tions and cryptography (even if not a su±cient assumption). Neverthe- less, we do show that there is a ¯xed distribution on instances of NP- complete languages, that is samplable in quasi-polynomial time and is hard for all probabilistic polynomial-time algorithms (unless NP is easy in the worst case). Our results are based on the following lemma that may be of independent interest: Given the description of an e±cient (probabilistic) algorithm that fails to solve SAT in the worst case, we can e±ciently generate at most three Boolean formulae (of increasing lengths) such that the algorithm errs on at least one of them. Keywords. Average-case complexity, Worst-case to average-case re- ductions, Foundations of cryptography, Pseudo classes Subject classi¯cation. 68Q10 (Modes of computation (nondetermin- istic, parallel, interactive, probabilistic, etc.) 68Q15 Complexity classes (hierarchies, relations among complexity classes, etc.) 68Q17 Compu- tational di±culty of problems (lower bounds, completeness, di±culty of approximation, etc.) 94A60 Cryptography 2 Gutfreund, Shaltiel & Ta-Shma 1.
    [Show full text]
  • Computational Complexity and Intractability: an Introduction to the Theory of NP Chapter 9 2 Objectives
    1 Computational Complexity and Intractability: An Introduction to the Theory of NP Chapter 9 2 Objectives . Classify problems as tractable or intractable . Define decision problems . Define the class P . Define nondeterministic algorithms . Define the class NP . Define polynomial transformations . Define the class of NP-Complete 3 Input Size and Time Complexity . Time complexity of algorithms: . Polynomial time (efficient) vs. Exponential time (inefficient) f(n) n = 10 30 50 n 0.00001 sec 0.00003 sec 0.00005 sec n5 0.1 sec 24.3 sec 5.2 mins 2n 0.001 sec 17.9 mins 35.7 yrs 4 “Hard” and “Easy” Problems . “Easy” problems can be solved by polynomial time algorithms . Searching problem, sorting, Dijkstra’s algorithm, matrix multiplication, all pairs shortest path . “Hard” problems cannot be solved by polynomial time algorithms . 0/1 knapsack, traveling salesman . Sometimes the dividing line between “easy” and “hard” problems is a fine one. For example, . Find the shortest path in a graph from X to Y (easy) . Find the longest path (with no cycles) in a graph from X to Y (hard) 5 “Hard” and “Easy” Problems . Motivation: is it possible to efficiently solve “hard” problems? Efficiently solve means polynomial time solutions. Some problems have been proved that no efficient algorithms for them. For example, print all permutation of a number n. However, many problems we cannot prove there exists no efficient algorithms, and at the same time, we cannot find one either. 6 Traveling Salesperson Problem . No algorithm has ever been developed with a Worst-case time complexity better than exponential .
    [Show full text]
  • The Complexity of Space Bounded Interactive Proof Systems
    The Complexity of Space Bounded Interactive Proof Systems ANNE CONDON Computer Science Department, University of Wisconsin-Madison 1 INTRODUCTION Some of the most exciting developments in complexity theory in recent years concern the complexity of interactive proof systems, defined by Goldwasser, Micali and Rackoff (1985) and independently by Babai (1985). In this paper, we survey results on the complexity of space bounded interactive proof systems and their applications. An early motivation for the study of interactive proof systems was to extend the notion of NP as the class of problems with efficient \proofs of membership". Informally, a prover can convince a verifier in polynomial time that a string is in an NP language, by presenting a witness of that fact to the verifier. Suppose that the power of the verifier is extended so that it can flip coins and can interact with the prover during the course of a proof. In this way, a verifier can gather statistical evidence that an input is in a language. As we will see, the interactive proof system model precisely captures this in- teraction between a prover P and a verifier V . In the model, the computation of V is probabilistic, but is typically restricted in time or space. A language is accepted by the interactive proof system if, for all inputs in the language, V accepts with high probability, based on the communication with the \honest" prover P . However, on inputs not in the language, V rejects with high prob- ability, even when communicating with a \dishonest" prover. In the general model, V can keep its coin flips secret from the prover.
    [Show full text]
  • Chapter 24 Conp, Self-Reductions
    Chapter 24 coNP, Self-Reductions CS 473: Fundamental Algorithms, Spring 2013 April 24, 2013 24.1 Complementation and Self-Reduction 24.2 Complementation 24.2.1 Recap 24.2.1.1 The class P (A) A language L (equivalently decision problem) is in the class P if there is a polynomial time algorithm A for deciding L; that is given a string x, A correctly decides if x 2 L and running time of A on x is polynomial in jxj, the length of x. 24.2.1.2 The class NP Two equivalent definitions: (A) Language L is in NP if there is a non-deterministic polynomial time algorithm A (Turing Machine) that decides L. (A) For x 2 L, A has some non-deterministic choice of moves that will make A accept x (B) For x 62 L, no choice of moves will make A accept x (B) L has an efficient certifier C(·; ·). (A) C is a polynomial time deterministic algorithm (B) For x 2 L there is a string y (proof) of length polynomial in jxj such that C(x; y) accepts (C) For x 62 L, no string y will make C(x; y) accept 1 24.2.1.3 Complementation Definition 24.2.1. Given a decision problem X, its complement X is the collection of all instances s such that s 62 L(X) Equivalently, in terms of languages: Definition 24.2.2. Given a language L over alphabet Σ, its complement L is the language Σ∗ n L. 24.2.1.4 Examples (A) PRIME = nfn j n is an integer and n is primeg o PRIME = n n is an integer and n is not a prime n o PRIME = COMPOSITE .
    [Show full text]
  • NP-Completeness Part I
    NP-Completeness Part I Outline for Today ● Recap from Last Time ● Welcome back from break! Let's make sure we're all on the same page here. ● Polynomial-Time Reducibility ● Connecting problems together. ● NP-Completeness ● What are the hardest problems in NP? ● The Cook-Levin Theorem ● A concrete NP-complete problem. Recap from Last Time The Limits of Computability EQTM EQTM co-RE R RE LD LD ADD HALT ATM HALT ATM 0*1* The Limits of Efficient Computation P NP R P and NP Refresher ● The class P consists of all problems solvable in deterministic polynomial time. ● The class NP consists of all problems solvable in nondeterministic polynomial time. ● Equivalently, NP consists of all problems for which there is a deterministic, polynomial-time verifier for the problem. Reducibility Maximum Matching ● Given an undirected graph G, a matching in G is a set of edges such that no two edges share an endpoint. ● A maximum matching is a matching with the largest number of edges. AA maximummaximum matching.matching. Maximum Matching ● Jack Edmonds' paper “Paths, Trees, and Flowers” gives a polynomial-time algorithm for finding maximum matchings. ● (This is the same Edmonds as in “Cobham- Edmonds Thesis.) ● Using this fact, what other problems can we solve? Domino Tiling Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling Solving Domino Tiling The Setup ● To determine whether you can place at least k dominoes on a crossword grid, do the following: ● Convert the grid into a graph: each empty cell is a node, and any two adjacent empty cells have an edge between them.
    [Show full text]
  • Lecture 14 (Feb 28): Probabilistically Checkable Proofs (PCP) 14.1 Motivation: Some Problems and Their Approximation Algorithms
    CMPUT 675: Computational Complexity Theory Winter 2019 Lecture 14 (Feb 28): Probabilistically Checkable Proofs (PCP) Lecturer: Zachary Friggstad Scribe: Haozhou Pang 14.1 Motivation: Some problems and their approximation algorithms Many optimization problems are NP-hard, and therefore it is unlikely to efficiently find optimal solutions. However, in some situations, finding a provably good-enough solution (approximation of the optimal) is also acceptable. We say an algorithm is an α-approximation algorithm for an optimization problem iff for every instance of the problem it can find a solution whose cost is a factor of α of the optimum solution cost. Here are some selected problems and their approximation algorithms: Example: Min Vertex Cover is the problem that given a graph G = (V; E), the goal is to find a vertex cover C ⊆ V of minimum size. The following algorithm gives a 2-approximation for Min Vertex Cover: Algorithm 1 Min Vertex Cover Algorithm Input: Graph G = (V; E) Output: a vertex cover C of G. C ; while some edge (u; v) has u; v2 = C do C C [ fu; vg end while return C Claim 1 Let C∗ be an optimal solution, the returned solution C satisfies jCj ≤ 2jC∗j. Proof. Let M be the edges considered by the algorithm in the loop, we have jCj = 2jMj. Also, jC∗j covers M and no two edges in M share an endpoint (M is a matching), so jC∗j ≥ jMj. Therefore, jCj = 2jMj ≤ 2jC∗j. Example: Max SAT is the problem that given a CNF formula, the goal is to find a assignment that satisfies as many clauses as possible.
    [Show full text]
  • Succinctness of the Complement and Intersection of Regular Expressions Wouter Gelade, Frank Neven
    Succinctness of the Complement and Intersection of Regular Expressions Wouter Gelade, Frank Neven To cite this version: Wouter Gelade, Frank Neven. Succinctness of the Complement and Intersection of Regular Expres- sions. STACS 2008, Feb 2008, Bordeaux, France. pp.325-336. hal-00226864 HAL Id: hal-00226864 https://hal.archives-ouvertes.fr/hal-00226864 Submitted on 30 Jan 2008 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Symposium on Theoretical Aspects of Computer Science 2008 (Bordeaux), pp. 325-336 www.stacs-conf.org SUCCINCTNESS OF THE COMPLEMENT AND INTERSECTION OF REGULAR EXPRESSIONS WOUTER GELADE AND FRANK NEVEN Hasselt University and Transnational University of Limburg, School for Information Technology E-mail address: [email protected] Abstract. We study the succinctness of the complement and intersection of regular ex- pressions. In particular, we show that when constructing a regular expression defining the complement of a given regular expression, a double exponential size increase cannot be avoided. Similarly, when constructing a regular expression defining the intersection of a fixed and an arbitrary number of regular expressions, an exponential and double expo- nential size increase, respectively, can in worst-case not be avoided.
    [Show full text]
  • NP As Games, Co-NP, Proof Complexity
    CS 6743 Lecture 9 1 Fall 2007 1 Importance of the Cook-Levin Theorem There is a trivial NP-complete language: k Lu = {(M, x, 1 ) | NTM M accepts x in ≤ k steps} Exercise: Show that Lu is NP-complete. The language Lu is not particularly interesting, whereas SAT is extremely interesting since it’s a well-known and well-studied natural problem in logic. After Cook and Levin showed NP-completeness of SAT, literally hundreds of other important and natural problems were also shown to be NP-complete. It is this abundance of natural complete problems which makes the notion of NP-completeness so important, and the “P vs. NP” question so fundamental. 2 Viewing NP as a game Nondeterministic computation can be viewed as a two-person game. The players are Prover and Verifier. Both get the same input, e.g., a propositional formula φ. Prover is all-powerful (but not trust-worthy). He is trying to convince Verifier that the input is in the language (e.g., that φ is satisfiable). Prover sends his argument (as a binary string) to Verifier. Verifier is computationally bounded algorithm. In case of NP, Verifier is a deterministic polytime algorithm. It is not hard to argue that the class NP of languages L is exactly the class of languages for which there is a pair (Prover, Verifier) with the property: For inputs in the language, Prover convinces Verifier to accept; for inputs not in the language, any string sent by Prover will be rejected by Verifier. Moreover, the string that Prover needs to send is of length polynomial in the size of the input.
    [Show full text]
  • Simple Doubly-Efficient Interactive Proof Systems for Locally
    Electronic Colloquium on Computational Complexity, Revision 3 of Report No. 18 (2017) Simple doubly-efficient interactive proof systems for locally-characterizable sets Oded Goldreich∗ Guy N. Rothblumy September 8, 2017 Abstract A proof system is called doubly-efficient if the prescribed prover strategy can be implemented in polynomial-time and the verifier’s strategy can be implemented in almost-linear-time. We present direct constructions of doubly-efficient interactive proof systems for problems in P that are believed to have relatively high complexity. Specifically, such constructions are presented for t-CLIQUE and t-SUM. In addition, we present a generic construction of such proof systems for a natural class that contains both problems and is in NC (and also in SC). The proof systems presented by us are significantly simpler than the proof systems presented by Goldwasser, Kalai and Rothblum (JACM, 2015), let alone those presented by Reingold, Roth- blum, and Rothblum (STOC, 2016), and can be implemented using a smaller number of rounds. Contents 1 Introduction 1 1.1 The current work . 1 1.2 Relation to prior work . 3 1.3 Organization and conventions . 4 2 Preliminaries: The sum-check protocol 5 3 The case of t-CLIQUE 5 4 The general result 7 4.1 A natural class: locally-characterizable sets . 7 4.2 Proof of Theorem 1 . 8 4.3 Generalization: round versus computation trade-off . 9 4.4 Extension to a wider class . 10 5 The case of t-SUM 13 References 15 Appendix: An MA proof system for locally-chracterizable sets 18 ∗Department of Computer Science, Weizmann Institute of Science, Rehovot, Israel.
    [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]