Zero-Knowledge STARKs
A STARK checks a computation trace through polynomial identities and low-degree proximity. Boundary conditions and transition rules cover different parts of the trace.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 3
- Reading time
- 2 min
In this article3 chapters
From a trace to a polynomial constraint
Consider a trace whose next state is the square of the previous one plus a public constant. Interpolate the state column on successive powers of a field element \(\omega\), obtaining a polynomial \(f\). On the transition domain, excluding the last row, the constraint polynomial is
\[ T(X)=f(\omega X)-f(X)^2-c. \]
It vanishes on every transition point. Divide by the polynomial vanishing on that domain and require the resulting quotient to have the expected low degree. Boundary constraints separately pin the initial and final values. Otherwise a trace can satisfy every transition while computing from an unintended initial state.
Polynomial interpolation connects evaluation tables with bounded-degree functions. An algebraic fingerprint provides a small example of using a random field point to check a polynomial identity with bounded error.
Low degree is tested through folding
FRI tests proximity of a table to a low-degree Reed–Solomon codeword. Decompose a polynomial into even and odd parts and fold them using a random scalar \(\beta\).
\[ f(X)=f_e(X^2)+X f_o(X^2),\qquad g(Y)=f_e(Y)+\beta f_o(Y). \]
A valid low-degree polynomial yields a folded polynomial with roughly half the degree bound. Repeating and checking correlated locations lets the verifier test consistency without reading the whole table. The proof of soundness needs a field, evaluation domains, a distance parameter and enough independent query checks.
Commitments connect the checks to one trace
Merkle commitments bind oracle tables before challenges are generated. A noninteractive instantiation derives challenges from the transcript under the appropriate model. Low-degree proximity checks alone neither fix public boundary values nor supply zero knowledge. Masking the trace is a further design step. Compare SNARKs, interactive verification, and algebraic coding theory for the ingredients.[1][2]