Documentation

CslibFrontier.Foundations.Data.Code.ProximityGap.Johnson.Params

Explicit Parameter Bounds for Johnson-Bound Proximity Gaps #

Analytic (m, D) parameter selection bridging real Johnson-bound error gaps 1 - √ρ - η to the explicit natural-number johnsonCurveBound and Sudan.monomials interpolation inequality.

Main results #

theorem Cslib.Code.ProximityGap.johnsonCurveBound_mul_le {n m d D r W_tot : ℕ} (hW : n ≤ W_tot) :
johnsonCurveBound n m d D r W_tot * n ≤ johnsonCurveBound n m d D r n * W_tot

Weight scaling for johnsonCurveBound: since johnsonCurveBound is affine in W_tot with nonnegative coefficients, increasing the weight budget from n to W_tot ≥ n scales the bound by at most W_tot / n.

theorem Cslib.Code.ProximityGap.johnson_curve_params_bound {n k e m r : ℕ} (hk : 1 ≤ k) (hkn : k ≤ n) (hm : 1 ≤ m) (hr : 1 ≤ r) (he : ↑e / ↑n ≤ 1 - √(↑k / ↑n) - √(↑k / ↑n) / (2 * ↑m)) :
have m' := m + 1; have t₀ := ⌈(1 + 1 / (2 * ↑m)) * √(↑n * ↑k)⌉₊; have D := m' * t₀ - 1; k ≤ n - e ∧ n * (m' * (m' + 1) / 2) < (Sudan.monomials (k - 1) D).card ∧ D < m' * (n - e) ∧ ↑(johnsonCurveBound n m' (k - 1) D r n) ≤ 1800 * ↑r * (↑m + 1) ^ 6 * ↑n ^ 2 / (↑k / ↑n)

Quantitative Guruswami–Sudan parameter packaging for degree-r curves (1 ≤ r): given 1 ≤ k ≤ n, 1 ≤ m, and (e : ℝ) / n ≤ 1 - √ρ - √ρ / (2 * m) with ρ = k / n, the choice m' = m + 1, t₀ = ⌈(1 + 1 / (2 * m)) * √(n * k)⌉₊, D = m' * t₀ - 1 satisfies all hypotheses of Cslib.Code.exists_correlatedAgreement_curve_johnson and yields (johnsonCurveBound n m' (k - 1) D r n : ℝ) ≤ 1800 * r * (m + 1) ^ 6 * n ^ 2 / ρ.

theorem Cslib.Code.ProximityGap.johnson_line_params_bound {n k e m : ℕ} (hk : 1 ≤ k) (hkn : k ≤ n) (hm : 1 ≤ m) (he : ↑e / ↑n ≤ 1 - √(↑k / ↑n) - √(↑k / ↑n) / (2 * ↑m)) :
have m' := m + 1; have t₀ := ⌈(1 + 1 / (2 * ↑m)) * √(↑n * ↑k)⌉₊; have D := m' * t₀ - 1; k ≤ n - e ∧ n * (m' * (m' + 1) / 2) < (Sudan.monomials (k - 1) D).card ∧ D < m' * (n - e) ∧ ↑(johnsonCurveBound n m' (k - 1) D 1 n) ≤ 1800 * (↑m + 1) ^ 6 * ↑n ^ 2 / (↑k / ↑n)

Quantitative Guruswami–Sudan parameter packaging for affine lines (r = 1), specializing johnson_curve_params_bound.

theorem Cslib.Code.ProximityGap.exists_multiplicity_of_eta {n k e : ℕ} {η : ℝ} (hk : 1 ≤ k) (hkn : k ≤ n) (hη : 0 < η) (he : ↑e / ↑n ≤ 1 - √(↑k / ↑n) - η) :
∃ (m : ℕ), 1 ≤ m ∧ ↑e / ↑n ≤ 1 - √(↑k / ↑n) - √(↑k / ↑n) / (2 * ↑m) ∧ (↑m + 1) ^ 6 ≤ 64 / η ^ 6

Multiplicity selection for an arbitrary gap η > 0 below the Johnson bound 1 - √ρ: given 1 ≤ k ≤ n, 0 < η, and (e : ℝ) / n ≤ 1 - √(k / n) - η, choosing m = ⌈√ρ / (2 * min η (√ρ / 2))⌉₊ yields 1 ≤ m, (e : ℝ) / n ≤ 1 - √(k / n) - √(k / n) / (2 * m), and (m + 1 : ℝ) ^ 6 ≤ 64 / η ^ 6.