8 ms·
A great example of this is posted by Ryan O'Donnell on Math Overflow (http://mathoverflow.net/questions/22624/example-of-a-good-zero-knowledge-proof http://math
by Xcelerate 14y ago
A great example of this is posted by Ryan O'Donnell on Math Overflow (http://mathoverflow.net/questions/22624/example-of-a-good-zero-knowledge-proof http://mathoverflow.net/questions/22624/example-of-a-good-ze...):
> The classic example, given in all complexity classes I've ever taken, is the following: Imagine your friend is color-blind. You have two billiard balls; one is red, one is green, but they are otherwise identical. To your friend they seem completely identical, and he is skeptical that they are actually distinguishable. You want to prove to him (I say "him" as most color-blind people are male) that they are in fact differently-colored. On the other hand, you do not want him to learn which is red and which is green.
Here is the proof system. You give the two balls to your friend so that he is holding one in each hand. You can see the balls at this point, but you don't tell him which is which. Your friend then puts both hands behind his back. Next, he either switches the balls between his hands, or leaves them be, with probability 1/2 each. Finally, he brings them out from behind his back. You now have to "guess" whether or not he switched the balls.
By looking at their colors, you can of course say with certainty whether or not he switched them. On the other hand, if they were the same color and hence indistinguishable, there is no way you could guess correctly with probability higher than 1/2.
If you and your friend repeat this "proof" t times (for large t), your friend should become convinced that the balls are indeed differently colored; otherwise, the probability that you would have succeeded at identifying all the switch/non-switches is at most 2−t. Furthermore, the proof is "zero-knowledge" because your friend never learns which ball is green and which is red; indeed, he gains no knowledge about how to distinguish the balls.
- anologwintermut 14y agoThe proof is honest verifier zero knowledge. If your friend switches out one of the balls, you are hosed.
- nly 14y agoIt's also an interactive proof, nobody can store this proof with the balls for other colour blind people to review later.
- jonsen 14y agoCould this be used to prove to the Bible blind the existence of God?
- TazeTSchnitzel 14y agoUm... you'll need to actually find a proof for it, though. So far as I know, there are no known proofs of God's existence that can't be reasonably explained in other ways.
- edmccard 14y agoSure. Just find two billiard balls that are indistinguishable unless God exists. Give them to your Bible-blind friend, and try to guess whether he switches them behind his back or not.