1 The PCP starting point. 2 Overview In this lecture we’ll present the Quadratic Solvability problem. We’ll see this problem is closely related to PCP.

Slides:



Advertisements
Similar presentations
Vector Spaces A set V is called a vector space over a set K denoted V(K) if is an Abelian group, is a field, and For every element vV and K there exists.
Advertisements

5.4 Basis And Dimension.
1. 2 Overview Review of some basic math Review of some basic math Error correcting codes Error correcting codes Low degree polynomials Low degree polynomials.
Lecture 23. Subset Sum is NPC
Department of Computer Science & Engineering
Having Proofs for Incorrectness
Complexity ©D.Moshkovits 1 Hardness of Approximation.
Complexity 25-1 Complexity Andrei Bulatov #P-Completeness.
CS21 Decidability and Tractability
February 23, 2015CS21 Lecture 201 CS21 Decidability and Tractability Lecture 20 February 23, 2015.
1. 2 Gap-QS[O(1), ,2|  | -1 ] Gap-QS[O(n), ,2|  | -1 ] Gap-QS*[O(1),O(1), ,|  | -  ] Gap-QS*[O(1),O(1), ,|  | -  ] conjunctions of constant.
Graphs 4/16/2017 8:41 PM NP-Completeness.
The Counting Class #P Slides by Vera Asodi & Tomer Naveh
1. 2 Gap-QS[O(n), ,2|  | -1 ] 3SAT QS Error correcting codesSolvability PCP Proof Map In previous lectures: Introducing new variables Clauses to polynomials.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
1. 2 Gap-QS[O(1), ,2|  | -1 ] Gap-QS[O(n), ,2|  | -1 ] Gap-QS*[O(1),O(1), ,|  | -  ] Gap-QS*[O(1),O(1), ,|  | -  ] conjunctions of constant.
6/20/2015List Decoding Of RS Codes 1 Barak Pinhas ECC Seminar Tel-Aviv University.
Complexity 19-1 Complexity Andrei Bulatov More Probabilistic Algorithms.
–Def: A language L is in BPP c,s ( 0  s(n)  c(n)  1,  n  N) if there exists a probabilistic poly-time TM M s.t. : 1.  w  L, Pr[M accepts w]  c(|w|),
Analysis of Algorithms CS 477/677
1. 2 Overview Some basic math Error correcting codes Low degree polynomials Introduction to consistent readers and consistency tests H.W.
Toward NP-Completeness: Introduction Almost all the algorithms we studies so far were bounded by some polynomial in the size of the input, so we call them.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 22 Instructor: Paul Beame.
Complexity 1 Hardness of Approximation. Complexity 2 Introduction Objectives: –To show several approximation problems are NP-hard Overview: –Reminder:
1 The PCP starting point. 2 Overview In this lecture we’ll present the Quadratic Solvability problem. In this lecture we’ll present the Quadratic Solvability.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
February 20, 2015CS21 Lecture 191 CS21 Decidability and Tractability Lecture 19 February 20, 2015.
1 Slides by Asaf Shapira & Michael Lewin & Boaz Klartag & Oded Schwartz. Adapted from things beyond us.
1 Joint work with Shmuel Safra. 2 Motivation 3 Motivation.
1 Hardness Result for MAX-3SAT This lecture is given by: Limor Ben Efraim.
1. 2 Overview of the Previous Lecture Gap-QS[O(n), ,2|  | -1 ] Gap-QS[O(1), ,2|  | -1 ] QS[O(1),  ] Solvability[O(1),  ] 3-SAT This will imply a.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Lecture 22 More NPC problems
Computational Complexity Theory Lecture 2: Reductions, NP-completeness, Cook-Levin theorem Indian Institute of Science.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
Complexity 25-1 Complexity Andrei Bulatov Counting Problems.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
CSC401 – Analysis of Algorithms Chapter 13 NP-Completeness Objectives: Introduce the definitions of P and NP problems Introduce the definitions of NP-hard.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
1. 2 Lecture outline Basic definitions: Basic definitions: P, NP complexity classes P, NP complexity classes the notion of a certificate. the notion of.
NP-Complete problems.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
NP-completeness Section 7.4 Giorgi Japaridze Theory of Computability.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
1 2 Introduction In this lecture we’ll cover: Definition of PCP Prove some classical hardness of approximation results Review some recent ones.
CSC 413/513: Intro to Algorithms
Complexity ©D.Moshkovits 1 2-Satisfiability NOTE: These slides were created by Muli Safra, from OPICS/sat/)
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Complexity ©D.Moshkovitz 1 Our First NP-Complete Problem The Cook-Levin theorem A B C.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
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.
CS151 Complexity Theory Lecture 15 May 18, Gap producing reductions Main purpose: –r-approximation algorithm for L 2 distinguishes between f(yes)
Umans Complexity Theory Lectures Lecture 16: The PCP Theorem.
RS – Reed Solomon Error correcting code. Error-correcting codes are clever ways of representing data so that one can recover the original information.
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
NP-Completeness A problem is NP-complete if: It is in NP
The NP class. NP-completeness
P & NP.
Background: Lattices and the Learning-with-Errors problem
CS154, Lecture 16: More NP-Complete Problems; PCPs
NP-Completeness Proofs
The Curve Merger (Dvir & Widgerson, 2008)
CS154, Lecture 16: More NP-Complete Problems; PCPs
PCP Characterization of NP:
Instructor: Aaron Roth
Presentation transcript:

1 The PCP starting point

2 Overview In this lecture we’ll present the Quadratic Solvability problem. We’ll see this problem is closely related to PCP. And even use it to prove a (very very weak...) PCP characterization of NP.

3 Quadratic Solvability Definition (QS[D,  ]): Instance: a set of n quadratic equations over  with at most D variables each. Problem: to find if there is a common solution. or equally: a set of dimension D total-degree 2 polynomials Example:  =Z 2 ; D=1 y = 0 x 2 + x = 0 x =

4 Solvability A generalization of this problem is the following: Definition (Solvability[D,  ]): Instance: a set of n polynomials over  with at most D variables. Each polynomial has degree-bound n in each one of the variables. Problem: to find if there is a common root.

5 Solvability is Reducible to QS: Proof Idea y 2 x 2 + x 2 t + tlz + z + 1 = 0 w1w1 w 1 = y 2 w2w2 w 2 = x 2 w 3 w 3 = tl w2w2 Could we use the same “trick” to show Solvability is reducible to Linear Solvability? the parameters (D,  ) don’t change (assuming D>2)!

6 3-SAT For completeness we provide the definition of 3-SAT: Definition (3-SAT): Instance: a 3CNF formula. Problem: to decide if this formula is satisfiable. ( 1  2  3 ) ...  ( m/3-2  m/3-1  m/3 ) where each literal i  {x j,  x j } 1  j  n It is well known that 3-SAT is NP-Complete.

7 3-SAT is Reducible to Solvability Given an instance of 3-SAT, use the following transformation on each clause: Tr[ x i ] = 1 - x i Tr[  x i ] = x i Tr[ ( i  i+1  i+2 ) ] = Tr[ i ] * Tr[ i+1 ] * Tr[ i+2 ] The corresponding instance of Solvability is the set of all resulting polynomials. For the time being, assume the variables are only assigned {0,1}

8 3-SAT is Reducible to Solvability: Removing the Assumption In order to remove the assumption we need to add the equation x i * ( 1 - x i ) = 0 for every variable x i. This concludes the description of a reduction from 3SAT to Solvability[O(1),  ] for any field . What is the maximal dependency?

9 QS is NP-hard Proof: by the two above reductions.

10 Arithmization To translate 3-SAT to Solvability we used the idea of aritmization. The simple trick is widely used in PCP proofs, as well as in other fields.

11 Gap-QS Definition (Gap-QS[D, ,  ]): Instance: a set of n quadratic equations over  with at most D variables each. Problem: to distinguish between: There is a common solution No more than an  fraction of the equations can be satisfied simultaneously.

12 Reminder: L  PCP[D,V,  ] if there is an efficient algorithm, which for any input x, produces a set of efficient Boolean functions over variables of range 2 V, each depending on at most D variables. x  L iff there exits an assignment to the variables, which satisfies all the functions x  L iff no assignment can satisfy more than an  - fraction of the functions. Gap-QS and PCP Gap-QS[D, ,  ]  PCP[D,log|  |,  ] Gap-QS[D, ,  ] quadratic equations system For each quadratic polynomial p i (x 1,...,x D ), add the Boolean function  i (a 1,...,a D )  p i (a 1,...,a D )=0 the variables of the input system values in 

13 Proving PCP Characterizations of NP through Gap-QS Therefore, every language which is efficiently reducible to Gap- QS[D, ,  ] is also in PCP[D,log|  |,  ]. Thus, proving Gap-QS[D, ,  ] is NP- hard, also proves the PCP[D,log|  |,  ] characterization of NP. And indeed our goal henceforth will be proving Gap-QS[D, ,  ] is NP-hard for the best D,  and  we can.

14 Some Gap-QS is NP-hard Proof: by reduction from QS[O(1),  ]. Proof Idea: Observe an instance of QS[O(1),  ]: p 1 p 2 p 3...p n degree-2 polynomials ii any assignment there might be a lot of zeroes which induces a trans. E on the evaluations s.t.: 1) E(0 n )=0 m 2)  v  0 n,  (E(v),0 m ) is big. not many zeroes p 1 ’ p 2 ’ p 3 ’...p m ’ we need an efficient degree- preserving transformation on the polynomials

15 Multiplication by a Matrix Preserves the Degree p 1 p 2... p n c c 1m... c n1... c nm p c 1... c m pc 1... pc m  = scalars polynomials inner product a linear combination of polynomials poly-time, if m=n c

16 How Does a Multiplication Affect the Evaluations Vector? e 1 e 2... e n c c 1m... c n1... c nm  c 1... c m  c 1...  c m  = the values of the polynomials under some assignment the values of the new polynomials under the same assignment a zero vector if  =0 n

17 Suitable Matrices A matrix A nxm which satisfies for every v  u,  (vA,uA)  1-  is a linear code. Note, that this is completely equivalent to saying A nxm satisfies for every v  0 n,  (vA,0 m )  1- . That’s because  (vA,uA)=  ((v-u)A,0 m ).

18 What’s Ahead We proceed with several examples for linear codes: –Reed-Solomon code –Random matrix –And finally even a code which suits our needs... the “generic  - code” from the Encodings lecture.

19 Using Reed-Solomon Codes Define the matrix as follows: using multivariate polynomials we can even get  =O(logn/|  |) That’s really Lagrange’s formula in disguise... One can prove that for any 0  i  |  |-1, (vA) i is P(i), where P is the unique degree n-1 univariate polynomial, for which P(i)=v i for all 0  i  n-1. Therefore for any v the fraction of zeroes in vA is bounded by (n-1)/|  |.

20 A Random Matrix Should Do Lemma: A random matrix A  nxm satisfies w.h.p.  v  0 n  n, |{i : (vA) i = 0}| / m < 2|  | -1 Proof: Let v  0 n  n.  1  i  m Pr A  nxm [ (vA) i = 0 ] = |  | -1 The inner product of v and a random vector is random. for any 1  |  | -1  |{i : (vA) i = 0}| (denoted X v ) is a binomial r.v with parameters m and |  | -1. By the Chernoff bound, Pr[ X v  2m|  | -1 ]  2e -m/4|  |.

21 A Random Matrix Should Do That is, Pr[  v  0 n : X v /m  2|  | -1 ]  2|  | n e -m/4|  |. For m=O(n|  |log|  |), the claim holds.  Every v  0 n disqualifies at most 2e -m/4|  | of the matrices  nxm At most 2|  | n e -m/4|  | of the matrices are disqualified

22 Deterministic Construction p k-1 p 2k associate each row with 1  i  p k-1 Assume  =Z p. Let k=log p n+1. (Assume w.l.o.g k  N) Let Z p k be the dimension k extension field of . associate each column with a pair (x,y)  Z p k  Z p k

23 Analysis For any v  n, for any (x,y)  Z p k  Z p k, And thus the fraction of zeroes  The number of zeroes in vA where v  0 n  degree-p k-1 polynomial, denoted G(x) x,y: G(x)=0 x,y: G(x)  0  =0 +

24 Summary of the Reduction Given an instance {p 1,...,p n } for QS[O(1),  ], find a matrix A which satisfies  v  0  n |{i : (vA) i = 0}| /m < 2|  | -1 {p 1,...,p n }  QS[O(1),  ] iff {p 1 A,...,p n A}  Gap-QS[O(n), ,2|  | -1 ] !!

25 Hitting the Road This proves a PCP characterization with D=O(n) (hardly a “local” test...). Eventually we’ll prove a characterization with D=O(1) ([DFKRS]) using the results presented here as our starting point.