Interactive Public-Coin IOP Execution and Round-by-Round Escape Union Bounds #
This module defines sequential adaptive execution for a PublicCoinIOP
(CslibFrontier.Crypto.Protocols.BCS.Basic) against an arbitrary (possibly randomized,
prefix-dependent) prover InteractiveIOPProver, and proves generic union-bound soundness theorems
summing per-round escape probabilities across rounds ([BSCS16];
[CY24]; compare the commit-phase bad-event sum in the proof of Lemma 8.2 in
[BenSassonCarmonIshaiKoppartySaraf2020, Section 8.2.1, p. 42] and its combination with query rounds
in the proof of Theorem 8.3 on p. 40).
Because this module depends only on PublicCoinIOP and finite uniform distributions, any
public-coin IOP can import these interactive soundness combinators without pulling in
protocol-specific layers such as FRI coset folding or random-oracle Merkle extraction.
Main definitions #
Cslib.Crypto.Protocols.BCS.InteractiveIOPProver: adaptive (possibly randomized) cheating IOP prover mapping a transcript prefixList (OracleTable d Sym × Chal)to aPMFover the next committed oracle table.Cslib.Crypto.Protocols.BCS.InteractiveIOPProver.ofCausal: lifts a deterministic causal prover(j : Fin r) → (Fin j.val → Chal) → OracleTable d Symto anInteractiveIOPProver.Cslib.Crypto.Protocols.BCS.iopRunRounds: runsksequential public-coin IOP rounds from a transcript prefix against independent uniform verifier challenges.Cslib.Crypto.Protocols.BCS.iopInteractiveGame: runs allrrounds of aPublicCoinIOPand evaluatesiopVerify.
Main results #
Cslib.Crypto.Protocols.BCS.length_of_mem_support_iopRunRounds: every transcript in the support ofiopRunRounds P k prefhas lengthpref.length + k.Cslib.Crypto.Protocols.BCS.iopPrefixEscape_le_sum: prefix union bound≤ ∑ j : Fin k, ε_round jfor escapingdoomedoverkadaptive public-coin rounds.Cslib.Crypto.Protocols.BCS.iopCommitPhase_map_true_le_sum: commit-phase-plus-final-oracle union bound≤ ∑ j : Fin k, ε_round jwhen every doomed length-kprefix forcesbadFinal = false(abstract template for the commit-phase bad-event sum in the proof of [BenSassonCarmonIshaiKoppartySaraf2020, Lemma 8.2, Section 8.2.1, p. 42]).Cslib.Crypto.Protocols.BCS.iopInteractiveGame_le_sum: fullr-round summed interactive IOP soundness≤ ∑ j : Fin r, ε_round jfromIOPRoundByRoundSoundness.Cslib.Crypto.Protocols.BCS.iopInteractiveGame_ofCausal_eq: for a deterministic causal prover,iopInteractiveGamecoincides with evaluatingiopVerifyon a single uniform draw ofFin r → Chal.Cslib.Crypto.Protocols.BCS.iopEscape_le_sup_of_perRound: converts indexed per-round escape boundsε_round : Fin r → ℝ≥0∞into the uniform all-prefix boundFinset.univ.sup ε_roundconsumed byCslib.Crypto.Protocols.BCS.bcsROMSoundness_bound.
References #
Adaptive (possibly randomized) cheating IOP prover mapping a transcript prefix of committed oracles and verifier challenges to a distribution over the next committed oracle table.
Lift a deterministic causal IOP prover P (whose j-th oracle depends only on the preceding
j verifier challenges) to an InteractiveIOPProver.
Execute k sequential public-coin IOP rounds starting from transcript prefix pref: in each
round the prover samples π ← P pref' and the verifier draws c uniformly from Chal.
Every transcript in the support of iopRunRounds P k pref has length pref.length + k.
Full r-round interactive public-coin IOP soundness game: runs P against r independent
uniform verifier challenges and returns iopVerify iop x chals oracles.
Prefix union bound for interactive public-coin IOPs: if the empty transcript is doomed,
goodStep preserves doomed, and round j < k escapes goodStep with probability at most
ε_round j from any doomed length-j prefix, then after k adaptive interactive rounds the
probability of escaping doomed is at most ∑ j : Fin k, ε_round j
(abstract first-escape sum underlying the proof of Lemma 8.2 in
[BenSassonCarmonIshaiKoppartySaraf2020, Section 8.2.1, p. 42]).
Commit-phase-plus-final-oracle union bound (abstract template for the commit-phase bound
of [BenSassonCarmonIshaiKoppartySaraf2020, Lemma 8.2, pp. 38–39], proved via the bad-event sum in
Section 8.2.1, p. 42): if every doomed length-k prefix forces badFinal pref πFinal = false for
all final oracle tables πFinal, then running k commit rounds and sampling πFinal ← P pref
produces badFinal pref πFinal = true with probability at most ∑ j : Fin k, ε_round j.
Summed interactive soundness for PublicCoinIOP from IOPRoundByRoundSoundness and
per-round escape budgets ε_round : Fin r → ℝ≥0∞: for every x ∉ lang and adaptive (possibly
randomized) prover P, the acceptance probability iopInteractiveGame iop x P true is at most
∑ j : Fin r, ε_round j.
For a deterministic causal prover P, the sequential iopInteractiveGame coincides with
evaluating iopVerify under a single uniform draw of chals : Fin r → Chal.
Bridge from per-round escape budgets ε_round : Fin r → ℝ≥0∞ to the uniform all-prefix escape
bound ≤ Finset.univ.sup ε_round consumed by Cslib.Crypto.Protocols.BCS.bcsROMSoundness_bound
when prefixes of length ≥ r trivially satisfy goodStep.