Smooth & Binary Summed Batched FRI IOP Soundness, Closed-Form Bounds, and BCS-FRI ROM Composition #
This facade re-exports the batched FRI soundness and BCS-FRI ROM composition modules
(SmoothBridge, SmoothUnique, SmoothDiscrete, SmoothJohnsonIOP, SmoothJohnsonROM,
BinaryBridge, BinaryUnique, BinaryDiscrete, BinaryJohnsonIOP, and BinaryJohnsonROM),
combining the round-0 unweighted affine-word escape bounds of
CslibFrontier.Crypto.Protocols.FRI.BatchSoundness with the per-round telescoping degree-(l⁽ⁱ⁾-1)
curve folding budgets of CslibFrontier.Crypto.Protocols.FRI.Soundness and
CslibFrontier.Crypto.Protocols.FRI.JohnsonSoundness through the generic interactive IOP union
bounds Cslib.Crypto.Protocols.BCS.iopCommitPhase_map_true_le_sum and
Cslib.Crypto.Protocols.BCS.iopInteractiveGame_le_sum
(CslibFrontier.Crypto.Protocols.BCS.Interactive), yielding unconditional whole-protocol
commit-phase, interactive IOP, and adaptive two-channel BCS random-oracle soundness upper bounds
for the (params.m + 2)-round smooth batched FRI protocol
Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP (per-round folding arity l⁽ⁱ⁾ = 2 ^ stepLog i ≥ 2)
and its binary 2-to-1 specialization Cslib.Crypto.Protocols.FRI.friBatchIOP across the
unique-decoding, discrete Guruswami–Sudan, closed-form Johnson, and η-gap regimes
([BSCI+23], accepted Journal of the ACM 2023 manuscript,
Section 8.2 on printed pp. 36–40 and Section 8.2.1 on printed pp. 41–43;
[BSCS16]; [CY24]).
Scope and relationship to the source theorems #
- Lemma 8.2, Section 8.2.1, Theorem 8.3, and BCS ROM (
bcs16): In [BSCI+23], Lemma 8.2 (printed pp. 38–39, Eq. (8.5)) bounds the batched FRI commit-phase failure probabilityε_Cand is proved in Section 8.2.1 (printed pp. 41–43) via the union bound over bad eventsE⁽⁰⁾, E⁽¹⁾, …, E⁽ʳ⁾(Eqs. (8.6)–(8.10) on printed p. 42) and telescoping across active domains (printed p. 43). Theorem 8.3 (printed p. 39, proved on printed p. 40 by applying Lemma 8.2) combines commit failureε_Cwithqindependent query repetitions (≤ α ^ q) to obtain interactive IOP soundnessε_C + α ^ qfor tuple correlated agreementbatchCorrAgreeLang t α. Both Lemma 8.2 and Theorem 8.3 are interactive IOP theorems; allbcsSoundnessGameresults in this module are separate two-channel BCS random-oracle compiler compositions ([BSCS16]; [CY24]). - Round-
0event vs. Section 8.2.1E⁽⁰⁾(defined before Eq. (8.8)), cutoffs, andt = 0: Section 8.2.1 (printed pp. 41–42) defines the round-0bad eventE⁽⁰⁾immediately before Eq. (8.8)—while Eq. (8.8) bounds its probability—viaμ⁽⁰⁾-weighted agreement of the reported oraclef⁽⁰⁾strictly aboveα⁽⁰⁾(ρ, m) = max(α, √ρ · (1 + 1 / (2 * m))), whereμ⁽⁰⁾(s) = 1only wheref⁽⁰⁾(s) = stmt.eval x sand0otherwise. Highμ⁽⁰⁾-weighted agreement off⁽⁰⁾implies at least as much unweighted agreement ofstmt.eval x, whereas reportingf⁽⁰⁾ ≠ stmt.eval xeverywhere makesμ⁽⁰⁾ ≡ 0and shows why the reverse implication can fail (in Lean's round ordering,x = c₀.batchCoeffsis sampled in round0beforef⁽⁰⁾is chosen in round1, andfriSmoothDoomedabsorbs any discrepancyf⁽⁰⁾ ≠ stmt.eval xviasum_agree_friSmoothOracleFilterWeight_le). Containment therefore depends on comparing cutoffs:- For integer parameters
n = 2 ^ d,B = n - e - 1, andstmt ∉ params.batchProximityLang t e, Lean's unweightedstmt.eval xround-0event (> B / n) containsE⁽⁰⁾wheneverB / n ≤ α⁽⁰⁾(ρ, m)(general integer(e, α, m)cutoffs can differ, e.g. atn = 16, k = 4, e = 7, α = 1 / 2, m = 3where> 8 / 16admits nine positions while> 7 / 12starts at ten). - In the real-
αcommit-phase bounds (> ⌊α₀ * 2 ^ d⌋₊, bridged to integer proximity viafriBatchFloorThreshold_boundsfromBatchProtocol.lean),friSmoothBatchCommitGame_le_of_johnsonusesα₀ = max(α, √ρ · (1 + 1 / (2 * mJ))), so at matching Johnson multiplicitymJ = m(or wheneverm ≤ mJ) the cutoffs satisfyα₀ ≤ α⁽⁰⁾(ρ, m)and Lean's unweighted round-0event unconditionally containsE⁽⁰⁾. - By contrast,
friSmoothBatchCommitGame_le_of_uniqueusesα₀ = max(α, (1 + ρ) / 2)and containsE⁽⁰⁾under the explicit condition(1 + ρ) / 2 ≤ α⁽⁰⁾(ρ, m)(failing in general when(1 + ρ) / 2 > α⁽⁰⁾(ρ, m): on𝔽₁₇ˣwithn = 16, k = 4, α = 1 / 2, m = 3, the paper's cutoff is7 / 12while the unique-decoding cutoff is5 / 8, and setting the base word to0on10positions andX⁴on6positions with directionX⁴satisfies common agreement≤ 4 ≤ 8yet, at batching scalar0with reported oracle equal to the base word so all weights are1, achieves10agreeing positions—clearing7 / 12while missing strict> 5 / 8). Likewise,friSmoothBatchCommitGame_le_of_johnson_etausesα₀ = max(α, √ρ + η)and containsE⁽⁰⁾under the explicit condition√ρ + η ≤ α⁽⁰⁾(ρ, m)(for example whenη ≤ √ρ / (2 * m)or√ρ + η ≤ α). Allt-uniform theorems state probability upper bounds (att = 0,stmt.eval x = stmt.baseis independent ofxand has round-0escape probability0).
- For integer parameters
- Query schedules and read budgets:
params.proofOracleQueries = kFinal + q * (aritySum + m + 2)(length_friSmoothBatchIOP_queries, specializing tokFinal + q * (3 * m + 2)atl⁽ⁱ⁾ = 2) is the exact committed-proof-oracle opening list length (so verifier Merkle costq_V = params.proofOracleQueries * (L_path + 1)is independent oft), whilefriSmoothBatchInputQueriesis theq-position direct-read schedule andbatchInputWordReads t = (t + 1) * q/batchTotalWordQueries t = kFinal + q * (aritySum + m + t + 3)are direct-read and combined word-query budgets (as an execution can reject early). - Original explicit Siegel constants, direct
η, and smooth2 ^ stepLog i-to-1 folding:friSmoothBatchJohnsonCommitError((2 - 1 / 2 ^ totalLog) * 1800 * (mJ + 1) ^ 6 * (2 ^ d) ^ 2 / (ρ * |F|)) andfriSmoothBatchJohnsonEtaCommitError((2 - 1 / 2 ^ totalLog) * 115200 * (2 ^ d) ^ 2 / (ρ * η ^ 6 * |F|), usingηdirectly rather thanmin(η, √ρ / 20)in Eq. (1.3)) are this library's original explicit Siegel finite bounds for smooth per-round folding arityl⁽ⁱ⁾ = 2 ^ stepLog i ≥ 2(specializing to binaryl⁽ⁱ⁾ = 2with(2 - 1 / 2 ^ m)viaFRIParams.toSmooth;mJ ≥ 1vs. the paper'sm ≥ 3), not uniformly smaller at smallmJthan the displayed(m + 1 / 2) ^ 7 / (2 * ρ ^ (3 / 2))+(2 * m + 1) * (|D⁰| + 1) / √ρ · ∑ l⁽ⁱ⁾expressions of JACM Lemma 8.2 / Theorem 8.3. Exact correspondence with the paper's displayed constants remains open on#5968.
Main definitions #
Cslib.Crypto.Protocols.FRI.friSmoothBatchRoundEscape,Cslib.Crypto.Protocols.FRI.friSmoothBatchSumError,Cslib.Crypto.Protocols.FRI.friSmoothBatchFinalPasses,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame(and binary counterpartsfriBatchRoundEscape,friBatchSumError,friBatchFinalPasses,friBatchCommitGame).Cslib.Crypto.Protocols.FRI.friSmoothBatchUniqueCommitError,Cslib.Crypto.Protocols.FRI.friSmoothBatchJohnsonCommitError,Cslib.Crypto.Protocols.FRI.friSmoothBatchJohnsonEtaCommitError: closed-form(2 - 1 / 2 ^ totalLog)smooth batched commit-phase error bounds (and binary(2 - 1 / 2 ^ m)counterpartsfriBatchUniqueCommitError,friBatchJohnsonCommitError,friBatchJohnsonEtaCommitError).
Main results #
Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitRound_escape_le_of_weightedCurveEscapePerRound,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_escape,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_escape(and binary corollaries).Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_proximity_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_johnson_discrete,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_proximity_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_proximity_le_of_johnson_eta,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_johnson_eta: unconditional integer-eand real-α(⌊α₀ * 2 ^ d⌋₊) smooth batched commit-phase upper bounds in the setting of Lemma 8.2 (with binary corollaries).Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_proximity_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_johnson_discrete,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_proximity_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_proximity_le_of_johnson_eta,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_sound_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_sound_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_johnson_eta,Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_sound_of_johnson_eta: unconditional smooth interactive batched FRI soundness bounds and contrapositives in the setting of Theorem 8.3 (with binary corollaries).Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_romSoundness_bound_of_unique,FRI.friSmoothBatchBCS_romSoundness_bound_of_prover_verifier_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_corrAgree_romSoundness_bound_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_romSoundness_bound_of_johnson_discrete,FRI.friSmoothBatchBCS_romSoundness_bound_of_prover_verifier_of_johnson_discrete,Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_romSoundness_bound_of_johnson,FRI.friSmoothBatchBCS_romSoundness_bound_of_prover_verifier_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_romSoundness_bound_of_johnson_eta,FRI.friSmoothBatchBCS_romSoundness_bound_of_prover_verifier_of_johnson_eta,Cslib.Crypto.Protocols.FRI.friSmoothBatchBCS_corrAgree_romSoundness_bound_of_johnson,FRI.friSmoothBatchBCS_corrAgree_romSoundness_bound_of_prover_verifier_of_johnson: adaptive two-channel smooth batched BCS-FRI ROM soundness bounds (with binary corollaries).
References #
- E. Ben-Sasson, D. Carmon, Y. Ishai, S. Kopparty, S. Saraf, Proximity Gaps for Reed–Solomon Codes
- E. Ben-Sasson, I. Bentov, Y. Horesh, M. Riabzev, Fast Reed–Solomon Interactive Oracle Proofs of Proximity
- E. Ben-Sasson, A. Chiesa, N. Spooner, Interactive Oracle Proofs
- A. Chiesa, E. Yogev, Building Cryptographic Proofs from Hash Functions