Unconditional Unique-Decoding and Johnson-Bound Smooth & Binary FRI, IOP, and BCS-FRI Soundness #
This module discharges the per-round and uniform degree-(l⁽ⁱ⁾ - 1) curve proximity-gap hypotheses
of CslibFrontier.Crypto.Protocols.FRI.Soundness unconditionally for the single-word
(OracleTable d F) smooth 2 ^ stepLog i-to-1 FRI IOP Cslib.Crypto.Protocols.FRI.friSmoothIOP
(and its binary 2-to-1 specialization Cslib.Crypto.Protocols.FRI.friIOP) in both the
unique-decoding regime and the Johnson-bound regime, combining
Cslib.Code.exists_correlatedAgreement_curve_unique
([BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.1]) and
Cslib.Code.exists_weighted_correlatedAgreement_curve_johnson
([BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5, 6.2, and 7.2]) with
Cslib.Crypto.Protocols.FRI.friSmoothIOP_rbrSound, the per-round commit and summed interactive IOP
soundness providers (friSmoothCommitGame_le_of_weightedCurveGapPerRound,
friSmoothIOP_interactiveGame_le_of_weightedCurveGapPerRound), and the two-channel BCS
random-oracle soundness provider
Cslib.Crypto.Protocols.FRI.friSmoothBCS_romSoundness_bound_of_weightedCurveGap /
Cslib.Crypto.Protocols.BCS.bcsROMSoundness_bound ([BSBHR18];
[BSCS16]; [CY24]).
Scope and relationship to the source theorems #
- Lemma 8.2 (printed pp. 38–39, proved via the commit-phase bad-event sum in Section 8.2.1, printed pp. 41–43, p. 42) and Theorem 8.3 (printed p. 39, proved on printed p. 40 by applying Lemma 8.2) of the accepted Journal of the ACM (2023) manuscript ([BSCI+23]) are interactive IOP soundness theorems for batched FRI establishing correlated agreement of the initial functions; BCS random-oracle soundness bounds are separate compositions.
- Folding in
friSmoothIOPsupports an arbitrary smooth schedulel⁽ⁱ⁾ = 2 ^ stepLog i ≥ 2per round (specializing to binaryl⁽ⁱ⁾ = 2viaFRIParams.toSmooth). Across themfolding rounds, the curve degreel⁽ⁱ⁾ - 1multiplies the target domain sizedomainSize (i + 1), so∑ i, (l⁽ⁱ⁾ - 1) * domainSize (i + 1) = 2 ^ d - 2 ^ (d - totalLog)telescopes exactly (FRISmoothParams.sum_arity_sub_one_mul_domainSize), keeping both the unique-decoding commit error(1 - 1 / 2 ^ totalLog) * (2 ^ d / |F|)and the Siegel-interpolation Johnson commit errorfriSmoothJohnsonCommitErrorindependent ofmand the per-round aritiesl⁽ⁱ⁾(mirroring the telescoping on printed p. 43 of [BSCI+23]). - In the Johnson regime,
friSmoothJohnsonRoundBound,friSmoothJohnsonCommitBound,friSmoothJohnsonEtaCommitBound,friSmoothJohnsonCommitError, and their binary counterparts use this library's original explicit Siegel-interpolation constants for allmJ ≥ 1(1800 * (mJ + 1) ^ 6 * …and115200 * … / η ^ 6usingηdirectly rather thanmin(η, √ρ / 20)in eq. 1.3), which are not uniformly smaller at smallmJthan the constants displayed in JACM Lemma 8.2 / Theorem 8.3. Exact correspondence with JACM Theorem 8.3's displayed error expression remains open on#5968. - All binary
FRIParamssoundness theorems are proved as short corollaries of the smooth theorems viaFRIParams.toSmoothwith zero duplicated proofs.
Main definitions #
Cslib.Crypto.Protocols.FRI.friSmoothUniqueCommitError&Cslib.Crypto.Protocols.FRI.friUniqueCommitError: closed-form telescoping unique-decoding commit-phase error(1 - 1 / 2 ^ totalLog) * (2 ^ d / |F|)(and binary(1 - 1 / 2 ^ m)).Cslib.Crypto.Protocols.FRI.friSmoothJohnsonRoundBound,Cslib.Crypto.Protocols.FRI.friSmoothJohnsonCommitBound,Cslib.Crypto.Protocols.FRI.friSmoothJohnsonEtaCommitBound, &Cslib.Crypto.Protocols.FRI.friSmoothJohnsonCommitError: smooth per-round, uniform round-0, uniformη-gap, and closed-form telescoping Siegel-interpolation Johnson commit budgets/errors (with binary counterpartsfriJohnsonRoundBound,friJohnsonCommitBound,friJohnsonEtaCommitBound,friJohnsonCommitError).
Main results #
Smooth & binary unique-decoding regime (2 * e + params.dim 0 ≤ 2 ^ params.d) #
Cslib.Crypto.Protocols.FRI.weightedCurveGapPerRound_of_unique&Cslib.Crypto.Protocols.FRI.weightedCurveGapBound_of_unique(binary:weightedLineGapPerRound_of_unique,weightedLineGapBound_of_unique).Cslib.Crypto.Protocols.FRI.friSmoothCommitGame_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothIOP_interactiveGame_le_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothIOP_rbrSound_of_unique,Cslib.Crypto.Protocols.FRI.friSmoothBCS_romSoundness_bound_of_unique, &FRI.friSmoothBCS_romSoundness_bound_of_prover_verifier_of_unique(and binary counterparts).
Smooth & binary Johnson-bound regime (δ ≤ 1 - √ρ - √ρ / (2 * mJ) and discrete bounds) #
Cslib.Crypto.Protocols.FRI.weightedCurveGapPerRound_of_johnson_discrete,Cslib.Crypto.Protocols.FRI.weightedCurveGapBound_of_johnson_discrete,Cslib.Crypto.Protocols.FRI.friSmoothCommitGame_le_of_johnson_discrete, &Cslib.Crypto.Protocols.FRI.friSmoothIOP_interactiveGame_le_of_johnson_discrete(and binary counterparts).Cslib.Crypto.Protocols.FRI.weightedCurveGapPerRound_of_johnson,Cslib.Crypto.Protocols.FRI.weightedCurveGapBound_of_johnson,Cslib.Crypto.Protocols.FRI.weightedCurveGapBound_of_johnson_eta,Cslib.Crypto.Protocols.FRI.friSmoothCommitGame_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothIOP_interactiveGame_le_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothIOP_rbrSound_of_johnson,Cslib.Crypto.Protocols.FRI.friSmoothBCS_romSoundness_bound_of_johnson, &FRI.friSmoothBCS_romSoundness_bound_of_prover_verifier_of_johnson(and binary counterparts).
References #
- E. Ben-Sasson, I. Bentov, Y. Horesh, M. Riabzev, Fast Reed–Solomon Interactive Oracle Proofs of Proximity
- E. Ben-Sasson, D. Carmon, Y. Ishai, S. Kopparty, S. Saraf, Proximity Gaps for Reed–Solomon Codes
- E. Ben-Sasson, A. Chiesa, N. Spooner, Interactive Oracle Proofs
- A. Chiesa, E. Yogev, Building Cryptographic Proofs from Hash Functions
At params.toSmooth, twice the round-0 smooth folding drop
2 ^ d - 2 ^ (d - firstStepLog) is bounded by 2 ^ d.
Unconditional Smooth Unique-Decoding FRI, Summed IOP, & BCS-FRI ROM Soundness #
Unconditional per-round unique-decoding WeightedCurveGapPerRound across all m
single-word smooth FRI folding rounds (instantiating
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.1] for degree-(l⁽ⁱ⁾ - 1) curves at
each round via FRISmoothParams.two_mul_div_add_dim_le).
Discharges UniqueCurveGapHypothesis directly from
Cslib.Code.exists_correlatedAgreement_curve_unique over any field F of characteristic ≠ 2,
yielding per-round exceptional-scalar budget (params.arity i - 1) * params.domainSize (i + 1)
(telescoping over all m rounds to 2 ^ d - 2 ^ (d - totalLog) < 2 ^ d) with zero gap-assumption
premise.
Unconditional uniform unique-decoding WeightedCurveGapBound for all m single-word smooth
FRI folding rounds (B_commit = 2 ^ d - 2 ^ (d - firstStepLog)), obtained as a monotonicity
corollary of weightedCurveGapPerRound_of_unique.
Closed-form telescoping commit-phase error (1 - 1 / 2 ^ totalLog) * (2 ^ d / |F|) across all
m single-word smooth FRI folding rounds in the unique-decoding regime (< 2 ^ d / |F|
independently of m and per-round arities l⁽ⁱ⁾).
Exact telescoping sum of per-round smooth unique-decoding folding escape budgets in ℝ≥0∞.
Unconditional summed commit-phase soundness of single-word friSmoothIOP in the
unique-decoding regime: for stmt ∉ params.proximityLang e, friSmoothCommitGame exceeds
agreement 2 ^ d - e - 1 with probability at most (2 ^ d - 2 ^ (d - totalLog)) / |F|
(= ENNReal.ofReal (friSmoothUniqueCommitError params)).
Unconditional summed interactive soundness of single-word friSmoothIOP in the
unique-decoding regime: for stmt ∉ params.proximityLang e and any adaptive prover P, the
acceptance probability is at most
(2 ^ d - 2 ^ (d - totalLog)) / |F| + ((2 ^ d - e - 1) / 2 ^ d) ^ q (telescoping independently of
m and per-round arities l⁽ⁱ⁾).
Unconditional round-by-round soundness of single-word friSmoothIOP in the unique-decoding
regime ([BSBHR18];
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.1]).
Unconditional adaptive smooth BCS-FRI ROM soundness in the unique-decoding regime
([BSCS16]; [CY24]), composing weightedCurveGapBound_of_unique
with friSmoothBCS_romSoundness_bound_of_weightedCurveGap.
Unconditional adaptive smooth BCS-FRI ROM soundness with separate prover/verifier Merkle budgets in the unique-decoding regime ([BSCS16]; [CY24]).
Unconditional Smooth Johnson-Bound FRI, Summed IOP, & BCS-FRI ROM Soundness #
Per-round smooth Siegel-interpolation bad-scalar bound for single-word smooth FRI in the
Johnson regime with multiplicity slack mJ at folding round i : Fin params.m:
(1800 * (mJ + 1) ^ 6 * ((params.arity i - 1) * params.domainSize (i.val + 1)) * (2 ^ params.d) ^ 2) / params.dim 0 (using this library's original explicit Siegel constant
1800 * (mJ + 1) ^ 6, telescoping over all m rounds without an O(m) factor).
Conservative uniform per-round commit-phase exceptional-scalar bound for single-word smooth FRI
in the Johnson regime with multiplicity slack mJ:
(1800 * (mJ + 1) ^ 6 * (2 ^ params.d - 2 ^ (params.d - params.firstStepLog)) * (2 ^ params.d) ^ 2) / params.dim 0.
At round 0, friSmoothJohnsonRoundBound coincides exactly with
friSmoothJohnsonCommitBound.
Every folding round's smooth Johnson budget friSmoothJohnsonRoundBound params mJ i is bounded
by the round-0 uniform budget friSmoothJohnsonCommitBound params mJ.
Telescoping upper bound on the integer sum of friSmoothJohnsonRoundBound across all m
smooth folding rounds (bounded independently of m and per-round arities l⁽ⁱ⁾).
Closed-form telescoping Siegel commit-phase error across all m single-word smooth FRI folding
rounds in the Johnson regime:
(1 - 1 / 2 ^ totalLog) * (1800 * (mJ + 1) ^ 6 * (2 ^ d) ^ 2 / ((dim 0 / 2 ^ d) * |F|))
(bounded independently of m and per-round arities l⁽ⁱ⁾; uses this library's original explicit
Siegel constant).
Telescoping sum of per-round smooth Johnson escape probabilities bounded by
friSmoothJohnsonCommitError.
Explicit-parameter Guruswami–Sudan per-round WeightedCurveGapPerRound across all m
single-word smooth FRI folding rounds (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5, 6.2, and 7.2], with exact degree-(l⁽ⁱ⁾ - 1)
Cslib.Code.ProximityGap.johnsonCurveBound budgets).
Explicit-parameter Guruswami–Sudan uniform WeightedCurveGapBound for all m single-word
smooth FRI folding rounds, derived as a monotonicity corollary of
weightedCurveGapPerRound_of_johnson_discrete.
Explicit-parameter Guruswami–Sudan step toward summed commit-phase soundness of single-word
friSmoothIOP.
Explicit-parameter Guruswami–Sudan step toward summed interactive soundness of single-word
friSmoothIOP.
Original explicit-constant per-round Johnson-bound WeightedCurveGapPerRound across all m
single-word smooth FRI folding rounds up to δ ≤ 1 - √ρ - √ρ / (2 * mJ) (in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5, 6.2, and 7.2], using this library's explicit
Siegel constants).
Reuses Cslib.Code.ProximityGap.johnson_curve_params_bound (at degree r = params.arity i - 1 ≥ 1)
and Cslib.Code.ProximityGap.johnsonCurveBound_mul_le at every round i : Fin params.m, retaining
the telescoping factor (params.arity i - 1) * params.domainSize (i + 1) in
friSmoothJohnsonRoundBound params mJ i so the sum over all m rounds stays independent of m
and the per-round arities l⁽ⁱ⁾.
Original explicit-constant uniform Johnson-bound WeightedCurveGapBound for all m
single-word smooth FRI folding rounds up to δ ≤ 1 - √ρ - √ρ / (2 * mJ)
(friSmoothJohnsonCommitBound params mJ, in the setting of
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5, 6.2, and 7.2]), obtained as a monotonicity
corollary of weightedCurveGapPerRound_of_johnson and friSmoothJohnsonRoundBound_le_commitBound.
Conservative uniform per-round commit-phase exceptional-scalar budget for smooth FRI in the
η-gap Johnson regime ((e : ℝ) / 2 ^ d ≤ 1 - √ρ - η, 0 < η):
⌊115200 * (2 ^ d - 2 ^ (d - firstStepLog)) * (2 ^ d) ^ 2 / (dim 0 * η ^ 6)⌋₊ (using this
library's original explicit Siegel constant 1800 * 64 = 115200 and η directly rather than
min(η, √ρ / 20) in Eq. (1.3)).
Original explicit-constant η-gap uniform WeightedCurveGapBound across all m smooth FRI
folding rounds up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - η (0 < η), derived from
weightedCurveGapBound_of_johnson and ProximityGap.exists_multiplicity_of_eta (using η directly
rather than min(η, √ρ / 20) in Eq. (1.3)).
Original explicit-constant Johnson summed commit-phase soundness of single-word
friSmoothIOP (in the setting of [BSCI+23], using this library's
explicit telescoping Siegel commit error friSmoothJohnsonCommitError params mJ, bounded
independently of m and per-round arities l⁽ⁱ⁾).
Original explicit-constant Johnson summed interactive soundness of single-word
friSmoothIOP (in the setting of [BSCI+23], using
friSmoothJohnsonCommitError params mJ plus query error ((2 ^ d - e - 1) / 2 ^ d) ^ q, bounded
independently of m and per-round arities l⁽ⁱ⁾).
Original explicit-constant Johnson round-by-round soundness of single-word friSmoothIOP
(in the setting of [BSBHR18] and
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5, 6.2, and 7.2]).
Original explicit-constant Johnson adaptive two-channel smooth BCS-FRI ROM soundness
([BSCS16]; [CY24]), composing weightedCurveGapBound_of_johnson
with friSmoothBCS_romSoundness_bound_of_weightedCurveGap.
Original explicit-constant Johnson adaptive two-channel smooth BCS-FRI ROM soundness with separate prover/verifier Merkle budgets ([BSCS16]; [CY24]).
Binary 2-to-1 Unique-Decoding FRI, Summed IOP, & BCS-FRI Corollaries #
Unconditional shrinking per-round unique-decoding WeightedLineGapPerRound across all m
single-word binary FRI folding rounds (corollary of weightedCurveGapPerRound_of_unique).
Unconditional uniform unique-decoding WeightedLineGapBound for all m single-word FRI
folding rounds (B_commit = 2 ^ (d - 1)), obtained as a monotonicity corollary of
weightedLineGapPerRound_of_unique.
Closed-form geometric commit-phase error (1 - 1 / 2 ^ m) * (2 ^ d / |F|) across all m
single-word 2-to-1 FRI folding rounds in the unique-decoding regime (< 2 ^ d / |F|
independently of m).
Exact geometric sum of per-round unique-decoding folding escape budgets in ℝ≥0∞ (corollary of
sum_friSmoothUniqueRoundEscape_eq).
Unconditional summed commit-phase soundness of single-word friIOP in the unique-decoding
regime (corollary of friSmoothCommitGame_le_of_unique).
Unconditional summed interactive soundness of single-word friIOP in the unique-decoding
regime (corollary of friSmoothIOP_interactiveGame_le_of_unique).
Unconditional round-by-round soundness of single-word friIOP in the unique-decoding regime
([BSBHR18]; [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 4.1]).
Unconditional adaptive BCS-FRI ROM soundness in the unique-decoding regime
([BSCS16]; [CY24]), composing weightedLineGapBound_of_unique
(B_commit = 2 ^ (d - 1)) with friBCS_romSoundness_bound_of_weightedLineGap.
Unconditional adaptive BCS-FRI ROM soundness with separate prover/verifier Merkle budgets in the unique-decoding regime ([BSCS16]; [CY24]).
Binary 2-to-1 Johnson-Bound FRI, Summed IOP, & BCS-FRI Corollaries #
Per-round geometric Siegel-interpolation bad-scalar bound for single-word 2-to-1 FRI in the
Johnson regime with multiplicity slack mJ at folding round i : Fin params.m:
(1800 * (mJ + 1) ^ 6 * 2 ^ (params.d - (i.val + 1)) * (2 ^ params.d) ^ 2) / params.dim 0.
Conservative uniform per-round commit-phase exceptional-scalar bound for single-word FRI in the
Johnson regime with multiplicity slack mJ:
(900 * (mJ + 1) ^ 6 * (2 ^ params.d) ^ 3) / params.dim 0.
At params.toSmooth, the smooth uniform Johnson commit budget is bounded above by the binary
friJohnsonCommitBound.
At round 0, friJohnsonRoundBound coincides exactly with friJohnsonCommitBound.
Every folding round's geometric budget friJohnsonRoundBound params mJ i is bounded by the
round-0 uniform budget friJohnsonCommitBound params mJ.
Geometric telescoping upper bound on the integer sum of friJohnsonRoundBound across all m
folding rounds (corollary of sum_friSmoothJohnsonRoundBound_le).
Closed-form geometric Siegel commit-phase error across all m single-word 2-to-1 FRI folding
rounds in the Johnson regime ((1 - 1 / 2 ^ m) * 1800 * (mJ + 1) ^ 6 * (2 ^ d) ^ 2 / (ρ * |F|)).
Geometric sum of per-round Johnson escape probabilities bounded by friJohnsonCommitError
(corollary of sum_friSmoothJohnsonRoundEscape_le).
Explicit-parameter Guruswami–Sudan per-round WeightedLineGapPerRound across all m
single-word binary FRI folding rounds (corollary of weightedCurveGapPerRound_of_johnson_discrete).
Explicit-parameter Guruswami–Sudan uniform WeightedLineGapBound for all m single-word
FRI folding rounds, derived as a monotonicity corollary of
weightedLineGapPerRound_of_johnson_discrete.
Explicit-parameter Guruswami–Sudan step toward summed commit-phase soundness of single-word
friIOP.
Explicit-parameter Guruswami–Sudan step toward summed interactive soundness of single-word
friIOP.
Original explicit-constant per-round Johnson-bound WeightedLineGapPerRound across all m
single-word binary FRI folding rounds up to δ ≤ 1 - √ρ - √ρ / (2 * mJ) (corollary of
weightedCurveGapPerRound_of_johnson).
Original explicit-constant uniform Johnson-bound WeightedLineGapBound for all m
single-word FRI folding rounds up to δ ≤ 1 - √ρ - √ρ / (2 * mJ) (friJohnsonCommitBound params mJ), obtained as a monotonicity corollary of weightedLineGapPerRound_of_johnson and
friJohnsonRoundBound_le_commitBound.
Conservative uniform per-round commit-phase exceptional-scalar budget for 2-to-1 FRI in the
η-gap Johnson regime ((e : ℝ) / 2 ^ d ≤ 1 - √ρ - η, 0 < η):
⌊57600 * (2 ^ d) ^ 3 / (dim 0 * η ^ 6)⌋₊ (using this library's original explicit Siegel constant
900 * 64 = 57600 and η directly rather than min(η, √ρ / 20) in Eq. (1.3)).
Original explicit-constant η-gap uniform WeightedLineGapBound across all m binary FRI
folding rounds up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - η (0 < η), corollary of
weightedCurveGapBound_of_johnson_eta.
Original explicit-constant Johnson summed commit-phase soundness of single-word friIOP
(using friJohnsonCommitError params mJ, bounded independently of m).
Original explicit-constant Johnson summed interactive soundness of single-word friIOP
(using friJohnsonCommitError params mJ plus query error ((2 ^ d - e - 1) / 2 ^ d) ^ q).
Original explicit-constant Johnson round-by-round soundness of single-word friIOP
(in the setting of [BSBHR18] and
[BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.4, 5.1, and 7.2]).
Original explicit-constant Johnson adaptive two-channel BCS-FRI ROM soundness
([BSCS16]; [CY24]), composing weightedLineGapBound_of_johnson
with friBCS_romSoundness_bound_of_weightedLineGap.
Original explicit-constant Johnson adaptive two-channel BCS-FRI ROM soundness with separate prover/verifier Merkle budgets ([BSCS16]; [CY24]).