Live data from Hacker News

Computer scientists combine two 'beautiful' proof methods

quantamagazine.org

11–20 of 32 posts

Re: Computer scientists combine two 'beautiful' proof methods

#11

I know cryptocurrencies have a lot of problems, but this is one place where it’s good they exist: they’ve funneled a ton of money into researching new cryptography. The article claims that this research was developed for StarkWare, which developed its own form of zero knowledge proofs they called Starks, developed a programming language in which cryptographic proofs can be generated showing that the output of the pro…

> The article claims that this research was developed for StarkWare, Does it? Starkware is mentioned only as the company run by some.guy who commented on how pivotal this work was. It doesn't say he was related, and I can't find any affiliation between the researchers (all uk based at Cambridge and Warwick) and the US based StarkWare.

Oh, maybe it was unrelated, I think I misread the article

Re: Computer scientists combine two 'beautiful' proof methods

#12
post #6

I know cryptocurrencies have a lot of problems, but this is one place where it’s good they exist: they’ve funneled a ton of money into researching new cryptography. The article claims that this research was developed for StarkWare, which developed its own form of zero knowledge proofs they called Starks, developed a programming language in which cryptographic proofs can be generated showing that the output of the pro…

The other cool thing about verkle trees is that they were mostly figured out by a high schooler for a science fair (?) project. They're not actually that complicated in principle, just nobody thought of it before and that's pretty cool.

Wow, that is cool. I'm actually annoyed that vitalik didn't credit him in his article about them. I wonder how many people think that the v stands for vitalk

Re: Computer scientists combine two 'beautiful' proof methods

#13

I know this is useful for crypto, but I think think I'm actually more interested in what new modes of remote code running on untrusted platforms this enables.

That is exactly the reason it's useful for crypto, nodes need to verify the output of code running on other nodes without trusting them.

Re: Computer scientists combine two 'beautiful' proof methods

#14
post #6

Earlier quoted context omitted.

The other cool thing about verkle trees is that they were mostly figured out by a high schooler for a science fair (?) project. They're not actually that complicated in principle, just nobody thought of it before and that's pretty cool.

Wow, that is cool. I'm actually annoyed that vitalik didn't credit him in his article about them. I wonder how many people think that the v stands for vitalk

> vitalik didn't credit him in his article

You mean this article?

https://vitalik.eth.limo/general/2021/06/18/verkle.html

> Verkle trees are still a new idea; they were first introduced by John Kuszmaul in this paper from 2018[link to [0]],

0: https://math.mit.edu/research/highschool/primes/materials/20...

Re: Computer scientists combine two 'beautiful' proof methods

#15

Earlier quoted context omitted.

Wow, that is cool. I'm actually annoyed that vitalik didn't credit him in his article about them. I wonder how many people think that the v stands for vitalk

> vitalik didn't credit him in his article You mean this article? https://vitalik.eth.limo/general/2021/06/18/verkle.html > Verkle trees are still a new idea; they were first introduced by John Kuszmaul in this paper from 2018[link to [0]], 0: https://math.mit.edu/research/highschool/primes/materials/20...

I want to highlight the fact that the quote from Vitalik’s article is the first sentence of the second paragraph. Credit is prominently given, not buried in any way.

Re: Computer scientists combine two 'beautiful' proof methods

#16
post #7

> If someone finds a valid solution, they can easily convince a skeptical “verifier” that it really is valid. The verifier, in turn, will always be able to spot if there’s a mistake. Problems with this property belong to a class that researchers call NP. How do you quickly verify that traveling salesman path is indeed the shortest one?

You have discovered that that problem indeed is not in NP, for the reason that it is not a decision problem. The decision problem is in NP, and there the problem is: given a graph and some value k, does there exist a TSP with cost at most k. You can see how that problem then becomes verifiable.

I think this is a great distinction that deserves elaboration for those less familiar with the topic. Can you explain a bit further?

Re: Computer scientists combine two 'beautiful' proof methods

#17
A professor I know once gave me the most beautiful example of a zero knowledge proof: she said “Imagine I want to prove to you that I can count the leaves on a tree, but I don’t want to reveal how I do it. I start by telling you there are e.g. 756,912 of them. Then I close my eyes and I let you remove as many as you want. We can keep going until you are convinced, and you still won’t know how I did it.”

Re: Computer scientists combine two 'beautiful' proof methods

#18
post #17

A professor I know once gave me the most beautiful example of a zero knowledge proof: she said “Imagine I want to prove to you that I can count the leaves on a tree, but I don’t want to reveal how I do it. I start by telling you there are e.g. 756,912 of them. Then I close my eyes and I let you remove as many as you want. We can keep going until you are convinced, and you still won’t know how I did it.”

Okay, but I wouldn't be convinced until I've counted up to 756,912 myself and seen that there are no more leaves left after that. Isn't it supposed to be less computationally intensive to verify the proof than to complete the original calculation?

I tried learning about zero knowledge proofs during the crypto craze, but I never understood the basic idea of how it was supposed to work, much less the math involved. I'd appreciate an ELI5 from anyone who has one.

Re: Computer scientists combine two 'beautiful' proof methods

#19
post #17

A professor I know once gave me the most beautiful example of a zero knowledge proof: she said “Imagine I want to prove to you that I can count the leaves on a tree, but I don’t want to reveal how I do it. I start by telling you there are e.g. 756,912 of them. Then I close my eyes and I let you remove as many as you want. We can keep going until you are convinced, and you still won’t know how I did it.”

Okay, but I wouldn't be convinced until I've counted up to 756,912 myself and seen that there are no more leaves left after that. Isn't it supposed to be less computationally intensive to verify the proof than to complete the original calculation? I tried learning about zero knowledge proofs during the crypto craze, but I never understood the basic idea of how it was supposed to work, much less the math involved. I'd…

The proof is that they can tell you the number of leaves (again) after you have secretly removed some. Since only you know the number you removed, if the difference between their counts matches your number, it is likely that they can indeed count the leaves on the tree. It is possible they have correctly guessed, which is why you repeat the challenge until you are convinced.

Re: Computer scientists combine two 'beautiful' proof methods

#20

Earlier quoted context omitted.

Okay, but I wouldn't be convinced until I've counted up to 756,912 myself and seen that there are no more leaves left after that. Isn't it supposed to be less computationally intensive to verify the proof than to complete the original calculation? I tried learning about zero knowledge proofs during the crypto craze, but I never understood the basic idea of how it was supposed to work, much less the math involved. I'd…

The proof is that they can tell you the number of leaves (again) after you have secretly removed some. Since only you know the number you removed, if the difference between their counts matches your number, it is likely that they can indeed count the leaves on the tree. It is possible they have correctly guessed, which is why you repeat the challenge until you are convinced.

Or they have a way to measure your removal, eg, they don’t count leaves but branches without leaves (in the hypothetical tree example).
Post reply on HN