Skip to content
ZKProof

General Techniques for Unbounded-Depth IVC in the AGM (and More)

Matteo Campanelli (Offchain Labs), Dario Fiore (IMDEA Software Institute), Mahak Pancholi (IMDEA Software Institute)

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

Speaker

  • Mahak Pancholi

    IMDEA Software Institute

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, Mahak Pancholi presented a simple technique for proving the security of protocols that put a SNARK on top of a primitive secure in the algebraic group model (AGM). Among other things, it gives provably secure unbounded-depth IVC from SNARKs such as Groth16 and folding schemes such as Nova.

Composing primitives with SNARKs

Many protocols apply a SNARK on top of another primitive to gain extra properties:

  • compressing or batching proofs, by proving with a second SNARK that many first-layer proofs verify;
  • aggregate signatures, in the folklore construction where a SNARK proves that many signatures are valid;
  • incrementally verifiable computation (IVC), which composes SNARKs on top of SNARKs, step after step.

The natural security argument goes by reduction: from an adversary against the composite protocol, use the SNARK's knowledge extractor to recover the inner primitive's output, then use it to break the inner primitive.

The problem with the AGM

The algebraic group model is widely used: constant-size SNARKs such as Groth16, Plonk and Lunar are proven secure in it, as are advanced properties of blind signatures and multi-signatures. Crucially, it allows straight-line extraction, extraction without rewinding, which is essential for unbounded-depth IVC. It can upgrade proof systems such as Bulletproofs or folding schemes such as Nova, already proven secure with rewinding, to straight-line extraction.

In the AGM, the adversary must explain every group element it outputs as a combination of the group elements it received. The trouble appears when composing. Take a layer of Groth16 proofs compressed by a second Groth16 proof. The second layer's extractor recovers the first-layer proofs, but to reduce to the first layer's security, the adversary must also be algebraic. It must explain how it computed those first-layer group elements, which the extractor cannot provide. The reduction breaks.

The fix: make the prover reveal, through the random oracle

If the adversary output the intermediate proof directly, it would also explain its group elements, but we don't want it in the final output. Instead:

  • the outer prover is required to query the random oracle on the inner group elements, and the circuit is modified to prove that it did;
  • the AGM is extended slightly so that the algebraic adversary must also explain group elements in its random oracle queries, not just its output.

The reduction then recovers all the needed representations from the random oracle transcript, and the intermediate proof never appears in the final output.

Unbounded-depth IVC

IVC proves streaming computations step by step: each step proves both the current computation and that the previous proof verifies. It can be built from SNARKs or from lighter accumulation and folding schemes. Its knowledge-soundness extractor must recover every intermediate state and witness.

With this fix, the extractor can work from the previous extractor's output and never needs to call the adversary again. The IVC's soundness error is therefore at most the number of steps times the SNARK's error, so the depth can be any polynomial. Usual analyses blow up exponentially with depth and are only meaningful for constant depth. Previous work avoided this blow-up only for proof systems derived from interactive oracle proofs, not for AGM-based SNARKs.

Proving random oracle queries inside a circuit requires relativized SNARKs, which can prove statements about an oracle. These can't exist for a true random oracle, so the construction uses structured variants such as the arithmetized random oracle model, which comes with a generic lifting result: a SNARK's knowledge soundness and zero knowledge in the ROM carry over to the arithmetized version. The main theorem: if a relativized SNARK is straight-line extractable in the AGM with such an oracle, the IVC built from it is secure for arbitrary-depth recursion.

Comparison with the recursive AGM

Another approach is a stronger "recursive" or extended AGM: whenever part of the adversary's explanation can itself be read as a group element, it must be explained too, all the way down. It doesn't require changing the protocol, but it is a newer and more complex assumption whose exact form depends on the protocol being analyzed. This work instead uses the basic AGM plus a random oracle, at the cost of modifying the protocol and using relativized SNARKs, which is more heavyweight.

Open questions

  • Concrete instantiations, for example with cycles of curves, where two parallel IVC chains would need to be linked.
  • Aggregate signatures: the paper proves security of the folklore aggregate-signature construction for AGM-secure signatures. This required SNARKs secure in the presence of signing oracles, shown for the KZG commitment scheme with BLS and Schnorr signing oracles. Which generic properties of signatures and commitments suffice is open.

From the Q&A

Asked whether querying the random oracle inside the circuit raises Fiat–Shamir soundness concerns, Pancholi said security is proven in an idealized model, the arithmetized random oracle, and that heuristic instantiation with a real hash function could face similar issues to known Fiat–Shamir attacks. Another audience member noted that the circuit doesn't actually prove a real hash evaluation: the check is deferred and eventually performed by the verifier, a technique from earlier work, so this kind of attack doesn't arise.

Go further

More ZKProof 8 talks on this topic

Sumcheck, folding and recursion