Zero-Knowledge SNARKs

Zero-knowledge SNARKs turn computation into algebraic constraints and certify their satisfiability with short proofs. Binding the polynomials and hiding the witness are separate obligations.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
1 min
In this article3 chapters
  1. A gate becomes an algebraic relation
  2. A polynomial opening has a divisibility witness
  3. Different systems arrange the constraints differently

A gate becomes an algebraic relation

Represent public inputs and private witnesses by entries of a vector \(w\). A rank-one constraint has the form

\[ \langle a,w\rangle\langle b,w\rangle=\langle c,w\rangle. \]

The linear forms can select existing wire values or combine them. For example, a constraint can require a designated output wire to be the product of two input wires. Linear consistency between reused wires is equally important. Without it, a proof could satisfy individual gates using inconsistent meanings for what should be one value.

Commitment hiding and binding separate two guarantees used by a proof construction. Polynomial interpolation explains why a bounded-degree polynomial is fixed by sufficiently many distinct evaluations.

A polynomial opening has a divisibility witness

Suppose a committed polynomial \(f\) is claimed to evaluate to \(y\) at \(z\). The corresponding quotient identity is

\[ f(X)-y=(X-z)q(X). \]

A valid quotient exists exactly when the value claim holds. KZG commitments allow a short proof of such an opening through a pairing check and a prescribed structured setup. The commitment layer provides binding under its assumptions. Hiding private witnesses requires additional blinding in the proof system. Evaluation binding alone does not provide zero knowledge.

Different systems arrange the constraints differently

Groth16 uses a pairing-based construction with a circuit-specific setup in its usual form. PLONK organizes gates in rows and uses a permutation argument to enforce copies of witness values across rows. Its polynomial commitment assumptions depend on the chosen instantiation. A protocol also has to bind the proof to the intended public statement and field. Compare STARKs, interactive proofs, and anonymous credentials for different uses of proofs without revealing witnesses.[1][2][3]

References

  1. Jens Groth, On the Size of Pairing-Based Non-Interactive Arguments ↩
  2. Ariel Gabizon, Zachary J. Williamson and Oana Ciobotaru, PLONK ↩
  3. Aniket Kate, Gregory M. Zaverucha and Ian Goldberg, Polynomial Commitments ↩