Paper 2024/1605

Nebula: Efficient read-write memory and switchboard circuits for folding schemes

Arasu Arun, New York University
Srinath Setty, Microsoft Research
Abstract

Folding schemes enable prover-efficient incrementally verifiable computation (IVC), where a proof is generated step-by-step, resulting in a space-efficient prover that naturally supports continuations. These attributes make them a promising choice for proving long-running machine executions (popularly, "zkVMs"). A major problem is designing an efficient read-write memory. Another challenge is overheads incurred by unused machine instructions when incrementally proving a program execution step. Nebula addresses these with new techniques that can paired with modern folding schemes. First, we introduce commitment-carrying IVC, where a proof carries an incremental commitment to the prover’s non-deterministic advice provided at different steps. Second, we show how this unlocks efficient read-write memory (which implies indexed lookups) with a cost-profile identical to that of non-recursive arguments. Third, we provide a new universal "switchboard" circuit construction that combines circuits of different instructions such that one can "turn off" uninvoked circuit elements and constraints, offering a new way to achieve pay-per-use prover costs. We implement a prototype of a Nebula-based zkVM for the Ethereum virtual machine (EVM). We find that Nebula’s techniques qualitatively provide a $30\times$ smaller constraint system to represent the EVM over standard memory-checking techniques, and lead to over $260\times$ faster proof generation for the standard ERC20 token transfer transaction.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
Keywords
folding schemesproof systemsincrementally verifiable computationzero-knowledge
Contact author(s)
arasu @ nyu edu
srinath @ microsoft com
History
2024-10-09: approved
2024-10-09: received
See all versions
Short URL
https://ia.cr/2024/1605
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1605,
      author = {Arasu Arun and Srinath Setty},
      title = {Nebula: Efficient read-write memory and switchboard circuits for folding schemes},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1605},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1605}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.