Straight-line ROM VOLE-in-the-head leaf extraction #
This module formalizes straight-line knowledge extraction in the classical random oracle model
(ROM) for flat all-but-one 2 ^ d-leaf (one-repetition, µ = 1) leaf_hash::shake-style
VOLE-in-the-head vector commitments, together with an adaptive multi-verify bound and a shared
verify-gated handler soundness-transfer interface.
Protocol model and extraction mechanism #
- Two-channel ROM (
VOLEITHROSpec): a leaf commitment oracleH_leaf(k, iv, idx) ↦ (sd, com)([BBDdSG+23a], v1.0H0(SHAKE) leaf commitments;faest-arch-optleaf_hash::shake) paired with a Fiat–Shamir challenge oracleH_FS(stmt, iv, coms, d_corr, preMsg) ↦ Δ(FSQuery). Includingd_corrandpreMsginsideH_FSbindsw* = d_corr + uandpreMsgbeforeΔis drawn, matching [BBDdSG+23b] and [BBB+26c]. FAEST.Conversionreconstruction: verifying the2 ^ d - 1opened indicespIdx = i ^^^ Δ(collectOpenRows) producesFAEST.verifierRows, soFAEST.convertExpandedRowssatisfiesFAEST.convertExpandedRows_correlation([BBB+26c], Section 5.4, Figure 5.6 / Proposition 5.2) whenever the prover'sH_leafqueries uniquely determine all2 ^ dleaves.- Zero-rewinding extraction (
extractWitnessFromTrace): reading only theH_leafquery trace recorded prior to running verification recovers all2 ^ dleaves andu, yielding the witnessdecWit (d_corr + u)straight-line. Using a two-channel sticky bad-state handler (voleithStickyMemoize) viaOracleComp.toOuterMeasure_bad_le_two(TwoCost), extraction failure across a single proof or an adaptivem-call verification oracle is bounded byQ_leaf * (Q_leaf + 2 ^ d * Q_FS) / 2 ^ comLen + Q_FS * ε_rel. - Verify-gated handler transfer (
VerifyGatedBridge):verifyGatedHandlerProg,verifyGatedHandler, andtoOuterMeasure_runWith_verifyGatedHandler_lepackage adaptive ROM verification gating cleanly so downstream protocol bridges (such asAnonymousToken.ROBridge) can transfer acceptance predicates to extracted-witness continuations without exposing internal sticky-flag state.
Main definitions #
LeafQuery,LeafOutput,FSQuery,VOLEITHProof,VOLEITHROSpec,LeafTrace,FSTrace,VOLEITHTraceState: two-channel lazy ROM interface and traces.voleithMemoizeProg,voleithMemoize,collectOpenRows,voleithVerifyROM,honestCommitLeaves,voleithProveLeafFS,voleithProveROM,voleithHonestGame: lazy two-channel verifier and honest prover.extractLeafFromTrace,extractRowsFromTrace,extractVOLEFromTrace,extractWitnessFromTrace: straight-line witness extraction fromH_leafquery logs.voleithKSBound,VOLEITHSoundnessError,voleithKSFailurePMF,voleithMultiVerifyHandler,verifyGatedHandlerProg,verifyGatedHandler: concrete error bound, multi-verify oracle, and verify-gated oracle handler.
Main results #
isCostBounded_leaf_voleithVerifyROM,isCostBounded_fs_voleithVerifyROM,isCostBounded_leaf_voleithProveLeafFS,isCostBounded_fs_voleithProveLeafFS: exact prover and verifier RO query budgets.voleithProveLeafFS_verify_of_fresh,voleithHonestGame_eq_pure_true: honest completeness in the two-channel ROM.voleithKnowledgeSoundness_bound: bounded conditional single-proof extraction error bound.voleithMultiVerifyROM_sound_bound: bounded conditional adaptive multi-verify extraction bound.verifyGatedHandlerProg_eval,runWith_verifyGatedHandler_liftRight,toOuterMeasure_runWith_verifyGatedHandler_le: executable-to-PMF equivalence and verify-gated acceptance transfer.
Scope and gaps #
- Bounded conditional step toward #7068 (#4987): models a single-repetition flat
2 ^ d-leafleaf_hash::shakecommitment takingVOLEITHSoundnessError(ε_rel) as a hypothesis; multi-tree BAVC (T_open, grinding bits), fullVOLEHash/ZKHashreductions (#4987), ideal-cipher AES-CTR extraction, and machine-checked PPT/TimeMruntime certificates remain open under #7068. All reductions are explicitProbComp/ProbOracleCompprograms with query-cost bounds, not Word-RAM or Turing-machine time bounds.
References #
- C. Baum et al., Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head (full version, ePrint 2023/996), Section 4 (Lemma 4, pp. 19–20, specialised here to one challenge round and RO leaf commitments).
- C. Baum et al., FAEST: Algorithm Specifications, version 1.0:
H0(SHAKE) leaf hashing. - C. Baum et al., FAEST v3: Algorithm Specifications, version 3.0, Section 5.4 (Figure 5.6 / Proposition 5.2) and Section 5.5 (Figure 5.7).
Two-Channel leaf_hash::shake ROM Interface and FAEST.Conversion Extraction #
Input query to the Fiat–Shamir oracle H_FS, hashing (stmt, iv, coms, dCorr, preMsg) before
drawing challenge Δ.
Combined non-interactive leaf_hash::shake VOLEitH proof.
Leaf random-oracle specification H_leaf.
Fiat–Shamir random-oracle specification H_FS.
Two-channel VOLEitH ROM oracle specification: leaf oracle on Sum.inl, Fiat–Shamir oracle on
Sum.inr.
Association-list trace recorded by H_leaf.
Association-list trace recorded by H_FS.
Combined two-channel lazy ROM trace (tr_leaf, tr_FS).
Extract the Fiat–Shamir query corresponding to (stmt, prf).
Two-channel association-list memoizer inside ProbComp, evaluating to
RandomOracle.memoizeSum.
PMF-level two-channel lazy random-oracle handler for VOLEITHROSpec.
Evaluating voleithMemoizeProg in PMF equals voleithMemoize.
Query H_leaf for indices i = 1, ..., k - 1 (vIdx ≠ 0) at prover positions
pIdx = FAEST.xorIndex i hidden, matching FAEST.verifierRows (0 at position 0).
VOLEitH verifier in the two-channel ROM (VOLEITHROSpec): queries H_FS on prf.fsQuery stmt
to draw Δ, opens the 2 ^ d - 1 non-hidden leaves via collectOpenRows, runs
FAEST.convertExpandedRows to compute qCols, and evaluates checkRel.
Look up a leaf_hash::shake leaf query (k, iv, idx) ↦ (sd, com) in tr_leaf matching
iv, idx, and target commitment coms idx.
Straight-line extraction of all 2 ^ d expanded VOLE rows from tr_leaf using expand,
defaulting unqueried leaves to 0.
Straight-line extraction of the binary VOLE (u, v₀, ..., v_{d-1}) conversion from
tr_leaf using FAEST.convertExpandedRows.
Zero-rewinding straight-line witness extractor: reads ONLY tr_leaf and prf, recovering
decWit (prf.dCorr + u).
Query H_leaf across all k leaves 0, ..., k - 1 under fresh keys, returning the
expanded rows rows and leaf commitment digests coms.
Leaf-and-FS oracle program for the honest leaf_hash::shake prover: commits all 2 ^ d leaves
via H_leaf, masks the witness with conv.u, queries H_FS on (stmt, iv, coms, dCorr, preMsg),
and outputs openKeys for all idx ≠ hidden.
Honest leaf_hash::shake prover in VOLEITHROSpec.
voleithProveLeafFS makes at most 2 ^ d H_leaf queries.
voleithProveLeafFS makes at most 1 H_FS query.
Honest prover-then-verifier execution in VOLEITHROSpec.
Generalized completeness of voleithProveLeafFS followed by voleithVerifyROM from any ROM
trace st₀ free of prior queries tagged with iv. Every generated proof verifies to true
without modifying st_mid, and all newly added trace entries carry iv.
Exact completeness of the leaf_hash::shake VOLEitH protocol in the two-channel lazy ROM:
running the honest prover and verifier against voleithMemoize from an empty trace accepts with
probability 1.
Sticky Two-Channel Bad-Event Bound and Straight-Line Knowledge Extraction #
Concrete knowledge-soundness error bound ε_KS for leaf_hash::shake VOLEitH in the
two-channel ROM: leaf collision + post-H_FS preimage hit + Fiat–Shamir unsound challenge hit.
Soundness error assumption on the underlying non-ROM check predicate checkRel: whenever the
reconstructed witness w* = decWit (dCorr + conv.u) fails Rel stmt, a uniform challenge
Δ ← Chal passes checkRel on FAEST.verifierRows rows (chalToIdx Δ) with probability at
most ε_rel : ℝ≥0.
Probability that an adaptive prover P followed by voleithVerifyROM succeeds (ok = true)
while extractWitnessFromTrace on P's pre-verification trace tr_P fails Rel.
Bounded, conditional step toward straight-line VOLEitH knowledge soundness (#7068, #4987), not
the cited lemma itself: conditional on hSound : VOLEITHSoundnessError ... ε_rel for a single
challenge repetition (µ = 1) over flat 2 ^ d-leaf leaf_hash::shake RO commitments
(ProbOracleComp query bounds, not full multi-tree BAVC or runtime certificates), running prover
P and extracting w* = extractWitnessFromTrace from tr_P without rewinding prior to
voleithVerifyROM fails with probability at most
voleithKSBound d comLen (Q_leaf + (2 ^ d - 1)) (Q_FS + 1) ε_rel : ℝ≥0. After
[BBDdSG+23b], Lemma 4, pp. 19–20.
Oracle specification for an adaptive m-call VOLEitH verification oracle alongside
VOLEITHROSpec.
Combined oracle allowing adaptive queries to both Verify (Sum.inl) and VOLEITHROSpec
(Sum.inr).
State of the multi-verify tracking oracle: (roState, anyExtractFailure).
Adaptive multi-verify handler running voleithVerifyROM on shared lazy ROM voleithMemoize
and recording anyExtractFailure = true if any verified proof fails straight-line witness
extraction against the H_leaf trace captured before verification.
Bounded, conditional step toward adaptive multi-verify VOLEitH soundness (#7068, #4987), not the
cited lemma itself: conditional on hSound : VOLEITHSoundnessError ... ε_rel for
single-repetition flat 2 ^ d-leaf leaf_hash::shake commitments (ProbOracleComp query bounds,
without full multi-tree BAVC or runtime certificates), if an adaptive adversary A with access to
Verify and VOLEITHROSpec makes at most m verification queries, Q_leaf direct H_leaf
queries, and Q_FS direct H_FS queries, then against voleithMultiVerifyHandler the probability
that any verified proof fails Rel extraction from tr_leaf prior to that call is at most
voleithKSBound d comLen (Q_leaf + m * (2 ^ d - 1)) (Q_FS + m) ε_rel : ℝ≥0. After
[BBDdSG+23b], Lemma 4, pp. 19–20, at µ = 1.
Shared Verify-Gated Sticky ROM Bridge #
Executable two-channel ROM oracle handler that gates external requests on voleithVerifyROM
before sampling onAccept.
PMF semantics of verifyGatedHandlerProg, passing the current H_leaf trace roSt.1 to
onAccept.
Evaluating verifyGatedHandlerProg on any query/state reduces to verifyGatedHandler.
Lifting a VOLEITHLeafSpec ⊕ₒ VOLEITHFSSpec subprogram into verifyGatedHandler runs
against voleithMemoize on roSt and preserves log unchanged.
Verify-gated acceptance transfer: running prog against verifyGatedHandler with
onAccept₁ satisfies boolean predicate pred with probability at most running with onAccept₂
plus voleithKSBound d comLen (Q_leaf + m * (2 ^ d - 1)) (Q_FS + m) ε_rel, provided
onAccept₁ and onAccept₂ agree whenever straight-line trace extraction satisfies Rel.