probabilistically checkable proofs madhu sudan mit csail 09/23/20091probabilistic checking of proofs...

24
Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/2009 1 Probabilistic Checking of Proofs

Upload: whitney-stevenson

Post on 17-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

1

Probabilistically Checkable Proofs

Madhu Sudan MIT CSAIL

09/23/2009 Probabilistic Checking of Proofs

Page 2: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 2

Can Proofs Be Checked Efficiently?

The Riemann Hypothesis is true (12th Revision)

By

Ayror Sappen

# Pages to follow: 15783

09/23/2009

Page 3: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 3

Proofs and Theorems

Conventional belief: Proofs need to be read carefully to be verified.

Modern constraint: Don’t have the time (to do anything, leave alone) read proofs.

This talk: New format for writing proofs. Efficiently verifiable probabilistically, with small

error probability. Not much longer than conventional proofs.

09/23/2009

Page 4: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 4

Outline of talk

Quick primer on the Computational perspective on theorems and proofs (proofs can look very different than you’d think).

Definition of Probabilistically Checkable Proofs (PCPs).

Some overview of “ancient” (15 year old) and “modern” (3 year old) PCP constructions.

09/23/2009

Page 5: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 5

Theorems: Deep and Shallow

A Deep Theorem:

Proof: (too long to fit in this section).

A Shallow Theorem: The number 3190966795047991905432 has a

divisor between 25800000000 and 25900000000.

Proof: 25846840632.

8 n ¸ 3, xn + yn zn

09/23/2009

Page 6: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 6

Computational Perspective

Theory of NP-completeness: Every (deep) theorem reduces to shallow one.

Given theorem T and bound n on length of proof, there exist integers A,B,C between 0 and 2nO(1) such that A has a divisor between B and C iff T has a proof of length n.

Shallow theorem easy to compute from deep. A,B,C computable from T in time poly(n).

Shallow proofs are not much longer.

09/23/2009

[Kilian]

Page 7: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 7

P & NP

P = Easy Computational Problems Solvable in polynomial time (E.g., Verifying correctness of proofs)

NP = Problems whose solution is easy to verify (E.g., Finding proofs of mathematical theorems)

NP-Complete = Hardest problems in NP

Is P = NP? Is finding a solution as easy as specifying its properties? Can we replace every mathematician by a computer? Wishing = Working!

09/23/2009

Page 8: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs

8

More Broadly: New formats for proofs

New format for proof of T: Divisor D (A,B,C don’t have to be specified since they are known to (computable by) verifier.)

Theory of Computation replete with examples of such “alternate” lifestyles for mathematicians (formats for proofs).

Equivalence: (1) new theorem can be computed from old one efficiently, and (2) new proof is not much longer than old one.

Question: Why seek new formats? What benefits can they offer?

Can they help ?

09/23/2009

Page 9: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 9

Probabilistically Checkable Proofs

How do we formalize “formats”?

Answer: Formalize the Verifier instead. “Format” now corresponds to whatever the verifier accepts.

Will define PCP verifier (probabilistic, errs with small probability, reads few bits of proof) next.

09/23/2009

Page 10: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 10

V

0 1 0

T

P

PCP Verifier

1. Reads Theorem

2. Tosses coins

3. Reads few bits of proof

4. Accepts/Rejects.

010010100101010101010

HTHTTH

09/23/2009

T invalid ) 8 P, V accepts w.p. · 1/2

T valid ) 9 P s.t. V accepts w.p. 1

Page 11: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 11

Features of interest

Number of bits of proof queried must be small (constant?). Length of PCP proof must be small (linear?, quadratic?)

compared to conventional proofs.

Optionally: Classical proof can be converted to PCP proof efficiently. (Rarely required in Logic.)

Do such verifiers exist?

PCP Theorem [Arora, Lund, Motwani, S., Szegedy, 1992]: They do; with constant queries and polynomial PCP length.

[2006] – New construction due to Dinur.

09/23/2009

Page 12: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 12

Part II – Ingredients of PCPs

09/23/2009

Page 13: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 13

Essential Ingredients of PCPs

Locality of error: If theorem is wrong (and so “proof” has an error),

then error in proof can be pinpointed locally (found by verifier that reads only few bits of proof).

Abundance of error: Errors in proof are abundant (easily seen in

random probes of proof).

How do we construct a proof system with these features?

09/23/2009

Page 14: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 14

3-Coloring

gd

e f

cba

Locality: From NP-completeness

Color vertices s.t. endpoints of edge havedifferent colors.

is NP-complete:

T P

a c db e f g

09/23/2009

Page 15: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 15

To verify

Verifier constructs

Expects as proof.

To verify: Picks an edge and verifies endpoints distinctly colored.

Error: Monochromatic edge = 2 pieces of proof. Local! But errors not frequent.

3-Coloring Verifier:

T

09/23/2009

Page 16: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 16

Amplifying Error: Algebraic Approach

Graph = E: V £ V {0,1} Place V in finite field F (V µ F) Extend E to a polynomial E(x,y)

E: F £ F F E|V £ V = E

Coloring = Â: V {0,1,2} Extend to Â: F F 3-colors: 8 x 2 V, Â(x)¢ (Â(x)-1)¢ (Â(x)-2) = 0 Validity: 8 x,y 2 V,

E(x,y) ¢ j 2 {-2,-1,1,2} (Â(x)-Â(y)-j) = 0

09/23/2009

Page 17: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

17

Algebraic theorems and proofs

Algebraic Theorems: For V µ F, operators A, B, C; deg. bound d, 9 Â of degree d s.t. A(Â), B(Â), C(Â) zero on V. Algebraic Proofs:

Evaluations of Â, A(Â), B(Â), C(Â). Additional stuff, e.g., to prove zero on V

Verification? Low-degree testing (Verify degrees)

~ “Discrete rigidity phenomena”? Test consistency

~ Error-correcting codes!

09/23/2009 Probabilistic Checking of Proofs

E

Page 18: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

18

Some details

E.g. to show  ¢ ( – 1) ¢ ( – 2) = 0 on V.

09/23/2009 Probabilistic Checking of Proofs

Â

¡ = Â(Â ¡ 1)(Â ¡ 2)

¢ (x) = ¡ (x)=Q

u2V (x ¡ u)

Polynomial i®¡ zero on V

Checks: Verify degree of Â, ¡, ¢

Consistency of Â, ¡, ¢

Page 19: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 19

More details

Extends also to bivariate polynomials (E(x,y))

Immediately yields PCP with O(log n) queries, where n is (classical) proof size.

But leads to improvement by “composition”: Verifier’s task has reduced in complexity from

verifying statements of length n, to verifying statements of length log n.

Recurse. (includes some cheating)

09/23/2009

Page 20: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 20

Amplifying Error: Graphically

Dinur Transformation: There exists a linear-time algorithm A:

A(G) 3-colorable if G is 3-colorable. Fraction of monochromatic edges in A(G) (in

any coloring) is twice (minimum) fraction in G(unless fraction in G is ¸ ²0)

A

09/23/2009

Page 21: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 21

Graphical amplification

Series of applications of A: Increases error to absolute constant Yield PCP

Achieve A in two steps: Step 1: Increase error-detection prob. By

converting to (generalized) K-coloring Random walks, expanders, spectral analysis

of graphs. Step 2: Convert K-coloring back to 3-coloring,

losing only a small constant in error-detection. Testing (~ “Discrete rigidity phenomenon” again)

09/23/2009

Page 22: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 22

Step 2: (same as in earlier PCPs)

Step 1: 3-coloring ! K-coloring

coloring Â(u) ¥(U) = {Âu(N(u))}!

u~vedges U~X (if u~v~w~x)!vertices u U (= u [ N(u))!

Some details

09/23/2009

constraints Â(u) Â(v) If u~v~w~x then

Âu(v) Âx(w)

!

G A(G)!

Page 23: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 23

Conclusion Proof verification by rapid checks is possible.

Does not imply math. journals will change requirements! But not because it is not possible! Logic is not inherently fragile!

PCPs build on and lead to rich mathematical techniques.

Huge implications to combinatorial optimization (“inapproximability”)

Practical use? Automated verification of “data integrity” Needs better size tradeoffs … and for practice to catch up with theory.

09/23/2009

Page 24: Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL 09/23/20091Probabilistic Checking of Proofs TexPoint fonts used in EMF. Read the TexPoint manual

Probabilistic Checking of Proofs 24

Thank You!

09/23/2009