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

Specify Groth16 adapted to RelaxedR1CS and fork arkworks Groth16 adapting it into that design #22

Open
arnaucube opened this issue Sep 7, 2023 · 2 comments
Labels
decider decider/compressed snark design To decide a design/approach for the feature.

Comments

@arnaucube
Copy link
Collaborator

arnaucube commented Sep 7, 2023

@levs57 has suggested modifying Groth16 to adapt it to RelaxedR1CS, which not only would have less overhead than the current approach, but also seems to have benefits regarding the commitment openings of cm(E), cm(W).

Not for the milestone https://github.com/privacy-scaling-explorations/folding-schemes/milestone/1 , but for those usecases where Decider's proving time is crucial, @levs57's approach will perform much better than the in-circuit RelaxedR1CS checker approach (but the latter is more modular in terms of being able to use any R1CS-based proving scheme for the Decider without needing to adapt each one, but has the ~3x overhead).

The idea of this issue is to track progress on the specification of Groth16 adapted to RelaxedR1CS and it's implementation, which probably would be a fork of arkworks Groth16 repo, which @levs57 already sketched. Once ready, we would need to fork arkworks Groth16 implementation to addapt it to @levs57's design.

@arnaucube arnaucube added decider decider/compressed snark design To decide a design/approach for the feature. labels Sep 7, 2023
@arnaucube arnaucube changed the title Specify Groth16 adapted to RelaxedR1CS Specify Groth16 adapted to RelaxedR1CS and fork arkworks Groth16 adapting it into that design Sep 7, 2023
@pnyda
Copy link

pnyda commented Sep 12, 2023

@levs57 Could you post somewhere the sketch of how we can modify Groth16 to support a relaxed R1CS? There was a discussion going on at PSE ZK Summer Program on how Nova on Groth16 would look like. I'm really curious!

@levs57
Copy link

levs57 commented Sep 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decider decider/compressed snark design To decide a design/approach for the feature.
Projects
None yet
Development

No branches or pull requests

3 participants