240 likes | 265 Views
PCP Characterization of NP: Proof chapter 1. PCP Proof Map. In previous lectures:. 3SAT. Clauses to polynomials. Solvability. Introducing new variables. QS. Error correcting codes. Gap-QS[O(n), ,2| | -1 ]. PCP Proof Map. Later:. Gap-QS[O(n), ,2| | -1 ]. Sum Check.
E N D
PCP Characterization of NP: Proof chapter 1
PCP Proof Map In previous lectures: 3SAT Clauses to polynomials Solvability Introducing new variables QS Error correcting codes Gap-QS[O(n),,2||-1]
PCP Proof Map Later: Gap-QS[O(n),,2||-1] Sum Check quadratic equations of constant size with consistency assumptions Gap-QScons[O(1),,2||-1] Consistent Reader conjunctions of constant number of quadratic equations, whose dependencies are constant. Gap-QS*[O(1),O(1),,||-] Error correcting codes Gap-QS[O(1),,2||-1]
In this Lecture The sum check lemma
Definitions Def: Given a finite field and a positive parameter d, we define the corresponding domain as Fi={ xk | kd }. The variables in the domain range over . Def: An assignment f:d to a domain is said to be feasible if it’s a degree-r polynomial. Def: An assignment f:d to a domain is said to be good if it’s a degree-s polynomial. (sr and d are some global constants.)
Definitions Def: (Gap-QScons[D,,]) Instance: A set of domains F1,...,Fk and n quadratic equations over . Each equation depends on at most D variables, some of them belong to certain domains. Problem: to distinguish between: There is a good assignment satisfying all the equations. No more than an fraction of the equations can be satisfied simultaneously by a feasible assignment. YES NO
Definitions equation Variables belong to certain domains. The promise is that the values to a domain’s variables form a low-degree polynomial x1 2 + 2 x2 + x3 + ... + 3 xn = 0 xn x1 x3 promise (0,0,1,1) (3,3,3,1) (1,0,1,2) domain
The Sum-Check Lemma Lemma (Sum-Check): Gap-QS[O(n),,2/||] is efficiently reducible to Gap-QScons[O(1),,2/||].
Overview We precede the proof by a general scheme: • Our starting point is the gap-QS instance, and we need to decrease (to constant) the number of variables each quadratic-polynomial depends on • We will add variables to those of the original gap-QS instance, to check consistency, and replace each polynomial with many new ones • The consistency will be checked later on in the proof (chapter 2) utilizing the efficient consistent-readers we have seen • Our test assumes the values for some preset sets of variables to correspond to the point-evaluation of a low-degree polynomial (an assumption to be removed by plugging in the consistent reader)
Representing a Quadratic-Polynomial Given a quadratic-polynomial P, over variables Yi, let us write the value of P in a certain point in the space as follows: A is an assignment to the variables ( (i,j) is the coefficient of the monomial yiyj) Let us convert the polynomial to linear form: let’s assume a set of variables yij, i,j [1..m],with the intention that A(yij) = A(yi) · A(yj), and the special case where A(yii) = A(yi)which lets us write:
For a value in xHdwithout a source define: Representing a Quadratic-Polynomial Next, we associate each variable yij with some point xHd. Define the following one-to-one function: Notice that: As a consequence we can define:
Representing a Quadratic-Polynomial Using the new definitions we can write: Where , A are functions:
Low Degree Extension (LDE) Def: (low degree extension): Let : Hd H be a string (where H is some finite field). Given a finite field F, which is a superset of H, we define a low degree extension of to F as a polynomial LDE : Fd F which satisfies: • LDE agrees with on Hd(extension). • The degree-bound of LDEis |H| in each variable (low degree).
Using the LDE Let ƒ be alow-degree-extension of · A: Notice that f is define by all · A
Using the LDE We therefore can write: Notice that LDE of both and A is of degree |H|-1 in each variable, hence of total degree r = d(|H|-1), which makes ƒ of total degree 2r.
What’s ahead We show next a test that uses a small number of variables: For any assignment for which some variables corresponds to a function ƒ of degree 2r, the test verifies the sum of values of ƒ over Hd equals a given value. Each local-test accesses much smaller number than |Hd| of representation variables. Later on we will replace the assumption that ƒ is a low-degree-function by evaluating that single point accessed with an efficient consistent-reader for ƒ
Partial Sums For any j[0..d] define: That is, Sumƒ is the function that does not vary on the first j variables, and sums over all points for which the rest of the variables are all in H Proposition:Sumƒ is of degree 2rd Proof: Immediate since ƒ is of degree 2r and Sumƒ is the linear combination of d degree-r functions
Partial Sums Proposition:For every a1, .., ad and any j[0..d] : Proof: Homework...
The Sum-Check Test Now we can assume Sumƒ to be of degree 2r (this is the consistency assumption – to be verified later on with a consistent reader) and verify property 2, namely that for j=0, Sumƒ gives the appropriate sum of values of ƒ: Representation:One variable [j , a1, .., ad ]for everya1, .., ad and j[0..d]Supposedly assigned Sumƒ (j, a1, .., ad )(hence ranging over ) Test:One local-test for every a1, .., ad ;one which accepts an assignment A if for every j[0..d]:A([j,a1,..,ad]) = iH A([j+1,a1,..,aj,i,aj+2,..,ad])
The Sum-Check Test Analysis Define the following function using the Sumƒ function defined previously, for a certain (a1, .., ad): Using this notation, the sum-check test is to verify that for a certain (a1, .., ad): Define now a new function:
The Sum-Check Test Analysis Claim: If for a certain (a1, .., ad): Then for a random uniform(i1, .., id): Proof: Homework… Hence, the sum-check test is w.h.p a suitable replacement for the original local test and relies on less variables.
The Sum-Check Test Analysis • The above test already reduces the number of variables each local test accesses from O(Hd) to O(d |H|). • However, we have introduces a consistency assumption (that the functions f are low degree) • We shall now reduce the number of variables accessed to a constant O(1) (and strengthen the consistency assumption on the way) using the exact same method.
The Sum-Check Test made linear Recall out goal was to verify that for a certain (a1, .., ad): Now we can apply the Hadamard code on and obtain all linear combinations: (the number of combinations is: Fd) The new test is to pick randomly three combinations and verify linearity:
The Sum-Check Test made linear Completeness: if the sum check test is positive, then all of the delta are zero, and the linear test succeeds with probability 1. On the other hand, if the sum check test fails then as we saw: And the test fails with high probability. Notice that the number of variables per local test was reduced to 3 !