Skip to content
ZKProof

Dynamic zk-SNARKs (with applications to sparse zk-SNARKs and IVC)

Dimitrios Papadopoulos (Hong Kong University of Science and Technology & Lagrange Labs), Charalampos Papamanthou (Yale University & Lagrange Labs), Shravan Srinivasan (Lagrange Labs), Weijie Wang (Yale University)

Accepted paper presented at ZKProof 8 in Rome, May 9–10, 2026.

Speaker

  • Weijie Wang

    Yale University

About this talk

Read the summary

This summary was generated with AI from the talk recording and edited by the ZKProof team. It was not written or reviewed by the speaker or the paper's authors, and may contain errors. For the authoritative account of this work, please refer to the paper.

At ZKProof 8 in Rome, Weijie Wang introduced dynamic zk-SNARKs: SNARKs with an update algorithm that refreshes a proof after a small change to the statement or witness, in sublinear time instead of proving again from scratch.

SNARKs as data structures

When a statement or witness changes only slightly, existing SNARKs must recompute the whole proof. The goal of this work is a data structure for SNARKs: a standard zk-SNARK plus an update algorithm. It takes the old and new statement and witness, the old proof, and some auxiliary information, and produces a new proof. To be meaningful, the update must run in time sublinear in the statement and witness size.

Before this work, common SNARKs were not dynamic:

  • in Plonk, Spartan and other systems built from polynomial IOPs, the prover's work after each verifier challenge depends on that randomness, so changing even one witness value changes the challenges and invalidates almost everything;
  • in Groth16 and similar systems, the quotient polynomial must be recomputed in roughly linear time after any change.

Results

The paper presents the first dynamic zk-SNARKs, both universal:

  • Dynaverse, with constant-size proofs and update time around √(n log n);
  • Dynalog, with polylogarithmic update time, but which relies on the same kind of assumption as GIPA for proof aggregation.

Two follow-up works have since appeared: a dynamic version of Groth16, and designated-verifier dynamic SNARKs, which avoid the aggregation assumption at the cost of designated verification.

The key idea: decompose the permutation

The constructions target a small Plonk-like circuit satisfiability relation: each gate must be computed correctly, and wires must be correctly connected, which is expressed with a permutation. Standard permutation arguments are the problem, since changing one value changes every challenge.

The trick is to decompose the wire vector into several pieces that sum to it. Proving the permutation relation for the whole vector is equivalent to proving a relaxed permutation relation for each piece. The authors build Dynamo, a sparse argument for this relaxed relation, whose prover time is linear in the number of non-zero entries rather than the full length. Each piece can then be handled separately, both for the permutation and for the gate constraints.

Dynaverse

Dynaverse starts from a weakly dynamic SNARK. An initial proof is computed for an "anchor" witness. After modifying k positions, the change is a vector with only k non-zero entries. A Dynamo proof for this difference, combined with the anchor's Dynamo proof, covers the permutation, and the gate constraints only need to be re-proven at the modified positions. All of this takes roughly O(k) time, and the result is still a constant-size proof.

This directly gives sparse SNARKs, where most wires are zero: just use the all-zero vector as the anchor.

To get a fully dynamic SNARK, Dynaverse updates relative to the anchor while fewer than about √(n log n) positions have changed. Beyond that, the current witness becomes the new anchor and everything is recomputed. Since this happens only every √(n log n) updates, the amortized cost stays around √(n log n), and standard techniques can de-amortize it.

Dynalog

Dynalog uses a hierarchical "waterfall" structure, as in hierarchical ORAM: logarithmically many levels of exponentially growing size. Each update is logged at the smallest available level, and each level keeps a Dynamo proof and gate proofs for its updated positions. With de-amortization, updates take polylogarithmic time, and an aggregation argument combines the levels' proofs.

Applications

  • Dynamic proofs of index, from a follow-up work. A database server commits to a vector and to its sorted version, an index used for binary search, and proves the two are consistent. When the database changes, only a polylogarithmic number of wires in the consistency circuit change, so the proof can be updated in sublinear time. This is useful for verifiable databases.
  • Passwordless login. In systems that let users log in to blockchain accounts with an OpenID provider such as Google, the app proves it knows a signed token binding an ephemeral public key to an address. When the ephemeral key changes, preliminary experiments show around 25% of the wires change, so updating could beat recomputing.
  • Bounded-step IVC without recursion, where each iteration changes only some wires and the proof is updated rather than recursively proven. Details are in the paper.

From the Q&A

  • Could an adversary who knows only the updatable part of the witness replay and update someone else's proof? In the current constructions, the full original witness is part of the auxiliary data needed to update, so this isn't possible. For some special circuits, where wires are updated only once, updating without the old witness might be achievable.
  • What if updates have a known structure? The authors believe much better dynamic SNARKs are possible if, for example, updates are restricted to a fixed set of positions or each wire is updated only once. These cases aren't in the paper.

Go further

More ZKProof 8 talks on this topic

Sumcheck, folding and recursion