Skip to content

Supernova Compressed SNARKs#80

Closed
mpenciak wants to merge 7 commits intolurk-lang:devfrom
mpenciak:compressed_snark
Closed

Supernova Compressed SNARKs#80
mpenciak wants to merge 7 commits intolurk-lang:devfrom
mpenciak:compressed_snark

Conversation

@mpenciak
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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