Skip to content
DAH

The PCP theorem and hardness of approximation

Probabilistically checkable proofs, label cover, long-code tests and Fourier analysis, the Unique Games Conjecture and the 2-to-2 theorem: the machinery behind optimal NP-hardness of approximation.

On this page16 sections
Why other work relies on it

The Unique Games Conjecture, NP-hardness of Vertex Cover beyond √2 without UGC, and the quantum PCP conjecture are all stated in this framework; every tight inapproximability ratio for a CSP is proved or conjectured with it.

A proof can be checked by peeking at a few random spots, so many problems are hard even to approximate.

  1. 1Hard problems resist exact solutions
  2. 2PCP: check proofs by few random peeks
  3. 3Errors in a PCP spread widely
  4. 4Even near-optimal answers are hard
  5. 5Games and codes find the exact limits

PCP verifiers. A probabilistically checkable proof system for a language LL has a randomized verifier. It reads the input, tosses some random coins, reads a few positions of a written proof, and accepts or rejects. If the input is in LL, some proof is accepted always (completeness). If not, every proof is accepted with probability at most 1/21/2 (soundness). The PCP theorem (Arora–Safra; Arora–Lund–Motwani–Sudan–Szegedy, 1990s) says every problem in NP has such a verifier using only logarithmically many random bits and reading a constant number of proof positions. In short: NP=PCP[O(log⁡n),O(1)]\mathsf{NP}=\mathsf{PCP}[O(\log n),O(1)].

The approximation view. Equivalent form: there is a constant ε0>0\varepsilon_0>0 such that it is NP-hard to tell whether a 3-CNF formula is fully satisfiable or every assignment violates at least an ε0\varepsilon_0 fraction of its clauses. This is a gap: the two cases are far apart. Any algorithm that approximates the maximum number of satisfiable clauses within a fine enough factor would tell the cases apart, so no such algorithm exists unless P equals NP. Gap-preserving reductions then carry the hardness to other problems.

How it is proved (Dinur's route). Start with a constraint graph with a tiny gap. Repeat for about log⁡n\log n rounds: make the graph an expander (well-connected), raise it to a constant power (which multiplies the fraction of violated constraints but enlarges the alphabet of allowed values), then shrink the alphabet back by composing with a small verifier. Each round amplifies the gap by a constant factor, and after enough rounds it is constant.

Tools for optimal results.

  • Label Cover is a two-prover game. Parallel repetition (Raz) shows that playing many copies at once drives the best winning chance down, so one can make the gap as extreme as wanted.
  • The long code encodes a value ii by the full truth table of the dictator function f(x)=xif(x)=x_i (the function that just reads coordinate ii), listed over all ±1\pm1 input strings xx. It is hugely redundant, which makes it easy to test. Tests on this code are analysed with Fourier analysis of Boolean functions. This led to Håstad's optimal results, for example that approximating Max-3-Lin (solving linear equations mod 2) better than random guessing is NP-hard.

Unique Games Conjecture (UGC). Khot's 2002 conjecture says a certain special Label Cover (where constraints are permutations) is hard to approximate. If true, it would show that simple algorithms (such as semidefinite programming) are best possible for a very broad family of problems. The 2-to-2 Games theorem (Khot–Minzer–Safra, with Dinur, Kindler and Safra) proves a weaker related statement, which gives NP-hardness of Vertex Cover within 2−ε\sqrt2-\varepsilon with no conjecture needed. An AI-generated manuscript released by OpenAI in October 2026 claims a full proof of UGC; it is unrefereed and no expert verification has been reported, so UGC is still treated as open.

The topic is a toolkit: verifier design, gap amplification, games, codes and Fourier analysis, all aimed at pinning down exactly how well hard problems can be approximated.

Go deeper

The full technical text.

What it is

A verifier VV with oracle access to a proof π\pi is a (r(n),q(n))(r(n),q(n))-PCP verifier for LL if it tosses r(n)r(n) random coins, reads q(n)q(n) positions of π\pi, accepts some π\pi with probability 1 when x∈Lx\in L (completeness), and accepts every π\pi with probability at most 1/21/2 when x∉Lx\notin L (soundness). The PCP theorem (Arora–Safra; Arora–Lund–Motwani–Sudan–Szegedy, J. ACM 1998) states NP=PCP[O(log⁡n),O(1)].\mathsf{NP}=\mathsf{PCP}[O(\log n),O(1)]. Equivalently, there is ε0>0\varepsilon_0>0 such that distinguishing satisfiable 3-CNFs from those in which every assignment violates an ε0\varepsilon_0 fraction of clauses is NP-hard: a gap version of 3SAT.

Core machinery

  • Dinur's proof (J. ACM 2007). Starting from a constraint graph with gap 1/poly(n)1/\mathrm{poly}(n), each round (i) makes the graph an expander, (ii) raises it to a constant power tt, multiplying the unsatisfied fraction by Ω(t)\Omega(\sqrt t) (while it is below 1/t1/t) at the cost of a larger alphabet, and (iii) reduces the alphabet by composing with an assignment tester. O(log⁡n)O(\log n) rounds give a constant gap with polynomial blow-up.
  • Label Cover and parallel repetition. Label Cover is a bipartite 2-prover game with projection constraints. Raz's parallel repetition theorem gives val(G⊗k)≤(1−εc)Ω(k/log⁡∣Σ∣)\mathrm{val}(G^{\otimes k})\le(1-\varepsilon^{c})^{\Omega(k/\log|\Sigma|)} when val(G)≤1−ε\mathrm{val}(G)\le 1-\varepsilon, so Label Cover with value 1 versus δ\delta is NP-hard for any constant δ\delta.
  • Long code and Fourier analysis. Each label is encoded by its dictator function f(x)=xif(x)=x_i on {−1,1}n\{-1,1\}^n. A test is analyzed by expanding f=∑Sf^(S)χSf=\sum_S\hat f(S)\chi_S; soundness reduces to showing that functions passing with high probability have a coordinate of large (low-degree) influence. Håstad (J. ACM 2001) used 3-bit linear tests to show, for every ε>0\varepsilon>0, that Max-3LIN is NP-hard to approximate within 1/2+ε1/2+\varepsilon and Max-3SAT within 7/8+ε7/8+\varepsilon, both optimal.

Unique games and SDPs

Khot (STOC 2002) conjectured that for every ε,δ>0\varepsilon,\delta>0 there is an alphabet size qq such that it is NP-hard to distinguish unique games (constraints are permutations) of value ≥1−ε\ge1-\varepsilon from value ≤δ\le\delta. Under UGC, Vertex Cover is hard within 2−ε2-\varepsilon (Khot–Regev) and the Goemans–Williamson constant αGW=min⁡θ2πθ1−cos⁡θ≈0.878\alpha_{GW}=\min_{\theta}\frac{2}{\pi}\frac{\theta}{1-\cos\theta}\approx0.878 is optimal for Max-Cut (Khot–Kindler–Mossel–O'Donnell), using the Majority-is-Stablest theorem: a balanced function with small influences has noise stability at most 1−2πarccos⁡ρ+o(1)1-\frac{2}{\pi}\arccos\rho+o(1). Raghavendra (STOC 2008) showed that under UGC, for every CSP, the integrality gap of a basic SDP equals the approximation threshold. Unconditionally, Dinur and Safra (Annals 2005) proved Vertex Cover hard within 1.361.36, and the 2-to-2 theorem of Khot, Minzer and Safra (ECCC 2018; Annals 2023), via expansion of pseudorandom sets in the Grassmann graph, gives NP-hardness of unique games with completeness 1/21/2 and of Vertex Cover within 2−ε\sqrt2-\varepsilon.

Techniques to master

Fourier analysis on the hypercube (Parseval, influences, noise operator TρT_\rho, hypercontractivity, the invariance principle); composition of PCPs and Label Cover reductions; dictatorship tests and their soundness analysis; SDP relaxations, rounding and integrality-gap instances; small-set expansion on Grassmann and Johnson graphs.

Standard references / Reading path

Arora–Barak (Chapters 11 and 22); O'Donnell, Analysis of Boolean Functions (CUP 2014, free online), Chapters 1–2, 7, 9 and 11; then Dinur's paper, Håstad's paper, Khot's 2002 paper and Raghavendra's paper. For the quantum version, the Aharonov–Arad–Vidick survey (2013).

Where it bites

The Unique Games Conjecture remains the central open problem. An AI-generated manuscript released by OpenAI on 6 October 2026 claims a proof; as of mid-October 2026 it is unrefereed and no expert verification of the full argument has been reported. Vertex Cover beyond √2: improving the unconditional factor without UGC needs reductions beyond the 2-to-2 theorem. The quantum PCP conjecture asks whether estimating the ground energy of a kk-local Hamiltonian to within a constant fraction of the number of terms is QMA-hard; NLTS (2022) is proved, but no quantum analogue of gap amplification is known.

Words on this page (12)
Words on this page
NP
Problems whose answers can be checked quickly once someone shows you a solution.
probabilistically checkable proof (PCP)
A proof written in a special form so a verifier can check it with high confidence by reading only a few random positions.
approximation algorithm
A fast method that does not find the best answer but guarantees one within a stated factor of the best.
hardness of approximation
A proof that even getting within some factor of the best answer is as hard as solving the problem exactly.
NP-hard
At least as hard as every problem in NP; a fast method would give a fast method for all of them.
3-CNF formula
A logical formula made of clauses, each an OR of three yes/no variables (or their negations), all of which must hold.
expander graph
A sparse graph that is nonetheless very well connected: information spreads quickly across it.
Fourier analysis of Boolean functions
Writing a function of yes/no inputs as a sum of simple parity patterns, to measure how much each input matters.
Unique Games Conjecture
A proposed hardness statement about a special game with permutation constraints; if true, it fixes the best approximations for many problems.
semidefinite programming
A powerful kind of optimisation, a generalisation of linear programming, often used to design approximation algorithms.
verifier
The checking procedure in a proof system: it reads the input and parts of the proof, then accepts or rejects.
completeness and soundness
Completeness: a true statement has a proof the verifier always accepts. Soundness: for a false statement every proof is rejected with good probability.
New to this? Read first (3)
New to this? Read first

Understanding map

map of the whole wiki →

What to read before The PCP theorem and hardness of approximation (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Oct 30, 2026
    Technical talk on the claimed proof announced
    Related to: Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabet

    Aaronson's blog announced a two-hour talk by Dana Moshkovitz at UT Austin on 4 November 2026 (with Zoom), after two whiteboard talks at the Simons Institute; she reportedly studied OpenAI's proof with Khot, Håstad, Minzer, other colleagues and an AI model, and the post says the write-up is not especially readable to human mathematicians. A talk announcement, not a verification.

    source
  2. Oct 6, 2026
    OpenAI releases a claimed proof of UGC
    Related to: Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabet

    OpenAI published an AI-generated manuscript (dated 23 September 2026) claiming a proof of the Unique Games Conjecture, with a Lean formalisation. Not independently verified as of 2026-10-15.

    source
  3. Sep 14, 2026
    4-to-1 games with perfect completeness
    Related to: Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabet

    Fei, Minzer and Wang posted ECCC TR26-179 (revised 8 October 2026); consequences include NP-hardness of k-colouring 3-colourable graphs for every constant k. Not yet refereed.

    source
  4. Jan 1, 2023
    Annals of Mathematics publication
    Related to: Vertex Cover: NP-hardness of approximation within a factor above √2, without the Unique Games Conjecture

    Full proof published in Annals of Mathematics 198(1) (year given as first of year).

    source
  5. Jan 10, 2018
    2-to-2 Games Theorem
    Related to: Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabet

    Khot, Minzer and Safra (ECCC TR18-006, building on work with Dinur and Kindler) completed the proof of the 2-to-2 Games Conjecture with imperfect completeness; published in Annals of Mathematics (2023).

    source
  6. Jan 10, 2018
    2-to-2 Games Theorem

    Khot, Minzer and Safra completed the proof of the 2-to-2 theorem with imperfect completeness (ECCC TR18-006; Annals of Mathematics 2023), giving √2−ε NP-hardness for Vertex Cover.

    source
  7. Jan 10, 2018
    2-to-2 Games theorem (imperfect completeness) proved
    Related to: Vertex Cover: NP-hardness of approximation within a factor above √2, without the Unique Games Conjecture

    The Grassmann-graph expansion result completes the proof, yielding unconditional NP-hardness of sqrt(2) for Vertex Cover.

    source
  8. Jan 1, 2016
    Candidate reduction to sqrt(2) hardness proposed
    Related to: Vertex Cover: NP-hardness of approximation within a factor above √2, without the Unique Games Conjecture

    Khot, Minzer and Safra propose a 3-Lin to 2-to-2 Games reduction conditional on a Grassmann hypothesis (preliminary version STOC 2017; year given as first of year).

    source
  9. Jun 1, 2007
    Combinatorial proof of the PCP theorem

    Dinur's gap-amplification proof replaced the algebraic machinery of the original proof (J. ACM, June 2007).

    source
  10. May 19, 2002
    Khot formulates the conjecture
    Related to: Unique Games Conjecture: NP-hardness of (1−ε) versus δ satisfiability for unique games at fixed alphabet

    Subhash Khot introduced the Unique Games Conjecture, together with the d-to-1 games conjectures, at STOC 2002.

    source
  11. May 19, 2002
    Unique Games Conjecture

    Khot formulated UGC and the d-to-1 conjectures at STOC 2002.

    source
  12. Jul 1, 2001
    Optimal inapproximability via long-code tests

    Håstad proved tight NP-hardness of Max-3LIN (1/2+ε) and Max-3SAT (7/8+ε) using 3-bit tests analyzed by Fourier methods.

    source
  13. May 1, 1998
    PCP theorem published

    Arora, Lund, Motwani, Sudan and Szegedy's proof that NP = PCP[O(log n), O(1)] appeared in J. ACM (conference version FOCS 1992).

    source