Advanced Topic 50 of 51 Theory & Discrete Math
PCP Theorem
Characterization of NP by probabilistically checkable proofs.
How it works
The PCP theorem, probabilistically checkable proofs, states that every NP statement has a proof that can be verified by reading only a constant number of bits chosen at random, with high confidence: valid proofs are always accepted, and invalid statements are rejected with probability at least one half for any proof. NP equals PCP with logarithmic randomness and constant queries. The proof is deep, combining algebraic coding, low-degree testing and composition of verifiers.
Step-by-step walkthrough
- Every NP proof can be rewritten in a special robust format.
- A verifier reads only a constant number of random bits of it.
- It still detects false claims with high probability.
- The theorem is the basis for hardness of approximation.
- It shows proofs can be checked by sampling.
Where it is used
Its main consequence is hardness of approximation: it implies that many optimization problems, such as MAX-3SAT and clique, cannot be approximated beyond certain ratios unless P equals NP. It also inspired succinct proof systems used in cryptography.
Common pitfall
The theorem is nonconstructive in practical terms; the proofs are huge and encoding is heavy. Misreading it as saying proofs can be checked by reading almost nothing in the real world ignores the encoding step. Understanding requires background in coding theory. Use it mostly through its inapproximability consequences and gap-preserving reductions.
Where it fits in the course
PCP Theorem is topic 50 of 51 in Theory & Discrete Math, rated Advanced. It follows Interactive Proofs. The next topic is Category Theory for Programmers.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Theory & Discrete Math quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Theory & Discrete Math quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is PCP Theorem?
Where do people use PCP Theorem?
What is the most common mistake with PCP Theorem?
What should I learn before this topic?
How can I practice it?
Is PCP Theorem hard to learn?
How long does it take to learn PCP Theorem?
Which topics are related to PCP Theorem?
What should I study after PCP Theorem?
Related topics
- Interactive Proofs (Theory & Discrete Math)
- Category Theory for Programmers (Theory & Discrete Math)
- Communication Complexity (Theory & Discrete Math)
- Kolmogorov Complexity (Theory & Discrete Math)
- Bayes' Theorem (Math for Computing)
- Master Theorem (Algorithms)
- Central Limit Theorem (Math for Computing)