Succinct argument
A succinct non-interactive argument of knowledge (SNARK) for circuit satisfiability is a non-interactive argument, with a reference string generated from the circuit , by which a prover convinces a verifier that it knows a with using a proof much shorter than , checked much faster than evaluating ; knowledge is formalized by an extractor. A STARK (Scalable Transparent ARgument of Knowledge) is a SNARK variant whose setup is public-coin, with no trapdoor.
Syntax
A preprocessing SNARK for circuit satisfiability is a tuple of efficient algorithms in which takes as input an arbitrary Boolean circuit ; the relation proved is .
- takes a security parameter and the circuit , runs in time , and produces a common reference string . For transparent systems, is public-coin (no trapdoor).
- takes the CRS, instance , and witness with , and produces a proof .
- verifies the proof.
The properties below hold for every family of circuits of size . Given a collision-resistant hash function, a non-interactive argument of knowledge for the universal relation , knowledge-sound for adaptively chosen statements, with proof size and verification time bounded by one polynomial in gives a SNARK in this sense for every : samples a hash key and publishes it with the hash of , and the prover proves knowledge of a circuit with hash and a with , so that an extracted is a collision; the setup is public-coin when the argument’s setup and the hash key are — standard.
Properties
Completeness
For every circuit , all and all :
Knowledge soundness
For every family of circuits of size and all efficient there exists a polynomial-time extractor such that: if , run on coins , outputs with , then outputs with , except with negligible probability — Gro16. Knowledge soundness is strictly stronger than plain soundness (which only requires the prover cannot convince the verifier of a false statement).
Succinctness
There is a polynomial , fixed with the scheme and independent of , such that for every circuit , every output by , every and every output by , , and runs in time at most on every input . Since , this is the bound with the polynomial fixed before .
Zero-knowledge (optional)
A simulator is a pair of efficient algorithms, and . In world 0 of the game below, gets and an oracle returning honest proofs; in world 1, it gets from and an oracle returning simulated proofs, which ignores the witness. Each oracle answers on , so chooses every statement after seeing and knows its witness.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{zk}}_{C,\calA,\Sim}(\secpar)$}
\begin{algorithmic}
\State $b \getsr \bits$; $\crs_0 \gets \Setup(1^\secpar, C)$; $(\crs_1, \td) \gets \Sim_1(1^\secpar, C)$
\State $b' \gets \calA^{\calO_b}(\crs_b)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_0(x, w)$}
\begin{algorithmic}
\If{$(x, w) \notin \calR_C$}
\Return $\bot$
\EndIf
\Return $\Prove(\crs_0, x, w)$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_1(x, w)$}
\begin{algorithmic}
\If{$(x, w) \notin \calR_C$}
\Return $\bot$
\EndIf
\Return $\Sim_2(\crs_1, \td, x)$
\Comment{$w$ is ignored}
\end{algorithmic}
\end{algorithm}
A SNARK is zero-knowledge if there is a simulator such that for every family of circuits of size and all efficient ,
is negligible. In the random-oracle model, quantum or classical, , , and query the oracle; in world 1, also answers ‘s oracle queries, keeping state shared with and .
Security game
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{ks}}_{C,\calA,\calE_\calA}(\secpar)$}
\begin{algorithmic}
\State $\crs \gets \Setup(1^\secpar, C)$
\State $r \getsr \bits^{*}$; $(x, \pi) \gets \calA(\crs; r)$
\State $w \gets \calE_{\calA}(\crs, r)$
\Comment{$\calE_\calA$ gets $\calA$'s input and coins}
\If{$\Vrfy(\crs, x, \pi) = 1$ and $(x, w) \notin \calR_C$}
\Return $1$
\Comment{$\calA$ wins: valid proof but extractor failed}
\EndIf
\Return $0$
\end{algorithmic}
\end{algorithm}
A succinct argument is knowledge-sound if for every family of circuits of size and all efficient there exists a polynomial-time extractor such that is negligible.
Variations
zk-SNARK
As an object, a zk-SNARK is a SNARK in the sense above, complete, knowledge-sound and succinct, that is zero-knowledge in the sense of the game above. Groth16 is the canonical pairing-based zk-SNARK with constant proof size (3 group elements) and millisecond verification (Bilinear pairing ⇒ zk-SNARK) — Gro16.
Two-move linear interactive proofs cannot have a linear decision procedure, so SNARGs whose prover and verifier use only generic asymmetric bilinear-group operations cannot consist of a single group element; whether two elements suffice, which would make the three-element construction optimal, is open — Gro16. The impossibility of a linear decision procedure answers an open question of BCIOP13 — Gro16.
Pinocchio is a publicly verifiable preprocessing verifiable-computation scheme for arithmetic circuits built on the quadratic arithmetic programs of GGPR13, sound under the -PKE, -PDH and -SDH assumptions with for QAP degree . A proof is 288 bytes whatever the computation and the size of its input and output, verification takes a fixed 10 ms plus 0.4–15 μs per input or output element in the authors’ implementation, and the scheme extends to zero-knowledge proofs at negligible extra cost — PHGR13. GGPR13’s NIZK argument for Circuit-SAT, from quadratic span programs under -PDH and q-PKE, has 7 group elements with CRS size and prover computation quasi-linear in the circuit size; Gro10’s had 42 group elements with CRS and prover computation quadratic in it, and Lipmaa reduced the CRS to quasi-linear size with prover computation still quadratic — GGPR13. A modified Pinocchio protocol implemented in libsnark is unsound: the lemma justifying the modification is false, and a cheating prover makes the verifier accept false statements — Parno15.
STARK
A transparent succinct argument is a SNARK, in the sense above, whose is public-coin, with no trapdoor. The notion bounds the prover’s running time only by . The name STARK, for scalable transparent argument of knowledge, is from BBHR18a, whose ZK-STARK is a transparent zero-knowledge system in which verification scales exponentially faster than the size of the data the computation runs on — BBHR18a. Security is proven in the ROM by the BCS transform, which preserves the time complexity of the IOP it compiles, so that known IOPs give zero-knowledge proofs in the ROM with quasilinear prover and polylogarithmic verifier — BCS16; the same compiler is sound in the quantum ROM when the IOP is round-by-round sound — CMS19 — so STARKs are plausibly post-quantum. Proof size is for a computation of size , larger than pairing-based SNARKs but still sublinear — BBHR18a.
The core component of STARKs is the FRI (Fast Reed-Solomon IOP of Proximity) protocol, an interactive oracle proof of proximity to Reed-Solomon codes — BBHR18b. Combined with Merkle-tree commitments, FRI yields a transparent (list) polynomial commitment scheme — KPV22.
Other transparent arguments trade proof size against verification time. Ligero is a zero-knowledge argument for whose communication is proportional to the square root of the verification circuit size, from any collision-resistant hash function, and non-interactive in the ROM with no trusted setup or public-key cryptography; for a SHA-256 preimage at soundness error it communicates about 44 KB, with 140 ms proving and 62 ms verification in the CCS 2017 version — AHIV17. Aurora is a transparent zero-knowledge SNARG for R1CS, built on an IOP for a univariate sumcheck, whose proofs for constraints have size , produced with field operations and verified with — BCR+19. Spartan gives transparent zkSNARKs for R1CS whose verification is sublinear after a one-time public preprocessing of the statement (computation commitments), with proof size and verifier cost from to depending on the polynomial commitment used — Set20.
Universal/updatable SNARKs
A universal SNARK has a setup that depends only on a bound on circuit size and outputs a structured reference string , together with a deterministic public algorithm that derives from and any circuit of size at most the proving and verification keys of ; and the key derivation run in time . For every circuit of size at most , fixed before is sampled, the scheme with ‘s derived keys is complete and knowledge-sound, and one polynomial , fixed with the scheme and independent of and , bounds and the running time of by for every of size at most . Deriving the keys of from a fresh for gives a SNARK in the sense above (Universal SNARK ⇒ SNARK) — folklore.
Systems like Plonk and Marlin use a single universal trusted setup for all circuits up to size , rather than a per-circuit setup. Plonk uses PLONKish arithmetization and KZG polynomial commitments (KZG10) — GWC19; in the algebraic group model, with challenges from a random oracle, it is knowledge-sound under a -type discrete-logarithm assumption (Bilinear pairing + q-DLOG ⇒ Universal SNARK) — GWC19.
An SRS is updatable if any party can update it, with security as long as at least one of the parties updating it is honest. A zk-SNARK whose SRS contains private secret-dependent polynomials cannot be updatable; GKM+18 build one whose SRS consists only of secret-dependent monomials, universal, updatable and of quadratic size, which can be specialized into linear-size relation-dependent SRSs with linear-time proving — GKM+18. Sonic is a zk-SNARK with a universal, continually updatable SRS of linear size and constant-size proofs — MBKM19.
Recursive SNARKs
Incrementally verifiable computation (IVC) was introduced by Val08. As an object, IVC is a tuple of algorithms such that for every deterministic step function computable by circuits of size , every initial state and every polynomial bound :
- ;
- , given the state after steps and its proof ( empty), outputs a proof for in time , independent of ;
- .
It is complete if for every , for the honest proof , computed by calls to from , except with negligible probability. It is succinct if there is a polynomial , fixed with the scheme and independent of , , and , such that and the running time of are at most ; the term absorbs the constant composition depth . It is sound if for all efficient ,
is negligible. Since is independent of and , and enters only through , a verifier that recomputes , in time about , does not meet the bound, which makes the notion non-trivial — standard. A recursive SNARK proves that earlier proofs verify. Extraction cost grows polynomially with each level of nesting, so such composition is proved sound only to constant depth; a depth reduction then gives IVC for any fixed polynomial bound on the number of steps (SNARK ⇒ Recursive SNARKs) — BCCT13.
Fully succinct SNARKs
A fully succinct SNARK is a publicly verifiable SNARK for the universal relation whose runs in time and outputs a independent of the computation. For every polynomial , proofs have size , verification takes time , and proving takes time — BCCT13. As an object, the bound is uniform: there is a polynomial , fixed with the scheme, with for every statement . Knowledge soundness is for running times polynomial in the instance length: for every constant and every efficient there is an efficient such that, for , the probability that outputs with and while outputs no with is negligible. One scheme serves every . A preprocessing SNARK, as in the syntax above, may instead have a and a setup time that grow with the circuit; BCCT13 bootstrap such SNARKs into fully succinct ones (SNARK + CRHF ⇒ Fully succinct SNARK) — BCCT13.
Interactive succinct arguments
An interactive argument system for every language , whose prover–verifier communication is for statements whose verification takes time , with either no setup or public parameters of length sampled by an honest setup (a common random string, or uniformly random group elements whose discrete-logarithm relations no party knows), not counted in the communication. It is complete if for every true statement with its witness , fixed before the public parameters are sampled, accepts its interaction with the honest prover holding with probability at least , over the coins of the public parameters and of both parties, and sound if for every fixed before the public parameters are sampled and every efficient prover , is negligible. Kilian’s protocol needs no setup (Arbitrary-length CRHF ⇒ Succinct arguments for NP (Kilian)) — Kil92; the argument of Bootle et al. uses uniformly random group elements as public parameters (DLOG ⇒ Succinct arguments for NP) — BCCGP16.
SNARGs for P
A publicly verifiable non-interactive argument in the CRS model for deterministic computations, with no knowledge extractor. A statement is a pair of a deterministic Turing machine and an input, true for a time bound when accepts within steps. The scheme consists of , and , and there is a polynomial , fixed with the scheme and independent of , such that for every polynomial : and are at most ; runs in time at most ; runs in time ; for every true statement, fixed before the setup runs, accepts the honest proof with probability at least , over the coins of the setup and of the prover (completeness); and for all efficient , the probability that outputs with although does not accept within steps is negligible (adaptive soundness). CJJ21 construct one from LWE with a common random string (LWE with polynomial ratio ⇒ SNARG for P). Since is fixed before , for with above the degree of the verifier cannot run for steps, which is what makes the notion non-trivial — standard.
SNARGs for NP with sublinear proofs
For an relation with language , a publicly verifiable non-interactive argument for in the CRS model is a tuple of efficient algorithms with , and . takes no other input, so depends on neither the statement length nor a circuit; the syntax above and its quantifier over circuits of size do not apply. The argument is complete if for every output by and every , and adaptively sound if for all efficient , the probability that , for , outputs with and is negligible. Its proofs have exponent if there is a polynomial , fixed with the scheme, such that for every , every of any lengths and every output by , . A SNARG for NP with sublinear proofs is, for a constant independent of , a complete and adaptively sound argument with proofs of exponent for every relation . No knowledge extractor is required, and verification time is not bounded. This is the succinctness KMY20 require, with neither knowledge soundness nor efficient verification — KMY20.
Designated-verifier delegation for P
A designated-verifier delegation scheme for P is an argument for statements , true for a time bound when the deterministic machine accepts within steps, with , and . There is a polynomial , fixed with the scheme and independent of , such that for every polynomial : runs in time at most , so is independent of the statement, and and are at most ; runs in time ; runs in time at most ; for every true statement, fixed before runs, accepts the honest proof with probability at least , over the coins of and of the prover (completeness); and for every false statement fixed before is sampled, every efficient prover given makes accept with negligible probability (non-adaptive soundness). Since is fixed before , for with above the degree of the verifier cannot run for steps, which is what makes the notion non-trivial — standard. From PIR with polylogarithmic communication, a scheme exists whose public key is reusable and whose soundness is adaptive (PIR with polylogarithmic communication ⇒ Designated-verifier delegation for P) — BHK17; from sub-exponentially secure PIR, 1-round delegation exists for every language computable in time , with prover time and verifier time — KRR14.
Designated-verifier SNARGs
A designated-verifier SNARG is a preprocessing argument for circuit satisfiability in which outputs a reference string and a secret verification state , , and ; a statement is true when for some . For a polynomial independent of , proofs have size at most and runs in time at most , while may take time . It is complete if for every with , fixed before the setup runs, with probability at least , over the coins of the setup and of the prover. Soundness is non-adaptive and without a verification oracle: for every false fixed before is sampled and every efficient prover , is negligible. A publicly verifiable SNARK with these size and time bounds is one, with , since knowledge soundness implies soundness — standard. Linear-only encryption gives one whose proofs are a constant number of ciphertexts (Linear-only encryption ⇒ Designated-verifier SNARG) — BCIOP13, and linear-only vector encryption, which BISW17 conjecture variants of Regev encryption satisfy, gives a lattice-based one (Linear-only vector encryption ⇒ Designated-verifier SNARG) — BISW17. For an language with a sub-exponentially hard subset-membership problem, a reduction that uses the prover only as an oracle proves adaptive soundness of a designated-verifier SNARG from a falsifiable assumption only if the assumption is false (No fully-black-box reduction from Falsifiable assumption to fully succinct SNARKs) — GW11.
Batch arguments for NP
A batch argument (BARG) for is a non-interactive argument in the CRS model for statements , true when every has a witness with , for a Boolean circuit . It consists of , where a construction may ignore or , and . A proof has size and runs in polynomial time. It is complete if for every true statement with its witnesses , fixed before the setup runs, accepts the honest proof with probability at least , over the coins of the setup and of the prover. Soundness is non-adaptive: for every false statement , some having no witness, fixed before is sampled, every efficient prover makes accept with negligible probability — CJJ21. Without the size bound the witnesses form a proof — standard. CJJ21 construct one from LWE (LWE with polynomial ratio ⇒ BARG for NP).
Other results
- ROM ⇒ STARK
- The Fiat–Shamir transform removes interaction from a public-coin protocol but keeps its communication, so in the random oracle model it yields succinct arguments only from succinct protocols: Merkle-committed PCPs (CS proofs) — Mic00; public-coin IOPs with state-restoration soundness — BCS16
- Many SNARKs (e.g. Plonk, Marlin) compile a polynomial IOP, obtained from an arithmetization, with a polynomial commitment scheme — CHM+20
- Bilinear pairing ⇒ zk-SNARK: Groth16 is knowledge-sound in the generic bilinear group model — Gro16; in the algebraic group model its knowledge soundness reduces tightly to the -DLOG assumption (Bilinear pairing + q-DLOG ⇒ zk-SNARK) — FKL18
- No fully-black-box reduction from Falsifiable assumption to SNARK
Participates in
Builds on Succinct argument
- Fully succinct SNARK ⇒ SNARG for NP with sublinear proofs (via Fully succinct SNARKs)
- SNARK + CRHF ⇒ Fully succinct SNARK (bootstrapping)
- Sublinear SNARG + OWF ⇒ NIZK argument (via SNARGs for NP with sublinear proofs)
- SNARK ⇒ Recursive SNARKs
- STARK ⇒ SNARK (via STARK)
- Universal SNARK ⇒ SNARK (via updatable SNARKs)
- zk-SNARK ⇒ SNARK (via zk-SNARK)
Produces Succinct argument
- Bilinear pairing + k-Lin ⇒ BARG for NP (via Batch arguments for NP)
- Bilinear pairing + q-DLOG ⇒ Universal SNARK (PLONK) (via updatable SNARKs)
- Bilinear pairing + q-DLOG ⇒ zk-SNARK (Groth16 in the AGM) (via zk-SNARK)
- Bilinear pairing ⇒ zk-SNARK (via zk-SNARK)
- Arbitrary-length CRHF ⇒ Succinct arguments for NP (Kilian) (via Interactive succinct arguments)
- Fully succinct SNARK ⇒ SNARG for NP with sublinear proofs (via SNARGs for NP with sublinear proofs)
- ROM ⇒ STARK (via STARK)
- Linear-only encryption ⇒ Designated-verifier SNARG (via Designated-verifier SNARGs)
- Linear-only vector encryption ⇒ Designated-verifier SNARG (lattice-based) (via Designated-verifier SNARGs)
- Extractable PCS ⇒ SNARK
- PIR with polylogarithmic communication ⇒ Designated-verifier delegation for P (via Designated-verifier delegation for P)
- LWE with polynomial ratio ⇒ BARG for NP (via Batch arguments for NP)
- LWE with polynomial ratio ⇒ SNARG for P (via SNARGs for P)
- DLOG ⇒ Succinct arguments for NP (Bootle et al.) (via Interactive succinct arguments)
- QROM ⇒ zk-SNARK (Micali’s construction in the QROM) (via zk-SNARK)
- ROM ⇒ SNARK (Micali’s CS proofs)
- SNARK + CRHF ⇒ Fully succinct SNARK (bootstrapping) (via Fully succinct SNARKs)
- SNARK ⇒ Recursive SNARKs (via Recursive SNARKs)
- Subgroup decision ⇒ BARG for NP (via Batch arguments for NP)
- Succinct state-restoration-sound IOP ⇒ STARK (BCS transform) (via STARK)
- STARK ⇒ SNARK
- Universal SNARK ⇒ SNARK
- zk-SNARK ⇒ SNARK
Barriers