Title: Data Matters
1233-234
Sedgewick Wayne (2004) Chazelle (2005)
2Linear-reduces Cost of reduction is
proportional to size of input
3(No Transcript)
4(No Transcript)
5(No Transcript)
6(No Transcript)
7(No Transcript)
8- Traveling Salesman Problem
9(No Transcript)
10(No Transcript)
11(No Transcript)
12Best known algorithm takes exponential time!
13(No Transcript)
14(No Transcript)
15(No Transcript)
16(No Transcript)
17P
Problems that can be solved in polynomial time
NP
Problems that have polynomial time proofs
Suffices to look at Yes/No problems
(Note that P is symmetric with yes/no but NP is
not)
COMPOSITE is in NP (easy) so is PRIME (hard)
18 19P
Problems that can be solved in polynomial time
NP
Problems that have polynomial time proofs
NP-Complete Any problem A in NP such that any
problem in NP
polynomial-reduces to it
Over 10,000 known NP-complete problems !
20FACTORING
Given n-bit integer x and k, does x have a factor
1ltxltk ?
3-COLOR
Given graph G, can it be colored red, white, blue?
FACTORING and 3-COLOR are in NP
3-COLOR is NP-complete
? 3-color efficiently and destroy ALL e-commerce!
21Zero Knowledge
Can I convince you I have a proof without
revealing anything about it?
223-Coloring
Prover interacts with Verifier
233-Coloring
Prover hides coloring
243-Coloring
Verifier checks an edge at random
253-Coloring
Verifier spots a lie with probability 1/E
263-Coloring
Verifier repeats 100E times
27If Verifier spots no lie, she concludes the graph
is 3-colorable
Prover fools Verifier with negligible probability
28Is it Zero-Knowledge?
Verifier can color most of the graph!
29Not Zero-Knowledge!
Why do we require the Verifier to check randomly?
30Repeat 100 E times
1. Prover shuffle colors
2. Verifier Check any edge
31Shuffle colors whats that?
Random permutation
(6 possibilities)
32(No Transcript)
33To summarize
Step 1 Prover shuffles coloring
34Step 2 Prover hides coloring
35Step 3 Verifier checks an edge
36Step 1 Prover shuffles coloring
37Step 2 Prover hides coloring
38Step 3 Verifier checks an edge, etc
39Why is it zero-knowledge?
No matter what the Verifier does,
she only sees a random pair of colors
So, she can simulate the whole protocol by
herself no need for the prover.
40PCP
(probabilistically checkable proofs)
Can I convince you I have a proof of Riemanns
hypothesis by letting you look at only 2 lines
picked at random?
Yes, with probability of error 1/google