Arbitrary-degree QuickSilver VOLE checks and ACT V1 challenge-dependent batching #
This module formalizes QuickSilver / VOLE-IT-MAC polynomial constraint checks of arbitrary degree
d ≥ 1 over a finite field or commutative ring, exact ideal-world full-view simulation via
(d - 1) VOLE masks, independent-weight and scalar-power batching soundness over arbitrary
challenge embeddings (including single-shot FAEST grinding subsets), and the ACT V1 domain-separated
random linear combination (l = H(chal2 || domain)) check in the random oracle model.
For a multivariate constraint F_poly of total degree at most d evaluated on VOLE-authenticated
wires ρ_i(X) = v_i + w_i * X, homogenizing every monomial of total degree deg ≤ d by
X ^ (d - deg) yields a univariate polynomial qsHomogPoly d F_poly w v of degree at most d
whose degree-d coefficient is MvPolynomial.eval w F_poly. Adding (d - 1) fresh VOLE
mask correlations (u_m, v_m, q_m) blinds the lower d coefficients via the telescoping
QuickSilver mask coefficients qsMaskCoeff so the entire honest receiver view is perfectly
simulatable for all d ≥ 1 over arbitrary finite commutative rings. Completeness and exact
full-view simulation for honest receivers (qsMaskedCheckView_eq_simulate) and arbitrary
role-local adaptive receiver strategies (qsMaskedCheckReceiverView_eq_simulate) are proved for
qsMaskedCheck. Each simulation result is an exact view equality for one execution in the cached
ideal correlation world with trusted uniform setup and fresh masks, using a straight-line
witness-free simulator whose efficiency is not certified; it introduces no new ZK predicate and
makes no reset, concurrent-session, VOLE-in-the-head, plain-model, or malicious-verifier ZK claim
(matching VOLE.MaskedMulCheck and VOLE.AdaptiveMulCheck). Single-shot independent-weight
soundness (1 / |F| + (1 - 1 / |F|) * (d / |C|)) is proved at the value level for
qsMaskedCheckValue (toOuterMeasure_qsMaskedCheckValue_le, via
toOuterMeasure_qsHomogLinearBatch_le); unmasked challenge-embedding soundness (d / |C|) and
scalar-power batching (t / |F| + d / |C|) are proved in toOuterMeasure_qsCheck_le_of_embedding
and toOuterMeasure_qsHomogScalarBatch_le.
For any fixed polynomial P of degree at most d with nonzero degree-d coefficient and any
challenge embedding ι : C ↪ F, univariate Schwartz–Zippel bounds the acceptance probability over
c ← uniformOfFintype C by d / |C|. Combining FAEST.Challenge grinding-bit filtering gives
single-shot bounds d / 2 ^ λ (raw uniform λ-bit challenge with rejection) and
d / 2 ^ (λ - w_grind) (uniform over accepted challenges); these single-shot bounds do not model
Fiat–Shamir grinding amplification or state-restoration soundness.
For VOLE-ACT's Spending relation (m_uov = 45 in [ZPS26], Instantiations /
VOLE-ACT-KP800 Table vole-act-kp800-parameters) as realized in vole-mole ([PZ26],
commit 87af6871f: d_zk = 9, ℓ' = 6784, C' = 12283, and "rata\x00l0" RLC), suffixing the
trailing domain byte 0x30 onto fixed-length byte messages ByteMsg n := Fin n → Fin 256
separates ACT's RLC trailing byte from the FAEST v3 H_i trailing bytes (0, 1, 3..5, 8..11) plus
vole-mole's H_2^4 = 12 in faestTrailingDomainBytes, splitting a single uniform finite random
oracle H_all : ByteMsg (n + 1) → Fin m → F into independent uniform tables (vole-mole's own
7-byte ACT_*_DST / IHAT / PoMFRIT tags mostly end in '0' = 0x30, separated by their penultimate
purpose byte such as 'l' in "rata\x00l0", and are outside this single-trailing-byte model).
This gives the conditional single-shot Round-2+3 interactive QuickSilver steps
toOuterMeasure_actV1_qs_of_zkBinding_le (single oracle) and
toOuterMeasure_actV1_domainSeparated_qs_of_zkBinding_le (single-RO domain-separated) with error
q * δ_K + (1 / |F| + (1 - 1 / |F|) * (ε_zk + d / |C|)), together with the specialization
toOuterMeasure_actV1_foldedQS_le on foldedConstraint. Note that FAEST v3.0 Lemmas 4.6
(ℓ' ≤ 2^12), 4.7 (C' ≤ 2^13), and 10.40 (d_zk ∈ {7, 14}) are stated under hypotheses that
exclude ACT's d_zk = 9, ℓ' = 6784, C' = 12283; concrete VOLEHash / ZKHash constructions
and Fiat–Shamir multi-round soundness are not formalized here.
Source correspondence and gaps #
- [YSWW21]: Sections 3.1 and 4.2 describe the circuit-satisfiability protocol
background (
VOLE.Circuit/VOLE.MulCheck); the arbitrary-degree polynomial-set construction is in Section 3.2 and Section 5 (Figure 6), with security stated in Theorem 3 (Section 5.1) and proved in Appendix C (the Lean results remain finite algebraic and conditional). - [BBDdSG+23b], Appendix B.1 (printed p. 46; full version of [BBDdSG+23c]): sketches
generalization of sVOLE checks to arbitrary degree
dvia(d - 1)masks. - [BBDdSG+23a], Section 2.3.2: affine masking and scalar-power batched VOLE checks.
- [BBB+26c], Section 2.2 ("Adding Zero-Knowledge",
ZK.OWFProveFigure 7.19), Section 3.3 (H_0..H_5domain separation bytes), Section 5.4 (Figure 5.6 / Proposition 5.2), and Section 5.5 (Figure 5.7): QuickSilver(d_zk - 1)telescoping masking andChallengegrinding structure, and (cf. Lemmas 4.6–4.7 and Lemma 10.40, stated underd_zk ∈ {7, 14},ℓ' ≤ 2 ^ 12,C' ≤ 2 ^ 13) FAEST v3 parameter regimes. Concrete FAESTVOLEHash/ZKHash/ BAVC / signature reductions remain tracked in #4987. - [ZPS26], Instantiations / VOLE-ACT-KP800 (
m_uov = 45in Tablevole-act-kp800-parameters, leaving constraint expansion as TODO) and Spending (checks V1–V4). - [PZ26], commit
87af6871f49d29f9613ee893485c50566ca7d620: segmented Keccak Spend parameters (d_zk = 9,ℓ' = 6784,C' = 12283insrc/keccak/segmented.hppandsrc/act/spend.hpp),"rata\x00l0"RLC (ACT_SPEND_COMBINE_DSTinsrc/dst.hpp:44, invoked insrc/act/spend.hpp:383and hashed atsrc/uov/circuit.hpp:63–64), andH_2^4(12) insrc/voleith.hpp:126. Full VOLEitH ROM extraction beyond the bounded single-repetition step inVOLE.ROExtractor, and end-to-end ACT protocol security, remain tracked in #7068. (VOLE.MaskedMulCheckandVOLE.AdaptiveMulCheckinstantiateqsMaskedCheck,qsMaskedCheckView,qsMaskedCheckSimulate,qsMaskedCheckReceiverView, andqsMaskedCheckReceiverSimulateatd = 2.)
Main definitions #
Cslib.Crypto.Protocols.VOLE.qsPolySum,qsHomogPoly,qsHomogVerifierValue,qsMulGatePoly: arbitrary-degree QuickSilver homogenized wire evaluation, verifier check, and degree-2multiplication-gate polynomial.Cslib.Crypto.Protocols.VOLE.qsMaskCoeff,qsMaskValue,qsConsReply:(d - 1)-coordinate VOLE masking and reply assembly.Cslib.Crypto.Protocols.VOLE.qsMaskedCheckSpec,qsMaskedCheck,qsMaskedCheckView,qsMaskedCheckSimulate,qsMaskedCheckReceiverView,qsMaskedCheckReceiverSimulate: ideal-world masked degree-dQuickSilver protocol and honest/adaptive-receiver simulators.Cslib.Crypto.Protocols.VOLE.grindingAcceptedEquiv: bijection forFAEST.Challengezero suffix.Cslib.Crypto.Protocols.VOLE.foldedConstraint,actRLCDomainByte,faestTrailingDomainBytes,ByteMsg,FaestTaggedMsg,appendDomainByteFin,appendFaestDomainByteFin: ACT V1 RLC and finite trailing-byte domain separation.
Main results #
Cslib.Crypto.Protocols.VOLE.natDegree_qsHomogPoly_le,Cslib.Crypto.Protocols.VOLE.coeff_qsHomogPoly_eq_eval,Cslib.Crypto.Protocols.VOLE.qsHomogVerifierValue_complete: degree, leading term, and algebraic completeness of homogenized polynomial checks.Cslib.Crypto.Protocols.VOLE.qsMaskedCheck_output,Cslib.Crypto.Protocols.VOLE.qsMaskedCheck_complete,Cslib.Crypto.Protocols.VOLE.qsMaskedCheckView_eq_simulate,Cslib.Crypto.Protocols.VOLE.eval_interpret_voleReceiver,Cslib.Crypto.Protocols.VOLE.qsMaskedCheckReceiverView_eq_simulate,Cslib.Crypto.Protocols.VOLE.qsMaskedCheckReceiverSimulate_accepts,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsHomogLinearBatch_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsMaskedCheckValue_le: verifier output law, perfect completeness, cached-share receiver interpretation, exact single-execution ideal-world full-view simulation for honest and adaptive receivers (d ≥ 1, fresh masks, simulator efficiency uncertified), and independent-weight single-shot soundness (1 / |F| + (1 - 1 / |F|) * (d / |C|)) for degree-dhomogenized and masked checks.Cslib.Crypto.Protocols.VOLE.totalDegree_qsMulGatePoly_le,Cslib.Crypto.Protocols.VOLE.qsHomogPoly_qsMulGatePoly,Cslib.Crypto.Protocols.VOLE.qsHomogVerifierValue_qsMulGatePoly: degree-2multiplication-gate specialization matchingvoleMulCrossTermandvoleMulConstTerm.Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsCheck_le_of_embedding,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsHomogScalarBatch_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsCheck_grinding_accepted_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_qsCheck_grinding_raw_le: at-mostd / |C|soundness,(t / |F| + d / |C|)scalar-power batch bound, and single-shot FAEST grinding soundness.Cslib.Crypto.Protocols.VOLE.uniform_split_of_disjoint_range,Cslib.Crypto.Protocols.VOLE.disjoint_range_actRLC_faestDomainByteFin,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_actV1_qs_of_zkBinding_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_actV1_domainSeparated_qs_of_zkBinding_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_actV1_foldedQS_le: domain-separated single-RO splitting, conditional Round-2+3 QuickSilver steps, and unconditionalfoldedConstraintspecialization.
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., Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head (full version, ePrint 2023/996)
- C. Baum et al., FAEST: Algorithm Specifications, version 1.0
- C. Baum et al., FAEST v3: Algorithm Specifications, version 3.0
- T. Zhang, C. Patton, S. Schlesinger, VOLE-ACT
- C. Patton, T. Zhang, vole-mole (commit
87af6871f)
Arbitrary-Degree QuickSilver Homogenized Checks and VOLE Masking #
Homogenizing a multivariate polynomial F_poly of total degree at most d over Fin n on
authenticated wire polynomials v i + w i * X multiplies each monomial m of degree deg ≤ d
by X ^ (d - deg).
Receiver/verifier evaluation of a homogenized degree-d polynomial constraint from adjusted
wire tags q' : Fin n → R and global key delta : R.
Evaluating qsHomogPoly d F_poly w v at delta agrees with qsHomogVerifierValue on
fun i => w i * delta + v i, unconditionally over any commutative ring.
When F_poly.totalDegree ≤ d, the homogenized polynomial qsHomogPoly d F_poly w v has
natDegree ≤ d.
When F_poly.totalDegree ≤ d, the coefficient of X ^ d in qsHomogPoly d F_poly w v
equals MvPolynomial.eval w F_poly.
With a valid VOLE correlation c, the receiver's adjusted check value for F_poly equals
MvPolynomial.eval w F_poly * c.delta ^ d plus the verifier evaluation of the d lower
coefficients of qsHomogPoly d F_poly w c.v.
Algebraic completeness for a vanishing degree-≤ d constraint: the adjusted receiver value
equals qsPolySum on the lower d coefficients.
QuickSilver telescoping mask coefficients from (d - 1) extra VOLE mask pairs (u, v)
([BBB+26c], Section 2.2 "Adding Zero-Knowledge" and ZK.OWFProve Figure 7.19):
p_0 = v_0, p_j = v_j + u_{j-1}, p_{d-1} = u_{d-2}.
Evaluating the telescoping mask coefficients qsMaskCoeff d u v at delta produces
∑ k : Fin (d - 1), (u k * delta + v k) * delta ^ k for all d : ℕ.
When q_m k = u k * delta + v k for all k : Fin (d - 1), qsPolySum on qsMaskCoeff
equals qsMaskValue d q_m delta.
Degree-2 multivariate multiplication-gate constraint X a * X b - X c over any commutative
ring (supporting shared wire indices).
Every multiplication-gate constraint qsMulGatePoly a b c has total degree at most 2.
Homogenizing qsMulGatePoly a b c at d = 2 reproduces the quadratic VOLE multiplication
polynomial whose lower coefficients are voleMulCrossTerm and voleMulConstTerm.
The degree-2 verifier evaluation of qsMulGatePoly a b c is q' a * q' b - q' c * delta.
Honest- and Adaptive-Receiver View Simulation for Masked Degree-d QuickSilver #
Three-move interaction specification for masked degree-d QuickSilver checks: wire
corrections, public batch weights, then the d masked lower coefficients.
Honest reply coefficients 0 .. d - 1 of the masked batched degree-d constraint polynomial.
Setup wires 0 .. n - 1 commit the witness, while setup coordinates n .. n + (d - 1) - 1
provide the (d - 1) VOLE masks.
Receiver's scalar evaluation of the batched homogenized constraints plus the (d - 1) mask
tags.
Verification predicate for a masked degree-d QuickSilver transcript.
Algebraic completeness of qsMaskedCheckReply under any valid VOLECorrelation of length
n + (d - 1) for any degree-≤ d constraint family vanishing on w.
Public-coin role-local reduction for masked degree-d QuickSilver checks in voleWorld.
The reduction's verifier reads its cached receiver share and checks
QSMaskedCheckAccepts on the transcript.
Full honest receiver view (receiverShare, transcript) in voleWorld F (n + (d - 1)).
Witness-free simulator for the complete honest receiver share and public transcript, for every
constraint degree d ≥ 1.
Every simulated view satisfies QSMaskedCheckAccepts when 1 ≤ d.
Perfect completeness of qsMaskedCheck d constraints in voleWorld F (n + (d - 1)) for any
degree-≤ d constraint family.
Exact simulation of the entire honest receiver view in voleWorld F (n + (d - 1)) for any
degree d ≥ 1 and any degree-≤ d constraint family over a finite commutative ring. The view
includes the receiver's private key and tags, all witness corrections, the public batch weights,
and all d masked reply coefficients.
Full adaptive receiver view in voleWorld F (n + (d - 1)) against an arbitrary role-local
receiver strategy V. The receiver may read its private setup share, sample private coins, choose
weights depending on its share, corrections, coins, and auxiliary input z, retain state, and
re-read its cached share after the reply and during termination.
Witness-free adaptive-receiver simulator for degree-d masked QuickSilver checks (d ≥ 1),
running the receiver's own initialization and captured continuations against a cached uniform
share. Corrections are delivered before the receiver chooses weights, and the d - 1 higher
reply coefficients are sampled uniformly only after the weights and continuation are fixed.
Evaluating a role-local voleReceiverSpec program with every setup query answered by a
fixed cached share maps private coin draws to ProbComp.unifOracle and setup queries to
PMF.pure share.
Exact simulation of the full adaptive receiver view in voleWorld F (n + (d - 1)) for any
degree d ≥ 1 and any degree-≤ d constraint family over a finite commutative ring, against any
role-local receiver strategy V. The equality preserves the receiver's private setup share, full
public transcript, and arbitrary terminal view, including pre-challenge state and post-reply
cached-share reads.
Every adaptively simulated transcript satisfies QSMaskedCheckAccepts when 1 ≤ d, even
when the weights were chosen adaptively from the share, corrections, and private coins.
Soundness over Challenge Embeddings, Scalar Batching, and FAEST Grinding #
For any injective challenge map ι : C ↪ F and any polynomial P of degree at most d with
nonzero degree-d coefficient, at most d challenges satisfy P.eval (ι c) = qsPolySum d a (ι c).
Degree-d QuickSilver soundness over an arbitrary challenge embedding ι : C ↪ F: a fixed
degree-≤ d polynomial with nonzero degree-d coefficient passes against an arbitrary reply a
for a uniform challenge in C with probability at most d / |C|.
Full-field specialization (ι = Function.Embedding.refl F) giving error at most d / |F|.
Scalar-batched arbitrary-degree QuickSilver soundness: given t degree-≤ d multivariate
constraints constraints, scalar challenge chi ← uniformOfFintype F, adaptive reply
a chi, and hidden key c ← uniformOfFintype C via ι : C ↪ F, any false witness passes with
probability at most t / |F| + d / |C|, generalizing ScalarMulCheck from d = 2 to any d.
Independent-weight arbitrary-degree QuickSilver soundness: given fixed degree-≤ d
constraints, witness/mask vectors (w, v) violating at least one constraint, uniform independent
weights r ← uniformOfFintype (ι → F), adaptive reply a r, and hidden key
c ← uniformOfFintype C via ι_C : C ↪ F, any false witness passes with probability at most
1 / |F| + (1 - 1 / |F|) * (d / |C|).
Single-shot independent-weight soundness of qsMaskedCheckValue: for any fixed sender VOLE
vectors (u, v) and correction d_corr : Fin n → F whose effective committed witness
w' i := u (Fin.castAdd (d - 1) i) + d_corr i violates at least one constraint, an adaptive
prover receiving uniform weights r ← uniformOfFintype (ι → F) and verified against an
independent hidden key c ← uniformOfFintype C via ι_C : C ↪ F (where q := fun j => u j * ι_C c + v j) passes with probability at most 1 / |F| + (1 - 1 / |F|) * (d / |C|).
Exact bijection between grinding-accepted λ-bit challenges
(FAEST.Challenge.grindingAccepted) and BitString (λ - w_grind).
The subset of grinding-accepted λ-bit FAEST challenges is nonempty (witnessed by 0).
Single-shot soundness conditioned on uniform accepted FAEST grinding challenges: for any
embedding ι : BitString (λ - w_grind) ↪ F, acceptance over uniform accepted challenges has
probability at most d / 2 ^ (λ - w_grind). This is a single-shot uniform-challenge bound, not
Fiat–Shamir grinding amplification.
Single-shot soundness over raw uniform λ-bit FAEST challenges (including the trailing
w_grind zero-bit check): acceptance has probability at most d / 2 ^ λ ([BBB+26c],
Section 5.5, Figure 5.7; cf. Lemma 10.40 for RBR soundness under FAEST parameters). This models
single-shot verifier rejection, not Fiat–Shamir grinding amplification.
ACT V1 Domain-Separated Random Linear Combination and Conditional Round-2+3 Composition #
Trailing byte '0' = 0x30 of vole-mole's ACT Spend RLC domain separator "rata\x00l0"
([PZ26], src/dst.hpp:44,
ACT_SPEND_COMBINE_DST = make_dst("rata", act::VERSION, 'l', '0'), appended after chal2 in
src/act/spend.hpp:383 and hashed in src/uov/circuit.hpp:63–64).
ACT's RLC trailing byte 0x30 does not collide with the FAEST v3 H_i bytes or vole-mole's
H_2^4 = 12 in faestTrailingDomainBytes (vole-mole's own 7-byte tags share 0x30 via a
separate penultimate purpose byte and are outside this single-trailing-byte model).
Fixed-length n-byte message paired with a trailing FAEST v3 H_i / vole-mole H_2^4 byte
in faestTrailingDomainBytes.
Embed a (msg, b) : FaestTaggedMsg n pair into ByteMsg (n + 1) by appending its trailing
FAEST v3 H_i / H_2^4 separator byte b.1.
ACT's trailing byte actRLCDomainByte (0x30) separates ByteMsg n RLC queries from all
FaestTaggedMsg n queries (FAEST v3 H_i bytes plus vole-mole's H_2^4 = 12) inside the
shared finite domain ByteMsg (n + 1).
Restricting a single uniform random oracle table H : K_all → V along embeddings ι₁, ι₂ with
disjoint ranges produces two independent uniform random oracle tables.
Folded degree-≤ d constraint polynomial ∑ j, C (l j) * P j produced by Round-2 RLC
coefficients l : Fin m → F.
Conditional step (Round-2 + Round-3 interactive QuickSilver): given an adaptive q-query
adversary M outputting degree-≤ d constraint polynomials P s : Fin m → Polynomial F, and an
auxiliary Round-2 polynomial Q s k l of degree ≤ d and acceptance predicate ZKAccepts s k l
whose cheating event ZKAccepts s k l ∧ (Q s k l).coeff d = 0 has distK-probability at most
ε_zk whenever (foldedConstraint (P s) l).coeff d ≠ 0, joint Round-2+3 verification succeeds
with probability at most q * δ_K + (1 / |F| + (1 - 1 / |F|) * (ε_zk + d / |C|)). This models a
single-shot interactive step conditional on hzk and hdegQ; it does not verify how Round 2 binds
Q to P and l, nor does it model Fiat–Shamir soundness.
Conditional step (domain-separated single-RO Round-2 + Round-3 interactive QuickSilver):
against a single shared random oracle H : K_all → Fin m → F accessed through disjoint embeddings
ι₁ : K₁ ↪ K_all (the ACT RLC slice, queried at most q times) and ι₂ : K₂ ↪ K_all (other
protocol slices, queried arbitrarily many times), any adversary M outputting (P s) with
Round-2 polynomial Q s k l and acceptance ZKAccepts s k l satisfies the same conditional bound
q * δ_K + (1 / |F| + (1 - 1 / |F|) * (ε_zk + d / |C|)) under hzk and hdegQ. Models a
single-shot interactive step, not Fiat–Shamir soundness.
Single-shot interactive folded-polynomial ACT V1 Round-2 + Round-3 QuickSilver check:
instantiating Round 2's check directly with Q := foldedConstraint (P s) l eliminates ZKAccepts
and ε_zk = 0, bounding false-instance acceptance against an adaptive q-query adversary M by
q * δ_K + (1 / |F| + (1 - 1 / |F|) * (d / |C|)). Like toOuterMeasure_actV1_qs_of_zkBinding_le,
this models a single-shot interactive Round-2+3 step, not Fiat–Shamir soundness.