The Hunting of the SNARK

Nir Bitansky, Ran Canetti, Alessandro Chiesa, Shafi Goldwasser, Huijia Lin, Aviad Rubinstein, Eran Tromer

Abstract

This seminal work formalizes SNARKs (Succinct Non-interactive Adaptive Arguments of Knowledge)—cryptographic proofs that are tiny, nearly instant to verify, and prove that a sender "knows" a specific piece of data without revealing it. The authors demonstrate that SNARKs can be constructed in the "standard model" by introducing a new primitive called Extractable Collision-Resistant Hash functions (ECRHs), effectively bridging the gap between theoretical proof systems and practical secure delegation of computation.

Introduction

In the era of cloud computing, delegating massive computations to powerful servers is common. However, two major hurdles persist:

  1. Efficiency: A weak client must verify the server's result without re-running the entire computation.
  2. Interactivity & Adaptivity: The verification should ideally be non-interactive (a single message) and secure even if a malicious server chooses its "lie" adaptively after seeing the client's challenge.

Previous solutions relied on multiple communication rounds (e.g., Kilian’s protocol) or the "Random Oracle Model," a mathematical abstraction that may not hold in practice. This paper addresses these challenges by building succinct proofs in the standard model using well-defined cryptographic assumptions.

Methodology

The construction involves "squashing" classical interactive proof techniques into a non-interactive format using three main pillars:

Probabilistically Checkable Proofs (PCPs)

PCPs allow a proof to be written such that a verifier only needs to examine a few random bits to be convinced of its validity with high probability.

Private Information Retrieval (PIR)

PIR enables the verifier to "query" specific parts of the PCP without the prover knowing which parts are being checked. This prevents the prover from tailoring answers on the fly based on the verifier's queries.

Extractable Collision-Resistant Hashes (ECRHs)

The core innovation is the ECRH. While a standard hash function makes it hard to find collisions, an extractable hash adds a "knowledge" requirement: if an adversary produces a valid hash, an "extractor" program must exist that can find the original input. By using ECRHs to construct a Merkle Tree over the PCP, the authors ensure that a valid succinct proof implies the prover actually "knows" the underlying witness. To maintain efficiency, they utilize "shallow" Merkle Trees with high fan-in to keep extraction time polynomial.

Results and Theoretical Implications

The paper establishes several foundational results for the study of succinct arguments:

  • Equivalence of SNARKs and ECRHs: The authors prove that if ECRHs and PIR exist, then SNARKs for all NP languages exist. Conversely, the existence of SNARKs implies the existence of a variant of ECRHs. This suggests ECRHs are the natural foundation for succinctness.
  • Circumventing Impossibility Results: By using Extractable One-Way Functions (EOWFs), the paper constructs 3-round zero-knowledge protocols, bypassing previous "black-box" impossibility results.
  • Candidate Constructions: Concrete candidates for ECRHs are proposed based on the Knowledge of Exponent (KEA) assumption and lattice-based Knapsack problems.
  • Practical Applications: SNARKs enable "succinct two-party computation" and "zero-knowledge SNARKs" (zk-SNARKs), which have become foundational to privacy-preserving technologies like Zcash.

Discussion and Limitations

While groundbreaking, the work acknowledges certain limitations:

  • Non-Falsifiability: The ECRH assumption is "non-falsifiable," meaning a claim that a function is an ECRH cannot necessarily be disproven by a simple program. This remains a point of theoretical debate.
  • Computational Overhead: Although proofs are succinct, the underlying PIR schemes can be computationally expensive for the prover in practice.
  • Universal SNARKs: The basic construction requires the verifier to know the specific NP relation beforehand. Moving to "Universal SNARKs" requires even stronger assumptions, such as exponentially-hard one-way functions.

Conclusion

"The Hunting of the SNARK" provides the theoretical bedrock for modern succinct proof systems. By formalizing the relationship between extractable hashes and non-interactive proofs, it paved the way for the practical deployment of zk-SNARKs in blockchain and secure cloud computing.

Summary updated

BibTeX
@article{bitansky2017hunting,
  author = {Nir Bitansky and Ran Canetti and Alessandro Chiesa and Shafi Goldwasser and Huijia Lin and Aviad Rubinstein and Eran Tromer},
  title = {{The Hunting of the SNARK}},
  journal = {J. Cryptol.},
  year = {2017},
  doi = {10.1007/s00145-016-9241-9},
}
Figure