Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supernova Compressed SNARKs #80

Closed
wants to merge 7 commits into from

Conversation

mpenciak
Copy link
Contributor

@mpenciak mpenciak commented Oct 23, 2023

This PR implements a final compressing SNARK for Supernova NIVC proofs. It also adds a test for the compressed SNARK.

This version 0 of compression simply generates a SNARK proof for each primary running instance, and the secondary instance. The verifier then checks the validity of each of the SNARKs.

Copy link
Contributor

@porcuquine porcuquine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a partial review, noting a potential soundness issue. This is proximately due to a potential subtle bug relating to the behavior of zip (truncating results to the length of the shorter of its inputs). It's more broadly due to a failure to explicitly check a condition of the CompressedSNARK that seems critical: specifically, we need to not only check that all provided 'sub-SNARKs' verify, but also that all required sub-SNARKs were provided.

Whether or not the problem I've pointed to is manifested here, let's add a test conclusively demonstrating that the next iteration does not have that issue.

@porcuquine
Copy link
Contributor

Since we're moving forward with the v1 CompressedSNARK before upstreaming SuperNova, this PR can be closed without merging. @mpenciak feel free to leave open until then, or close sooner if you prefer.

@mpenciak
Copy link
Contributor Author

mpenciak commented Nov 9, 2023

Now that PR #108 is open, I think it's safe to close this PR.

@mpenciak mpenciak closed this Nov 9, 2023
@mpenciak mpenciak deleted the compressed_snark branch January 23, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants