Scalar-challenge QuickSilver multiplication checks #
For t multiplication claims, the original QuickSilver arithmetic samples one public scalar
chi after the wire values and masks are fixed and weights gate i : Fin t by
chi ^ (i.val + 1). The first exponent is one, matching the source convention
[t] = {1, ..., t}. The prover's pair is kept in source order: constant coefficient first and
linear coefficient second. The verifier checks W = U + V * delta.
QuickSilver types wire values over a base field F_p and MAC masks, tags, and the global key over
an extension field F_{p^r}. This API puts x, y, z, every mask and tag, and delta in one
field F. It therefore formalizes the source equation after embedding the wire values into the
extension field; it does not formalize that embedding, its image, or subfield-membership
conditions.
The library's existing batched multiplication check instead samples one independent field element
per gate and stores its reply in linear-then-constant order. This module is the
convention-preserving bridge between those APIs. A single valid VOLE coordinate also supplies the
source mask relation
Bstar = A0star + A1star * delta: its v component masks the constant coefficient, its u
component masks the linear coefficient, and its w component masks the verifier value.
For a false batch, scalar cancellation occurs with probability at most t / |F|. Conditional on
noncancellation, an arbitrary reply chosen after chi passes for at most two values of the
independent hidden key. The sequential experiment therefore has error at most (t + 2) / |F|.
This is the multiplication-gate arithmetic and check from [YSWW21], Section 3.1,
printed pp. 6--7, and Section 4.2/Figure 5, printed pp. 12--13. The soundness argument immediately
after Figure 5, printed p. 14, gives the 2 / p^r hidden-key term, t / p^r scalar-cancellation
term, and (t + 2) / p^r union bound. The explanatory check in [BBDdSG+23a], Section 2.3.2,
printed pp. 12--13, uses the same scalar powers. The concrete FAEST v2 and v3 verifiers instead use
universal hashing [BBB+25]; v3 additionally uses degree-seven constraints and CRT masks
[BBB+26c]. This module does not formalize those hashes or masks.
Main definitions #
quickSilverWeight: the exact one-based scalar challenge weight.quickSilverMulCheckReply: the unmasked source-order pair(U, V).quickSilverMaskedReply: the source-order pair with one VOLE mask.quickSilverMulCheckValue,quickSilverMaskedValue: the corresponding verifier values.
Main results #
quickSilverMulCheck_sub_eq: the scalar-weighted degree-two identity.quickSilverMulCheck_complete,quickSilverMaskedReply_correct: unmasked and masked completeness.toOuterMeasure_quickSilverWeight_sum_eq_zero_le: thet / |F|scalar-cancellation bound.toOuterMeasure_quickSilverMulCheck_key_le: the conditional2 / |F|hidden-key bound.toOuterMeasure_quickSilverMulCheck_le: the sequential(t + 2) / |F|bound.toOuterMeasure_quickSilverMulCheck_bind_le: the same bound for randomized sender state.
References #
- K. Yang, P. Sarkar, C. Weng, X. Wang, QuickSilver: Efficient and Affordable Zero-Knowledge Proofs for Circuits and Polynomials over Any Field
- C. Baum et al., FAEST: Algorithm Specifications, version 1.0
- C. Baum et al., FAEST v2: Algorithm Specifications, version 2.0
- C. Baum et al., FAEST v3: Algorithm Specifications, version 3.0
The scalar-weighted check has leading coefficient equal to the scalar-weighted residual.
The remaining coefficients are exactly the source-order reply, reversed when written as a
polynomial in delta.
Honest multiplication claims satisfy the unmasked source equation W = U + V * delta.
A valid fresh VOLE coordinate preserves the masked source equation. The sender-side
components u 0 and v 0 enter the reply, while the receiver-side component w 0 enters the
verifier value.
If at least one fixed residual is nonzero, the scalar-power weighted sum vanishes for a
uniform challenge with probability at most t / |F|. The residuals are fixed before chi is
sampled. The bound includes the unavoidable cancellation at chi = 0 for every nonempty batch.
Conditional on a nonzero scalar-weighted residual, an arbitrary source-order affine reply
passes the multiplication check for an independent uniform hidden key with probability at most
2 / |F|.
A false fixed batch, followed by a uniform scalar challenge, an arbitrary randomized reply
depending on that challenge, and an independent uniform hidden key, accepts with probability at
most (t + 2) / |F|. The two summands are the scalar-cancellation and hidden-key failures.
An arbitrary randomized sender fixes all wires and masks before the scalar challenge. Its
reply may depend on its state and on chi, but not on the subsequently sampled hidden key. The
bad event includes a false multiplication claim, so it is empty for t = 0.