CS151 Complexity Theory Lecture 13 May 11, 2004. CS151 Lecture 132 Outline Natural complete problems for PH and PSPACE proof systems interactive proofs.

Slides:



Advertisements
Similar presentations
COMPLEXITY THEORY CSci 5403 LECTURE XVI: COUNTING PROBLEMS AND RANDOMIZED REDUCTIONS.
Advertisements

Complexity Theory Lecture 8
Complexity Theory Lecture 9 Lecturer: Moni Naor. Recap Last week: –Toda’s Theorem: PH  P #P. –Program checking and hardness on the average of the permanent.
IP=PSPACE Nikhil Srivastava CPSC 468/568. Outline IP Warmup: coNP  IP by arithmetization PSPACE (wrong) attempt at PSPACE  IP (revised) PSPACE  IP.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Dana Moshkovitz. Back to NP L  NP iff members have short, efficiently checkable, certificates of membership. Is  satisfiable?  x 1 = truex 11 = true.
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 26-1 Complexity Andrei Bulatov Interactive Proofs.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
March 2, 2015CS21 Lecture 231 CS21 Decidability and Tractability Lecture 23 March 2, 2015.
CS21 Decidability and Tractability
CS151 Complexity Theory Lecture 7 April 20, 2004.
1 Adapted from Oded Goldreich’s course lecture notes.
Algorithms in Exponential Time. Outline Backtracking Local Search Randomization: Reducing to a Polynomial-Time Case Randomization: Permuting the Evaluation.
CS151 Complexity Theory Lecture 12 May 6, CS151 Lecture 122 Outline The Polynomial-Time Hierarachy (PH) Complete problems for classes in PH, PSPACE.
Computability and Complexity 16-1 Computability and Complexity Andrei Bulatov NP-Completeness.
Lecturer: Moni Naor Foundations of Cryptography Lecture 12: Commitment and Zero-Knowledge.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
CS151 Complexity Theory Lecture 15 May 18, CS151 Lecture 152 Outline IP = PSPACE Arthur-Merlin games –classes MA, AM Optimization, Approximation,
CS151 Complexity Theory Lecture 6 April 15, 2004.
Lecture 20: April 12 Introduction to Randomized Algorithms and the Probabilistic Method.
Sedgewick & Wayne (2004); Chazelle (2005) Sedgewick & Wayne (2004); Chazelle (2005)
Theory of Computing Lecture 19 MAS 714 Hartmut Klauck.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
PSPACE-Completeness Section 8.3 Giorgi Japaridze Theory of Computability.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
Lecture 22 More NPC problems
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
CS151 Complexity Theory Lecture 13 May 11, Outline proof systems interactive proofs and their power Arthur-Merlin games.
1 Interactive Proofs proof systems interactive proofs and their power Arthur-Merlin games.
CSCI 2670 Introduction to Theory of Computing November 29, 2005.
May 9, New Topic The complexity of counting.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
CS151 Complexity Theory Lecture 12 May 6, QSAT is PSPACE-complete Theorem: QSAT is PSPACE-complete. Proof: 8 x 1 9 x 2 8 x 3 … Qx n φ(x 1, x 2,
Interactive proof systems Section 10.4 Giorgi Japaridze Theory of Computability.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
Fall 2013 CMU CS Computational Complexity Lecture 7 Alternating Quantifiers, PH, PSPACE. These slides are mostly a resequencing of Chris Umans’
Fall 2013 CMU CS Computational Complexity Lectures 8-9 Randomness, communication, complexity of unique solutions These slides are mostly a resequencing.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 29.
CS151 Complexity Theory Lecture 16 May 20, The outer verifier Theorem: NP  PCP[log n, polylog n] Proof (first steps): –define: Polynomial Constraint.
Probabilistic verification Mario Szegedy, Rutgers www/cs.rutgers.edu/~szegedy/07540 Lecture 1.
Umans Complexity Theory Lectures Lecture 1c: Robust Time & Space Classes.
NPC.
Complexity 24-1 Complexity Andrei Bulatov Interactive Proofs.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Prof. Busch - LSU1 Busch Complexity Lectures: More NP-complete Problems.
1 1. Which of these sequences correspond to Hamilton cycles in the graph? (a) (b) (c) (d) (e)
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
 2005 SDU Lecture15 P,NP,NP-complete.  2005 SDU 2 The PATH problem PATH = { | G is a directed graph that has a directed path from s to t} s t
Complexity 27-1 Complexity Andrei Bulatov Interactive Proofs (continued)
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
The NP class. NP-completeness
Probabilistic Algorithms
Umans Complexity Theory Lectures
Intro to Theory of Computation
CS151 Complexity Theory Lecture 13 May 15, 2017.
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
CS21 Decidability and Tractability
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
CS21 Decidability and Tractability
CS21 Decidability and Tractability
CS21 Decidability and Tractability
Umans Complexity Theory Lectures
CS151 Complexity Theory Lecture 7 April 23, 2019.
CS151 Complexity Theory Lecture 12 May 10, 2019.
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Presentation transcript:

CS151 Complexity Theory Lecture 13 May 11, 2004

CS151 Lecture 132 Outline Natural complete problems for PH and PSPACE proof systems interactive proofs and their power

May 11, 2004CS151 Lecture 133 Simpler version of MIN DNF Theorem (U): MIN DNF is Σ 2 -complete. we’ll consider a simpler variant: –IRREDUNDANT: given DNF φ, integer k; is there a DNF φ’ consisting of at most k terms of φ computing same function φ does?

May 11, 2004CS151 Lecture 134 Simpler version of MIN DNF analogy with an NP-complete problem: –SET COVER: given subsets S 1,S 2,...,S m  U, integer k, is there a collection of at most k sets that cover U. U sets S i {0,1} n φ -1 (0) φ -1 (1) terms of φ

May 11, 2004CS151 Lecture 135 SSC is Σ 2 -complete “sets” in IRREDUNDANT lie in an exponentially larger universe; they are represented succinctly by terms of φ helpful intermediate problem: –SUCCINCT SET COVER (SSC): given 3- DNFs S = {φ 1, φ 2, φ 3,..., φ m } on n variables, integer k; is there a collection S’  S of size at most k for which  φ  S’  1 (S’ is a cover)?

May 11, 2004CS151 Lecture 136 SSC is Σ 2 -complete Theorem: SSC is Σ 2 -complete. Proof: –in Σ 2 (why?) “  S’  S  x [  φ  S’ (x) = 1]” –reduce from QSAT 2 –instance:  A  B φ(A, B) = 1 –assume |A| = |B| = n

May 11, 2004CS151 Lecture 137 SSC is Σ 2 -complete  A  B φ(A, B) = 1 Proof (continued): –2 new sets of variables S, T –|S| = |T| = n –Define: wt(S, T) = # of 1s in S and T together –“(S,T) encodes A” means  i (s i =a i )  (t i =  a i )

May 11, 2004CS151 Lecture 138 SSC is Σ 2 -complete –From φ(A, B) we define function f(S, T, B): 0 if wt(S, T) < n 0 if wt(S, T) = n and (S,T) does not encode any A 0 if wt(S, T) = n and (S,T) encodes A for which φ(A, B) = 0 1 if wt(S, T) = n and (S,T) encodes A for which φ(A, B) = 1 1 if wt(S, T) > n –verify: poly(n) size circuit C computes f –verify: f is monotone in S and T

May 11, 2004CS151 Lecture 139 SSC is Σ 2 -complete Proof (continued): –produce an instance of SSC: # of sets m = 2n + 1 φ i = (  s i ) φ i+n = (  t i ) from C get a 3-DNF φ m (S,T,B,W): f(S,T,B) = 1   W φ m (S,T,B,W) = 1 0 if wt(S, T) < n 0 if wt(S, T) = n and (S,T) does not encode any A 0 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 0 1 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 1 1 if wt(S, T) > n

May 11, 2004CS151 Lecture 1310 SSC is Σ 2 -complete Claim:  A  B φ(A, B) = 1 implies S’ = {φ i | a i = 1}  {φ i+n | a i = 0}  {φ m } is a cover of size n+1. Proof: consider each fixed point (S,T,B,W) if there exists (S’,T’) that encodes A and we have (S’,T’)  (S,T) then φ m (S,T,B,W) = 1 else,  i (a i = 1 and s i = 0) or (a i = 0 and t i = 0) 0 if wt(S, T) < n 0 if wt(S, T) = n and (S,T) does not encode any A 0 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 0 1 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 1 1 if wt(S, T) > n =(  s i ) =(  t i )

May 11, 2004CS151 Lecture 1311 SSC is Σ 2 -complete Claim: cover S’ of size n+1 implies  A  B φ(A, B) = 1 Proof: –S’ must contain φ m ; otherwise it fails to cover the all-ones point –consider the pair (S*, T*) for which: s i = 1 if φ i  S’ and 0 otherwise t i = 1 if φ i+n  S’ and 0 otherwise –must have:  B  W φ m (S*, T*, B, W) = 1 –implies:  B f(S*, T*, B) = 1

May 11, 2004CS151 Lecture 1312 SSC is Σ 2 -complete –defined the pair (S*, T*) as follows: s i = 1 if φ i  S’ and 0 otherwise t i = 1 if φ i+n  S’ and 0 otherwise –concluded:  B f(S*, T*, B) = 1 –Note: wt(S*, T*) = n –(S*,T*) must encode A s.t.  B φ(A, B) = 1 –Conclude:  A  B φ(A, B) = 1 0 if wt(S, T) = n and (S,T) does not encode any A 0 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 0 1 if wt(S, T) = n and (S,T) encodes A : φ(A,B) = 1

May 11, 2004CS151 Lecture 1313 IRR is Σ 2 -complete Recall: IRREDUNDANT: given DNF φ, integer k; is there a DNF φ’ consisting of at most k terms of φ computing same function φ does? Theorem: IRR is Σ 2 -complete. Proof: –in Σ 2 : “  φ’  x [φ’(x) = φ(x)]”

May 11, 2004CS151 Lecture 1314 IRR is Σ 2 -complete –reduce from SSC –instance: S = {φ 1, φ 2, φ 3,..., φ m } –may assume φ 1, φ 2,..., φ m-1 single literals φ m necessary in any cover S is a cover –write out terms: φ m = t 1  t 2  t 3  …  t n –produce an instance of IRR: φ =  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j=1…m-1 (z 1 …z n φ j )

May 11, 2004CS151 Lecture 1315 IRR is Σ 2 -complete S = {φ 1, φ 2, φ 3,..., φ m = t 1  …  t n } φ =  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j=1…m-1 (z 1 …z n φ j ) Proof (continued): Claim: if S’  S is a cover of size k then φ’=  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j<m, φ j  S’ (z 1 z 2 …z n φ j ) is equivalent to φ and has k+n-1 terms. Proof: by cases

May 11, 2004CS151 Lecture 1316 IRR is Σ 2 -complete S = {φ 1, φ 2, φ 3,..., φ m = t 1  …  t n }; S’  S φ =  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j=1…m-1 (z 1 …z n φ j ) φ’=  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j<m, φ j  S’ (z 1 z 2 …z n φ j ) –more than one z variable 0: both φ’, φ are 0 –z i 0, other z’s 1: φ’, φ equivalent to t i –all z’s 1: φ’ equivalent to  φ j  S’ (z 1 z 2 …z n φ j ) φ’ equivalent to  φ j  S (z 1 …z n φ j ) S’ is a cover implies both equivalent to 1

May 11, 2004CS151 Lecture 1317 IRR is Σ 2 -complete S = {φ 1, φ 2, φ 3,..., φ m = t 1  …  t n } φ =  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j=1…m-1 (z 1 …z n φ j ) Proof (continued): Claim: if φ’  φ uses k+n-1 terms of φ, then there exists a cover S’ of size k Proof: –each “t i term” of φ must be present

May 11, 2004CS151 Lecture 1318 IRR is Σ 2 -complete S = {φ 1, φ 2, φ 3,..., φ m = t 1  …  t n } φ =  i=1…n (z 1 …z i-1 z i+1 …z n t i )   j=1…m-1 (z 1 …z n φ j ) φ’=  i=1…n (z 1 …z i-1 z i+1 …z n t i )  ??? (k+n-1 terms total) –other k-1 terms all involve some φ j –let S’ be these φ j together with φ m (  φ j  S’ φ j )  φ’ z  11…1  φ z  11…1  (  φ j  S φ j )  1 –conclude S’ is a cover of size k

May 11, 2004CS151 Lecture 1319 PSPACE General phenomenon: many 2-player games are PSPACE-complete. –2 players I, II –alternate pick- ing edges –lose when no unvisited choice pasadena athens auckland san francisco oakland davis GEOGRAPHY = {(G, s) : G is a directed graph and player I can win from node s}

May 11, 2004CS151 Lecture 1320 PSPACE Theorem: GEOGRAPHY is PSPACE- complete. Proof: –in PSPACE easily expressed with alternating quantifiers –PSPACE-hard reduction from QSAT

May 11, 2004CS151 Lecture 1321 PSPACE  x 1  x 2  x 3 …  x n φ(x 1, x 2, …, x n )? truefalse variable gadget for x i C 1 C 2 C m clause choice gadget …

May 11, 2004CS151 Lecture 1322 PSPACE  x 1  x 2  x 3 …(  x 1  x 2  x 3 )  (  x 3  x 1 )  …  (x 1  x 2 ) true false truefalse truefalse … x1x1 x2x2 x3x3 I II I I I I alternately pick truth assignment pick a clause I II I pick a true literal?

May 11, 2004CS151 Lecture 1323 Proof systems L = { (A, 1 k ) : A is a true mathematical assertion with a proof of length k} New topic: What is a “proof”? complexity insight: meaningless unless can be efficiently verified

May 11, 2004CS151 Lecture 1324 Proof systems given language L, goal is to prove x  L proof system for L is a verification algorithm V –completeness: x  L   proof, V accepts (x, proof) “true assertions have proofs” –soundness: x  L   proof*, V rejects (x, proof*) “false assertions have no proofs” –efficiency:  x, proof, V(x, proof) runs in polynomial time in |x|

May 11, 2004CS151 Lecture 1325 Classical Proofs previous definition: “classical” proof system recall: L  NP iff expressible as L = { x |  y, |y| < |x| k, (x, y)  R } and R  P. NP is the set of languages with classical proof systems (R is the verifier)

May 11, 2004CS151 Lecture 1326 Interactive Proofs Two new ingredients: –randomness: verifier tosses coins, errs with some small probability –interaction: rather than “reading” proof, verifier interacts with computationally unbounded prover NP proof systems lie in this framework: prover sends proof, verifier does not use randomness

May 11, 2004CS151 Lecture 1327 Interactive Proofs interactive proof system for L is an interactive protocol (P, V) ProverVerifier common input: x accept/ reject # rounds = poly(|x|)

May 11, 2004CS151 Lecture 1328 Interactive Proofs interactive proof system for L is an interactive protocol (P, V) –completeness: x  L  Pr[V accepts in (P, V)(x)]  2/3 –soundness: x  L   P* Pr[V accepts in (P*, V)(x)]  1/3 –efficiency: V is p.p.t. machine repetition: can reduce error to any ε

May 11, 2004CS151 Lecture 1329 Interactive Proofs IP = {L : L has an interactive proof system} Observations/questions: –philosophically interesting: captures more broadly what it means to be convinced a statement is true –clearly NP  IP. Potentially larger. How much larger? –if larger, randomness is essential (why?)

May 11, 2004CS151 Lecture 1330 Graph Isomorphism graphs G 0 = (V, E 0 ) and G 1 = (V, E 1 ) are isomorphic (G 0  G 1 ) if exists a permutation π:V  V for which (x, y)  E 0  (π(x), π(y))  E

May 11, 2004CS151 Lecture 1331 Graph Isomorphism GI = {(G 0, G 1 ) : G 0  G 1 } –in NP –not known to be in P, or NP-complete GNI = complement of GI –not known to be in NP Theorem (GMW): GNI  IP –indication IP may be more powerful than NP

May 11, 2004CS151 Lecture 1332 GNI in IP interactive proof system for GNI: ProverVerifier input: (G 0, G 1 ) flip coin c  {0,1}; pick random π H = π(G c ) if H  G 0 r = 0, else r = 1 r accept iff r = c

May 11, 2004CS151 Lecture 1333 GNI in IP completeness: –if G 0 not isomorphic to G 1 then H is isomorphic to exactly one of (G 0, G 1 ) –prover will choose correct r soundness: –if G 0  G 1 then prover sees same distribution on H for c = 0, c = 1 –no information on c  any prover P* can succeed with probability at most 1/2