Documentation

CslibFrontier.Crypto.Protocols.FRI.BatchJohnsonSoundness.SmoothJohnsonIOP

Smooth Closed-Form Johnson & η-Gap Batched FRI Commit-Phase and Interactive IOP Bounds #

Unconditional integer-e and real-α commit-phase and interactive IOP soundness upper bounds (and contrapositives) for friSmoothBatchIOP in the closed-form Johnson and η-gap regimes ([BSCI+23], Lemma 8.2, Theorem 8.3, and Section 8.2.1).

Main results #

References #

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_proximity_le_of_johnson {F : Type} [Field F] [Fintype F] (params : FRISmoothParams F) (t : ℕ) {e mJ : ℕ} (hmJ : 1 ≤ mJ) (he : ↑e / 2 ^ params.d ≤ 1 - √(↑(params.dim 0) / 2 ^ params.d) - √(↑(params.dim 0) / 2 ^ params.d) / (2 * ↑mJ)) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchProximityLang t e) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :

Original explicit-constant Johnson smooth batched FRI commit-phase upper bound (batchProximityLang) up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - √ρ / (2 * mJ).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_proximity_le_of_johnson {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {e mJ : ℕ} (hmJ : 1 ≤ mJ) (he : ↑e / 2 ^ params.d ≤ 1 - √(↑(params.dim 0) / 2 ^ params.d) - √(↑(params.dim 0) / 2 ^ params.d) / (2 * ↑mJ)) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchProximityLang t e) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :
(BCS.iopInteractiveGame (friSmoothBatchIOP params t) stmt P) true ≤ ENNReal.ofReal (friSmoothBatchJohnsonCommitError params mJ) + (↑(2 ^ params.d - e - 1) / 2 ^ params.d) ^ params.q

Original explicit-constant Johnson interactive smooth batched FRI soundness upper bound (batchProximityLang) up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - √ρ / (2 * mJ).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_proximity_le_of_johnson_eta {F : Type} [Field F] [Fintype F] (params : FRISmoothParams F) (t : ℕ) {e : ℕ} {η : ℝ} (hη : 0 < η) (he : ↑e / 2 ^ params.d ≤ 1 - √(↑(params.dim 0) / 2 ^ params.d) - η) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchProximityLang t e) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :

Original explicit-constant η-gap Johnson smooth batched FRI commit-phase upper bound (batchProximityLang) up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - η (0 < η).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_proximity_le_of_johnson_eta {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {e : ℕ} {η : ℝ} (hη : 0 < η) (he : ↑e / 2 ^ params.d ≤ 1 - √(↑(params.dim 0) / 2 ^ params.d) - η) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchProximityLang t e) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :
(BCS.iopInteractiveGame (friSmoothBatchIOP params t) stmt P) true ≤ ENNReal.ofReal (friSmoothBatchJohnsonEtaCommitError params η) + (↑(2 ^ params.d - e - 1) / 2 ^ params.d) ^ params.q

Original explicit-constant η-gap Johnson interactive smooth batched FRI soundness upper bound (batchProximityLang) up to (e : ℝ) / 2 ^ d ≤ 1 - √ρ - η (0 < η).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_johnson {F : Type} [Field F] [Fintype F] (params : FRISmoothParams F) (t : ℕ) {mJ : ℕ} (hmJ : 1 ≤ mJ) {α : ℝ} {stmt : FRIBatchStmt F params.d t} (hagree_le : ∀ (D' : Finset (Fin (2 ^ params.d))), ∀ v₀ ∈ params.initialCode, ∀ (v : Fin t → BCS.OracleTable params.d F), (∀ (j : Fin t), v j ∈ params.initialCode) → (∀ s ∈ D', stmt.base s = v₀ s ∧ ∀ (j : Fin t), stmt.terms j s = v j s) → ↑D'.card / 2 ^ params.d ≤ α) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :
have α₀ := max α (√(↑(params.dim 0) / 2 ^ params.d) * (1 + 1 / (2 * ↑mJ))); (friSmoothBatchCommitGame params t ⌊α₀ * 2 ^ params.d⌋₊ stmt P) true ≤ ENNReal.ofReal (friSmoothBatchJohnsonCommitError params mJ)

Original explicit-constant real-α Johnson smooth batched FRI commit-phase upper bound (in the setting of [BSCI+23], Lemma 8.2 on printed pp. 38–39, Eq. (8.5), and Section 8.2.1 on printed pp. 41–43, bridged via friBatchFloorThreshold_bounds).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchCommitGame_le_of_johnson_eta {F : Type} [Field F] [Fintype F] (params : FRISmoothParams F) (t : ℕ) {η α : ℝ} (hη : 0 < η) {stmt : FRIBatchStmt F params.d t} (hagree_le : ∀ (D' : Finset (Fin (2 ^ params.d))), ∀ v₀ ∈ params.initialCode, ∀ (v : Fin t → BCS.OracleTable params.d F), (∀ (j : Fin t), v j ∈ params.initialCode) → (∀ s ∈ D', stmt.base s = v₀ s ∧ ∀ (j : Fin t), stmt.terms j s = v j s) → ↑D'.card / 2 ^ params.d ≤ α) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :
have α₀ := max α (√(↑(params.dim 0) / 2 ^ params.d) + η); (friSmoothBatchCommitGame params t ⌊α₀ * 2 ^ params.d⌋₊ stmt P) true ≤ ENNReal.ofReal (friSmoothBatchJohnsonEtaCommitError params η)

Original explicit-constant real-α η-gap smooth batched FRI commit-phase upper bound (using η directly rather than min(η, √ρ / 20) in Eq. (1.3)).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_johnson {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {mJ : ℕ} (hmJ : 1 ≤ mJ) {α : ℝ} (hα : √(↑(params.dim 0) / 2 ^ params.d) * (1 + 1 / (2 * ↑mJ)) ≤ α) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchCorrAgreeLang t α) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :

Original explicit-constant real-α Johnson interactive smooth batched FRI soundness upper bound (in the setting of [BSCI+23], Theorem 8.3 on printed pp. 39–40).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_sound_of_johnson {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {mJ : ℕ} (hmJ : 1 ≤ mJ) {α : ℝ} (hα : √(↑(params.dim 0) / 2 ^ params.d) * (1 + 1 / (2 * ↑mJ)) ≤ α) (stmt : FRIBatchStmt F params.d t) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) (hacc : ENNReal.ofReal (friSmoothBatchJohnsonCommitError params mJ + α ^ params.q) < (BCS.iopInteractiveGame (friSmoothBatchIOP params t) stmt P) true) :
stmt ∈ params.batchCorrAgreeLang t α

Contrapositive original explicit-constant real-α Johnson interactive smooth batched FRI soundness (in the setting of [BSCI+23], Theorem 8.3 on printed pp. 39–40).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_interactiveGame_le_of_johnson_eta {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {η α : ℝ} (hη : 0 < η) (hα : √(↑(params.dim 0) / 2 ^ params.d) + η ≤ α) {stmt : FRIBatchStmt F params.d t} (hfar : stmt ∉ params.batchCorrAgreeLang t α) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) :

Original explicit-constant real-α η-gap interactive smooth batched FRI soundness upper bound (using η directly rather than min(η, √ρ / 20) in Eq. (1.3)).

theorem Cslib.Crypto.Protocols.FRI.friSmoothBatchIOP_sound_of_johnson_eta {F : Type} [Field F] [Fintype F] [DecidableEq F] (params : FRISmoothParams F) (t : ℕ) {η α : ℝ} (hη : 0 < η) (hα : √(↑(params.dim 0) / 2 ^ params.d) + η ≤ α) (stmt : FRIBatchStmt F params.d t) (P : BCS.InteractiveIOPProver params.d F (FRIBatchChal F params.d params.q t)) (hacc : ENNReal.ofReal (friSmoothBatchJohnsonEtaCommitError params η + α ^ params.q) < (BCS.iopInteractiveGame (friSmoothBatchIOP params t) stmt P) true) :
stmt ∈ params.batchCorrAgreeLang t α

Contrapositive original explicit-constant real-α η-gap interactive smooth batched FRI soundness (using η directly rather than min(η, √ρ / 20) in Eq. (1.3)).