Paper 2024/416
Mangrove: A Scalable Framework for Folding-based SNARKs
Abstract
We present a framework for building efficient folding-based SNARKs. First we develop a new "uniformizing" compiler for NP statements that converts any poly-time computation to a sequence of identical simple steps. The resulting uniform computation is especially well-suited to be processed by a folding-based IVC scheme. Second, we develop two optimizations to folding-based IVC. The first reduces the recursive overhead of the IVC by restructuring the relation to which folding is applied. The second employs a "commit-and-fold" strategy to further simplify the relation. Together, these optimizations result in a folding-based SNARK that has a number of attractive features. First, the scheme uses a constant-size transparent common reference string (CRS). Second, the prover has (i) low memory footprint, (ii) makes only two passes over the data, (iii) is highly parallelizable, and (iv) is concretely efficient. Microbenchmarks indicate proving time is comparable to leading monolithic SNARKs, and is significantly faster than other streaming SNARKs. On a laptop, for $2^{24}$ ($2^{32}$) gates, the Mangrove prover is estimated to take $2$ minutes ($8$ hours) with peak memory usage approximately $390$ MB ($800$ MB).
Note: (updated version)
Metadata
- Available format(s)
- Category
- Cryptographic protocols
- Publication info
- Preprint.
- Keywords
- SNARKIVCPCDFoldingAccumulation
- Contact author(s)
-
wdnguyen @ cs stanford edu
tcdatta @ stanford edu
binyi @ cs stanford edu
tyagi @ stanford edu
dabo @ cs stanford edu - History
- 2024-03-19: last of 3 revisions
- 2024-03-09: received
- See all versions
- Short URL
- https://ia.cr/2024/416
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/416, author = {Wilson Nguyen and Trisha Datta and Binyi Chen and Nirvan Tyagi and Dan Boneh}, title = {Mangrove: A Scalable Framework for Folding-based SNARKs}, howpublished = {Cryptology ePrint Archive, Paper 2024/416}, year = {2024}, note = {\url{https://eprint.iacr.org/2024/416}}, url = {https://eprint.iacr.org/2024/416} }