PCP and Hardness of Approximation Aman Bansal Adwait Godbole - - PowerPoint PPT Presentation

pcp and hardness of approximation
SMART_READER_LITE
LIVE PREVIEW

PCP and Hardness of Approximation Aman Bansal Adwait Godbole - - PowerPoint PPT Presentation

PCP and Hardness of Approximation Aman Bansal Adwait Godbole October 2019 Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 1 / 37 Trajectory Relaxations of Hard Problems 1 Approximate Problems Gap Problem


slide-1
SLIDE 1

PCP and Hardness of Approximation

Aman Bansal Adwait Godbole October 2019

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 1 / 37

slide-2
SLIDE 2

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 2 / 37

slide-3
SLIDE 3

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 3 / 37

slide-4
SLIDE 4

Approximate Problems

Given an instance x ∈ X of an NP-hard optimization problem with

  • bjective function Obj : Y → R (which is to be maximized1), a solution y

is said to be an α-approximate (for α ≤ 1) solution to the instance if α · Obj(y∗) ≤ Obj(y) ≤ Obj(y∗) where y∗ is the true (not approximated) solution to the problem instance.

1If the problem is a minimization problem then we have a slightly different definition Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 4 / 37

slide-5
SLIDE 5

Approximate Problems

α-approximate algorithms

An algorithm A is an α-approximate algorithm if for all x in the instance space X, it returns an α-approximate solution y.

α-approximate problems

Problems that render (poly-time) α-approximate algorithms are called α-approximate problems.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 5 / 37

slide-6
SLIDE 6

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 6 / 37

slide-7
SLIDE 7

Promise Problem

A promise problem Π is specified by a pair of sets (YES, NO) such that YES, NO ⊆ X and YES ∩ NO = Φ. Any algorithm A solving Π, on input x, should output ‘yes’ if x ∈ YES, ‘no’ if x ∈ NO and any output if x is a don’t care instance Recollect the PromiseΠ problem from the midsem.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 7 / 37

slide-8
SLIDE 8

Gap Problems

A gap problem is a promise problem parametrized by α (< 1). Let P be an NP-hard optimization problem with objective function Obj : Y → R (which is to be maximized), the corresponding gap problem gapα-P is a promise problem with (YES, NO) sets as given below: YES = {x, k | ∃y ∈ Y such that Obj(y) ≥ k} NO = {x, k | ∀y ∈ Y, Obj(y) < αk} Intuitively, the ‘gap’ refers to the interval (αk, k).

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 8 / 37

slide-9
SLIDE 9

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 9 / 37

slide-10
SLIDE 10

Intuition

Intuitively, it seems that approximate problems and gap problems are similar. α-approximation is a relaxed variant of a search problem gapα is a relaxed variant of a decision problem Indeed, this notion can be formalized.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 10 / 37

slide-11
SLIDE 11

α-approximate → gapα

Connnection between α-approximation and gapα

For any problem P and 0 < α < 1, α-approximating P is at least as hard as solving gapα-P. Proof: Let A be an α-approximate algorithm for P. The following algorithm solves gapα-P: On input (φ, k):

  • 1. Let k′ = A(φ)
  • 2. Accept iff k′ ≥ αk

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 11 / 37

slide-12
SLIDE 12

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 12 / 37

slide-13
SLIDE 13

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 13 / 37

slide-14
SLIDE 14

Probabilistically Checkable Proof System

(r, q, m, t)-restricted Verifier

Let r, q, m, t : N → N. A language L ∈ PCPc,s[r, q, m, t] if L has an (r, q, m, t) restricted verifier V such that ∀x ∈ L, ∃π of size at most m(|x|), PrR[V π[x; R] = acc] ≥ c(|x|) ∀x / ∈ L, ∀π of size at most m(|x|), PrR[V π[x; R] = acc] < s(|x|) Resource bounds

  • 1. r(|x|) is a bound on randomness used by V
  • 2. q(|x|) is a bound on the number of locations queried by V
  • 3. m(|x|) is a bound the length of the proof to which V has oracle access
  • 4. t(|x|) is a bound on the runtime of V

Completeness and Soundness constraints c(|x|) and s(|x|) are the completeness and soundness specifications

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 14 / 37

slide-15
SLIDE 15

Remarks

The verifier could be adaptive or non-adaptive If the verifier is non-adaptive then m(n) ≤ q(n) · 2r(n) q(n) ≤ t(n) PCPc,s[r, q] ⊆ NTIME(q(n) · 2r(n)) NP = PCP1,0[0, poly(n)] BPP = PCP 2

3 , 1 3 [poly(n), 0] Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 15 / 37

slide-16
SLIDE 16

PCP Theorem

PCP Theorem

NP = PCP1, 1

2 [log(n), 1] Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 16 / 37

slide-17
SLIDE 17

PCP Theorem

PCP Theorem

NP = PCP1, 1

2 [log(n), 1]

We will today present a weaker version of the PCP theorem.

PCP Theorem [Weaker]

NP = PCP1, 1

2 [poly(n), 1] Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 16 / 37

slide-18
SLIDE 18

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 17 / 37

slide-19
SLIDE 19

Subset XOR

Consider the function fu(x) = x ⊙ u. Here for x, y ∈ {0, 1}n, x ⊙ y =

i xiyi (mod 2).

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 18 / 37

slide-20
SLIDE 20

Subset XOR

Consider the function fu(x) = x ⊙ u. Here for x, y ∈ {0, 1}n, x ⊙ y =

i xiyi (mod 2).

Note that fu is equivalent to choosing a subset (given by u) of ele- ments from [n] and evaluating parity over this subset.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 18 / 37

slide-21
SLIDE 21

Subset XOR

Consider the function fu(x) = x ⊙ u. Here for x, y ∈ {0, 1}n, x ⊙ y =

i xiyi (mod 2).

Note that fu is equivalent to choosing a subset (given by u) of ele- ments from [n] and evaluating parity over this subset.

Random Subsum Principle

For x, y ∈ {0, 1}n with y = 0n, Prx∈{0,1}n[x ⊙ y = 1] = 1

2

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 18 / 37

slide-22
SLIDE 22

Walsh-Hadamard Code

Main Idea: Bit strings u ∈ {0, 1}n are encoded as the truth table of a linear function over F2

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 19 / 37

slide-23
SLIDE 23

Walsh-Hadamard Code

Main Idea: Bit strings u ∈ {0, 1}n are encoded as the truth table of a linear function over F2

WH encoding

For an n-bit string u ∈ {0, 1}n, WH(u) is the 2n bit string representing the truth table of the function f (x) = x ⊙ u for x ∈ {0, 1}n.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 19 / 37

slide-24
SLIDE 24

Walsh-Hadamard Code

Main Idea: Bit strings u ∈ {0, 1}n are encoded as the truth table of a linear function over F2

WH encoding

For an n-bit string u ∈ {0, 1}n, WH(u) is the 2n bit string representing the truth table of the function f (x) = x ⊙ u for x ∈ {0, 1}n.

Walsh-Hadamard codeword

f ∈ {0, 1}2n such that f = WH(u) for some u ∈ {0, 1}n.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 19 / 37

slide-25
SLIDE 25

Properties of WH

EC Error correcting with minimum distance 1

2.

This means that for x, y ∈R {0, 1}n with x = y, WH(x) and WH(y) differ in 1/2 the bits.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 20 / 37

slide-26
SLIDE 26

Properties of WH

EC Error correcting with minimum distance 1

2.

This means that for x, y ∈R {0, 1}n with x = y, WH(x) and WH(y) differ in 1/2 the bits. LIN Linearity of WH(u) f = WH(u) when viewed as a function from {0, 1}n to {0, 1} is in fact linear (over F2)

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 20 / 37

slide-27
SLIDE 27

Properties of WH

EC Error correcting with minimum distance 1

2.

This means that for x, y ∈R {0, 1}n with x = y, WH(x) and WH(y) differ in 1/2 the bits. LIN Linearity of WH(u) f = WH(u) when viewed as a function from {0, 1}n to {0, 1} is in fact linear (over F2) LT Locally Testable Given access to a function f : {0, 1}n → {0, 1}, we can check whether it is a Walsh-Hadamard code-word by querying a constant number of places.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 20 / 37

slide-28
SLIDE 28

Properties of WH

EC Error correcting with minimum distance 1

2.

This means that for x, y ∈R {0, 1}n with x = y, WH(x) and WH(y) differ in 1/2 the bits. LIN Linearity of WH(u) f = WH(u) when viewed as a function from {0, 1}n to {0, 1} is in fact linear (over F2) LT Locally Testable Given access to a function f : {0, 1}n → {0, 1}, we can check whether it is a Walsh-Hadamard code-word by querying a constant number of places. LD Locally Decodable Given f and an x ∈ {0, 1}n, we can find ˜ f (x) in constant queries to f , where ˜ f is the true codeword.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 20 / 37

slide-29
SLIDE 29

LT: Local Testability

LIN: WH(u) for u ∈ {0, 1}n captures all n-bit linear functions on F2.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 21 / 37

slide-30
SLIDE 30

LT: Local Testability

LIN: WH(u) for u ∈ {0, 1}n captures all n-bit linear functions on F2.

ρ-closeness of functions

Functions f , g are ρ-close if Prx∈R{0,1}n[f (x) = g(x)] ≥ ρ. A function f is ρ-close to a linear function if there exists a linear function g such that f and g are ρ-close

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 21 / 37

slide-31
SLIDE 31

LT: Local Testability

LIN: WH(u) for u ∈ {0, 1}n captures all n-bit linear functions on F2.

ρ-closeness of functions

Functions f , g are ρ-close if Prx∈R{0,1}n[f (x) = g(x)] ≥ ρ. A function f is ρ-close to a linear function if there exists a linear function g such that f and g are ρ-close Let f be such that Prx,y∈R{0,1}n[f (x + y) = f (x) + f (y)] ≥ ρ for some ρ > 1

  • 2. Then f is ρ-close to a linear function.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 21 / 37

slide-32
SLIDE 32

LD: Local Decodability

EC: For x = y, WH(x) and WH(y) differ in 1/2 the bits

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 22 / 37

slide-33
SLIDE 33

LD: Local Decodability

EC: For x = y, WH(x) and WH(y) differ in 1/2 the bits Let f be (1 − δ)-close to a linear function ˜ f for some δ < 1/4. Then by EC, f uniquely determines ˜ f .

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 22 / 37

slide-34
SLIDE 34

LD: Local Decodability

EC: For x = y, WH(x) and WH(y) differ in 1/2 the bits Let f be (1 − δ)-close to a linear function ˜ f for some δ < 1/4. Then by EC, f uniquely determines ˜ f . So, given a (possibly illegal) f , having a corresponding ˜ f , we want to find ˜ f (x). Here we have oracle access only to f . The idea is to once again use randomness.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 22 / 37

slide-35
SLIDE 35

LD: Local Decodability

Objective: With oracle access only to f , given an x ∈ {0, 1}n, find ˜ f (x). The idea is to use randomness and linearity.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 23 / 37

slide-36
SLIDE 36

LD: Local Decodability

Objective: With oracle access only to f , given an x ∈ {0, 1}n, find ˜ f (x). The idea is to use randomness and linearity. Choose x′ ∈R {0, 1}n Set x′′ ← x + x′ Let y′ = f (x′) and y′′ = f (x′′) Output y′ + y′′

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 23 / 37

slide-37
SLIDE 37

LD: Local Decodability

Objective: With oracle access only to f , given an x ∈ {0, 1}n, find ˜ f (x). The idea is to use randomness and linearity. Choose x′ ∈R {0, 1}n Set x′′ ← x + x′ Let y′ = f (x′) and y′′ = f (x′′) Output y′ + y′′ With probability atleast 1 − 2δ we have y′ = f (x′) and y′′ = f (x′′) and hence ˜ f (x) = y′ + y′′.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 23 / 37

slide-38
SLIDE 38

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 24 / 37

slide-39
SLIDE 39

Proof of the PCP Theorem [Weaker]

PCP Theorem [Weaker]

NP = PCP1, 1

2 [poly(n), 1] Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 25 / 37

slide-40
SLIDE 40

Proof of the PCP Theorem [Weaker]

PCP Theorem [Weaker]

NP = PCP1, 1

2 [poly(n), 1]

We show that QUADEQ - the satisfiability problem for quadratic equations over F2 - has a PCP[poly(n), 1] proof system

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 25 / 37

slide-41
SLIDE 41

Proof of the PCP Theorem [Weaker]

PCP Theorem [Weaker]

NP = PCP1, 1

2 [poly(n), 1]

We show that QUADEQ - the satisfiability problem for quadratic equations over F2 - has a PCP[poly(n), 1] proof system QUADEQ over variables u1, u2, · · · , un is is of the form AU = b, where A is an m × n2 matrix and b ∈ {0, 1}m. U = u ⊗ u is the tensor product (or the Hadamard product).

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 25 / 37

slide-42
SLIDE 42

Proof of the PCP Theorem [Weaker]

PCP Theorem [Weaker]

NP = PCP1, 1

2 [poly(n), 1]

We show that QUADEQ - the satisfiability problem for quadratic equations over F2 - has a PCP[poly(n), 1] proof system QUADEQ over variables u1, u2, · · · , un is is of the form AU = b, where A is an m × n2 matrix and b ∈ {0, 1}m. U = u ⊗ u is the tensor product (or the Hadamard product).

Claim

QUADEQ, the language of all satisfiable instances is NP-complete

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 25 / 37

slide-43
SLIDE 43

π and V

What is the proof π and what does the verifier V do?

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 26 / 37

slide-44
SLIDE 44

π and V

What is the proof π and what does the verifier V do? π The proof is WH(u), WH(u ⊗ u)

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 26 / 37

slide-45
SLIDE 45

π and V

What is the proof π and what does the verifier V do? π The proof is WH(u), WH(u ⊗ u) V Denote the proof by f = WH(u) and g = WH(u ⊗ u). The verifier does the following 1) Check linearity of f and g 2) Verify that g encodes u ⊗ u 3) Verify that f encodes a satisfying assignment

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 26 / 37

slide-46
SLIDE 46

Check linearity of f and g

Note that f = WH(u) and g = WH(u ⊗ u)

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 27 / 37

slide-47
SLIDE 47

Check linearity of f and g

Note that f = WH(u) and g = WH(u ⊗ u) V performs a 0.99-close (high-probability) linearity test on both f and g. This is done by the LT property described earlier.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 27 / 37

slide-48
SLIDE 48

Check linearity of f and g

Note that f = WH(u) and g = WH(u ⊗ u) V performs a 0.99-close (high-probability) linearity test on both f and g. This is done by the LT property described earlier. Note crucially that a high but nevertheless constant closeness suffices. This is since we eventually plan to query π at only a small constant number of points.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 27 / 37

slide-49
SLIDE 49

Verify that g encodes u ⊗ u

V chooses r, r′ independently at random from {0, 1}n and assert that f (r)f (r′) = g(r ⊗ r′).

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 28 / 37

slide-50
SLIDE 50

Verify that g encodes u ⊗ u

V chooses r, r′ independently at random from {0, 1}n and assert that f (r)f (r′) = g(r ⊗ r′). Let W be an n × n matrix representing the entries of w and U be such a matrix for u ⊗ u. Then

  • 1. g(r ⊕ r′) = w ⊙ (r ⊗ r′) = rW r′
  • 2. f (r)f (r′) = (u ⊙ r)(u ⊙ r′) = rUr′

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 28 / 37

slide-51
SLIDE 51

Verify that g encodes u ⊗ u

V chooses r, r′ independently at random from {0, 1}n and assert that f (r)f (r′) = g(r ⊗ r′). Let W be an n × n matrix representing the entries of w and U be such a matrix for u ⊗ u. Then

  • 1. g(r ⊕ r′) = w ⊙ (r ⊗ r′) = rW r′
  • 2. f (r)f (r′) = (u ⊙ r)(u ⊙ r′) = rUr′

By the random subsum principle, we claim this test rejects atleast 1/4 of the time on instances where w = u ⊗ u. Repeating this 3 times, we get probability of rejection as 37/64.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 28 / 37

slide-52
SLIDE 52

Verify that f encodes a satisfying assignment

Now we are assured that the form of π is WH(u), WH(u ⊗ u) for some u ∈ {0, 1}n.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 29 / 37

slide-53
SLIDE 53

Verify that f encodes a satisfying assignment

Now we are assured that the form of π is WH(u), WH(u ⊗ u) for some u ∈ {0, 1}n. 1 All that remains is to check that u is a satisfying assignment 2 Wonderfully, we also have O(1) access to Ai · (u ⊗ u), the value of the ith equation in the QUADEQ instance and can match it with bi.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 29 / 37

slide-54
SLIDE 54

Verify that f encodes a satisfying assignment

Now we are assured that the form of π is WH(u), WH(u ⊗ u) for some u ∈ {0, 1}n. 1 All that remains is to check that u is a satisfying assignment 2 Wonderfully, we also have O(1) access to Ai · (u ⊗ u), the value of the ith equation in the QUADEQ instance and can match it with bi. But but but ... how do we check all the m equations of the QUADEQ instance in constant number of queries?

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 29 / 37

slide-55
SLIDE 55

Verify that f encodes a satisfying assignment

Now we are assured that the form of π is WH(u), WH(u ⊗ u) for some u ∈ {0, 1}n. 1 All that remains is to check that u is a satisfying assignment 2 Wonderfully, we also have O(1) access to Ai · (u ⊗ u), the value of the ith equation in the QUADEQ instance and can match it with bi. But but but ... how do we check all the m equations of the QUADEQ instance in constant number of queries? Use the random subsum principle AGAIN! Choose a subset of equations randomly from [k] and add them together to create a new quadratic

  • equation. If u did not satisfy even one equation of the original system, it

will not satisfy the new equation with probability at least 1/2.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 29 / 37

slide-56
SLIDE 56

QED

With this, we have proved that NP ⊆ PCP[poly(n), 1]. The other direction is trivial. The stronger theorem makes further observations regarding the form of the proof π given here. Then it uses further results such as gap amplification and alphabet reduction to prove the general statement NP = PCP(log(n), 1).

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 30 / 37

slide-57
SLIDE 57

Trajectory

1

Relaxations of Hard Problems Approximate Problems Gap Problem Connection between Approximation and Gap

2

A New Proof System Probabilistically Checkable Proof Systems Some Preliminaries Proof of the PCP Theorem

3

Hardness of Approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 31 / 37

slide-58
SLIDE 58

Hardness of Approximation

A Sad Result

gapα-MAX3SAT is NP-hard Just as SAT captured the essence of hardness of exact solution, gapα- MAX3SAT, or it’s more general formulation, qCSP, captures the es- sence of hardness of approximation

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 32 / 37

slide-59
SLIDE 59

Hardness of Approximation

Proof Method

PCP Theorem = ⇒ gapα-MAX3SAT is NP-hard Proof: Consider any L ∈ PCP1, 1

2 [c · log(n), Q]. The idea is to encode the

Verifier’s possible actions by a Boolean formula Ψ. Ψ =

  • coins R

hR But hr is an arbitrary predicate over Q variables.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 33 / 37

slide-60
SLIDE 60

Hardness of Approximation

Fact

∀q, ∃l(q), k(q) such that any q-ary Boolean function h can be encoded by a 3-CNF formula ψh with k(q) clauses over q + l(q) variables x1, . . . , xq, z1, . . . , zl(q) such that h(x) = 1 = ⇒ ∃z, ψh(x, z) = 1 h(x) = 0 = ⇒ ∀z, ψh(x, z) = 0

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 34 / 37

slide-61
SLIDE 61

Hardness of Approximation

Ψ =

  • coins R

ψhR

  • 1. If x ∈ L then ∃ proof π such that ∀R, hR(π) = 1
  • 2. If x /

∈ L then at least 1

2 choices of R accept make hR(π) = 0. If the

total number of clauses are M ( = 2Rk(q)) then maximum fraction of clauses that can be satisfied is (1 − 1

k ).

This proves that PCP-theorem leads to the hardness of gapα-MAX3SAT which in turn as presented earlier leads to NP-hardness of α-approximating MAX3SAT.

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 35 / 37

slide-62
SLIDE 62

References

1 Arora, Sanjeev, and Boaz Barak. Computational complexity: a modern approach. Cambridge University Press, 2009. 2 Limits of approximation algorithms : PCPs and Unique Games - Spring Semester (2009-10) at TIFR, IMSc http://www.tcs.tifr.res.in/ prahladh/teaching/2009-10/limits/

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 36 / 37

slide-63
SLIDE 63

Shukria

Aman Bansal Adwait Godbole PCP and Hardness of Approximation October 2019 37 / 37