Presentation is loading. Please wait.

Presentation is loading. Please wait.

Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL.

Similar presentations


Presentation on theme: "Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL."— Presentation transcript:

1 Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL

2 Happy 75 th Birthday, Appa!

3 Can Proofs Be Checked Efficiently? The Riemann Hypothesis is true (12 th Revision) By Ayror Sappen # Pages to follow: 15783

4 Proofs and Theorems Conventional belief: Proofs need to be read carefully to be verified. 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. Modern constraint: Don’t have the time (to do anything, leave alone) read proofs. This talk: This talk: New format for writing proofs. New format for writing proofs. Efficiently verifiable probabilistically, with small error probability. Efficiently verifiable probabilistically, with small error probability. Not much longer than conventional proofs. Not much longer than conventional proofs.

5 Outline of talk Quick primer on the Computational perspective on theorems and proofs (proofs can look very different than you’d think). 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). Definition of Probabilistically Checkable Proofs (PCPs). Some overview of “ancient” (15 year old) and “modern” (3 year old) PCP constructions. Some overview of “ancient” (15 year old) and “modern” (3 year old) PCP constructions.

6 Theorems: Deep and Shallow A Deep Theorem: A Deep Theorem: Proof: (too long to fit in this section). Proof: (too long to fit in this section). A Shallow Theorem: A Shallow Theorem: The number 3190966795047991905432 has a divisor between 25800000000 and 25900000000. The number 3190966795047991905432 has a divisor between 25800000000 and 25900000000. Proof: 25846840632. Proof: 25846840632. 8 x ; y ; z 2 Z + ; n ¸ 3 ; x n + y n 6 = z n

7 Computational Perspective Theory of NP-completeness: Theory of NP-completeness: Every (deep) theorem reduces to shallow one. Every (deep) theorem reduces to shallow one. Shallow theorem easy to compute from deep. Shallow theorem easy to compute from deep. Shallow proofs are not much longer. Shallow proofs are not much longer. A ; B ; C compu t a bl e i npo l y ( n ) t i me f rom T.

8 P & NP P = Easy Computational Problems P = Easy Computational Problems Solvable in polynomial time Solvable in polynomial time (E.g., Verifying correctness of proofs) (E.g., Verifying correctness of proofs) NP = Problems whose solution is easy to verify NP = Problems whose solution is easy to verify (E.g., Finding proofs of mathematical theorems) (E.g., Finding proofs of mathematical theorems) NP-Complete = Hardest problems in NP NP-Complete = Hardest problems in NP Is P = NP? Is P = NP? Is finding a solution as easy as specifying its properties? Is finding a solution as easy as specifying its properties? Can we replace every mathematician by a computer? Can we replace every mathematician by a computer? Wishing = Working! Wishing = Working!

9 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.) 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). 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. 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 Question: Why seek new formats? What benefits can they offer? benefits can they offer? Can they help ?

10 Probabilistically Checkable Proofs How do we formalize “formats”? How do we formalize “formats”? Answer: Formalize the Verifier instead. “Format” now corresponds to whatever the verifier accepts. 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. Will define PCP verifier (probabilistic, errs with small probability, reads few bits of proof) next.

11 TV a lid ) 9 P s. t. V accep t sw. p. 1. 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 T i nva lid ) 8 P, V accep t sw. p. · 1 2.

12 Features of interest Number of bits of proof queried must be small (constant?). Number of bits of proof queried must be small (constant?). Length of PCP proof must be small (linear?, quadratic?) compared to conventional proofs. 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.) Optionally: Classical proof can be converted to PCP proof efficiently. (Rarely required in Logic.) Do such verifiers exist? Do such verifiers exist? PCP Theorem [Arora, Lund, Motwani, S., Szegedy, 1992]: They do; with constant queries and polynomial PCP length. PCP Theorem [Arora, Lund, Motwani, S., Szegedy, 1992]: They do; with constant queries and polynomial PCP length. [2006] – New construction due to Dinur. [2006] – New construction due to Dinur.

13 Part II – Ingredients of PCPs

14 Essential Ingredients of PCPs Locality of error: 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 ). 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: Abundance of error: Errors in proof are abundant ( easily seen in random probes of proof ). Errors in proof are abundant ( easily seen in random probes of proof ). How do we construct a proof system with these features? How do we construct a proof system with these features?

15 g d e f c b a Locality: From NP-completeness 3-Coloring 3-Coloring Color vertices s.t. endpoints of edge have different colors. is NP-complete: T P a c db e f g

16 To verify To verify Verifier constructs Verifier constructs Expects as proof. Expects as proof. To verify: Picks an edge and verifies endpoints distinctly colored. To verify: Picks an edge and verifies endpoints distinctly colored. Error: Monochromatic edge = 2 pieces of proof. Error: Monochromatic edge = 2 pieces of proof. Local! But errors not frequent. Local! But errors not frequent. 3-Coloring Verifier: T

17 Amplifying error: Algebraic approach Graph = E: V x V → {0,1} Graph = E: V x V → {0,1} Algebraize search: Algebraize search: C onver t E t opo l ynom i a l ^ E : F £ F ! F s. t. ^ E j V £ V = E P l ace V i n ¯ n i t e ¯ e ld F Â ( v ) ¢ ( Â ( v ) ¡ 1 ) ¢ ( Â ( v ) ¡ 2 ) = 0 ; 8 v 2 V ^ E ( u ; v ) ¢ Q i 2 f ¡ 2 ; ¡ 1 ; 1 ; 2 g ( Â ( u ) ¡ Â ( v ) ¡ i ) = 0 ; 8 u ; v 2 V W an t Â: F ! F s. t.

18 Algebraic theorems and proofs Theorem: Given, operators A, B, C; and degree bound d Theorem: Given, operators A, B, C; and degree bound d Proof: Proof: Evaluations of Evaluations of Additional stuff, e.g., to prove zero on V Additional stuff, e.g., to prove zero on V Verification? Verification? Low-degree testing (Verify degrees) Low-degree testing (Verify degrees) ~ “Discrete rigidity phenomena”? ~ “Discrete rigidity phenomena”? Test consistency Test consistency ~ Error-correcting codes! ~ Error-correcting codes! Â, A ( Â ) ; B ( Â ) ; C ( Â ) 9 Â o fd egree d s. t. A ( Â ) ; B ( Â ) ; C ( Â ) zeroon V V µ F

19 Some Details  ¡ =  ¢ (  ¡ 1 ) ¢ (  ¡ 2 ) ¢ = ¡ ( Q u 2 V )( x ¡ u ) Checks:  ( ® ) ; ¡ ( ® ) ; ¢ ( ® ) cons i s t en t S aywan tt os h ow  ¢ (  ¡ 1 ) ¢ (  ¡ 2 ) = 0 on V F  ; ¡ ; ¢ are l ow- d egreepo l ynom i a l s

20 Amplifying Error: Graphically Dinur Transformation: There exists a linear-time algorithm A: Dinur Transformation: There exists a linear-time algorithm A: A ² A ( G ) 3 -co l ora bl e if G i s 3 -co l ora bl e ² F rac t i ono f monoc h roma t i ce d ges i n A ( G ) i s t w i ce t h e f rac t i on i n G ( un l ess f rac t i on i n G i s ¸ ² 0 ).

21 Graphical amplification Series of applications of A: Series of applications of A: Increases error to absolute constant Increases error to absolute constant Yield PCP Yield PCP Achieve A in two steps: Achieve A in two steps: Step 1: Increase error-detection prob. By converting to (generalized) K-coloring Step 1: Increase error-detection prob. By converting to (generalized) K-coloring Random walks, expanders, spectral analysis of graphs. Random walks, expanders, spectral analysis of graphs. Step 2: Convert K-coloring back to 3-coloring, losing only a small constant in error-detection. Step 2: Convert K-coloring back to 3-coloring, losing only a small constant in error-detection. Testing (~ “ Discrete rigidity phenomenon ” again ) Testing (~ “ Discrete rigidity phenomenon ” again )

22 Conclusion Proof verification by rapid checks is possible. Proof verification by rapid checks is possible. Does not imply math. journals will change requirements! Does not imply math. journals will change requirements! But not because it is not possible! But not because it is not possible! Logic is not inherently fragile! Logic is not inherently fragile! PCPs build on and lead to rich mathematical techniques. PCPs build on and lead to rich mathematical techniques. Huge implications to combinatorial optimization (“inapproximability”) Huge implications to combinatorial optimization (“inapproximability”) Practical use? Practical use? Automated verification of “data integrity” Automated verification of “data integrity” Needs better size tradeoffs Needs better size tradeoffs … and for practice to catch up with theory. … and for practice to catch up with theory.

23 Thank You!


Download ppt "Probabilistically Checkable Proofs Madhu Sudan MIT CSAIL."

Similar presentations


Ads by Google