Documentation

CslibFrontier.Foundations.Data.Code.ProximityGap.Curve.JohnsonCurve

Johnson-Bound Parameterized Curve and Line Proximity Gaps #

Original explicit-constant unweighted, ℕ-weighted, and ℚ-weighted curve proximity gaps and correlated-agreement endpoints up to the Johnson bound 1 - √ρ - η.

Main results #

theorem Cslib.Code.proximityGap_curve_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {e k m r : ℕ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hm : 1 ≤ m) (he : ↑e / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - √(↑k / ↑(Fintype.card ι)) / (2 * ↑m)) (u : Fin (r + 1) → ι → F) [DecidablePred fun (z : F) => ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e] :
(∀ (z : F), ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e) ∨ ↑{z : F | ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e}.card / ↑(Fintype.card F) ≤ 1800 * ↑r * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F))

Original explicit-constant proximity-gap variant for parameterized curves up to the Johnson bound (in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.5 and 6.2], accepted JACM 2023 manuscript).

Let α : ι → F be distinct evaluation points over a finite field F with n = |ι| and code rate ρ = k / n (1 ≤ k ≤ n), and let m ≥ 1 be the multiplicity parameter. For any degree r : ℕ, any proximity radius e : ℕ with (e : ℝ) / n ≤ 1 - √ρ - √ρ / (2 * m), and any r + 1 words u : Fin (r + 1) → (ι → F), either every point ∑ j, z ^ j • u j on the parameterized curve lies within Hamming distance e of reedSolomon α k, or the fraction of scalars z : F that do is at most 1800 * r * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|).

While (m + 1) ^ 6 / ρ has smaller exponents in m and 1 / ρ than the displayed (m + 1 / 2) ^ 7 / (3 * ρ ^ (3 / 2)) expression of [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 6.2], this bound is not uniformly smaller at small finite m.

theorem Cslib.Code.proximityGap_curve_johnson_of_eta {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {e k r : ℕ} {η : ℝ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hη : 0 < η) (he : ↑e / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - η) (u : Fin (r + 1) → ι → F) [DecidablePred fun (z : F) => ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e] :
(∀ (z : F), ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e) ∨ ↑{z : F | ∃ c ∈ reedSolomon α k, hammingDist (∑ j : Fin (r + 1), z ^ ↑j • u j) c ≤ e}.card / ↑(Fintype.card F) ≤ 115200 * ↑r * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * η ^ 6 * ↑(Fintype.card F))

Original explicit-constant proximity-gap variant for parameterized curves up to 1 - √ρ - η (in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.5], accepted JACM 2023 manuscript).

Closed-form corollary of Cslib.Code.proximityGap_curve_johnson parameterized directly by any positive gap η > 0 below the Johnson bound 1 - √ρ, yielding an error fraction of at most 115200 * r * n ^ 2 / (ρ * η ^ 6 * |F|).

theorem Cslib.Code.weighted_proximityGap_curve_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k m r M B_W : ℕ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hm : 1 ≤ m) (hM : 0 < M) {W : ι → ℕ} (hW : ∀ (i : ι), W i ≤ M) (hB : ↑(Fintype.card ι - (B_W + M - 1) / M) / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - √(↑k / ↑(Fintype.card ι)) / (2 * ↑m)) (u : Fin (r + 1) → ι → F) [DecidablePred fun (z : F) => ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, W i] :
(∀ (z : F), ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, W i) ∨ ↑{z : F | ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, W i}.card / ↑(Fintype.card F) ≤ 1800 * ↑r * ↑M * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F))

Original explicit-constant ℕ-weighted proximity-gap dichotomy on parameterized curves up to the Johnson bound (toward [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 6.2 and 7.2], accepted JACM 2023 manuscript).

For integer weights W : ι → ℕ bounded by M > 0 (∀ i, W i ≤ M), any threshold B_W : ℕ with ((|ι| - (B_W + M - 1) / M : ℕ) : ℝ) / |ι| ≤ 1 - √ρ - √ρ / (2 * m), and any degree-r curve u : Fin (r + 1) → (ι → F) over a finite field F, either every point on the curve has W-weighted agreement at least B_W with some codeword in reedSolomon α k, or the fraction of scalars z : F that do is at most 1800 * r * M * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|).

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_curve_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype ι] [DecidableEq F] {α : ι → F} (hα : Function.Injective α) {k r m D M : ℕ} (hk : 1 ≤ k) (hm : 1 ≤ m) (hM : 0 < M) {μ : ι → ℚ} (hμ_le : ∀ (i : ι), μ i ≤ 1) (hμ_den : ∀ (i : ι), ∃ (a : ℕ), μ i = ↑a / ↑M) {θ : ℚ} (hk_le : ↑k ≤ θ) (hinterp : Fintype.card ι * (m * (m + 1) / 2) < (Sudan.monomials (k - 1) D).card) (hroot : ↑D < ↑m * θ) (u : Fin (r + 1) → ι → F) (T : Finset F) (hT : ProximityGap.johnsonCurveBound (Fintype.card ι) m (k - 1) D r (M * Fintype.card ι) < T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, μ i) :
∃ (D' : Finset ι), θ ≤ ∑ i ∈ D', μ i ∧ ∃ (v : Fin (r + 1) → ι → F), (∀ (j : Fin (r + 1)), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', ∀ (j : Fin (r + 1)), u j i = v j i

Explicit-parameter ℚ-weighted correlated-agreement step on parameterized curves up to the Johnson bound (toward [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 6.2 and 7.2], accepted JACM 2023 manuscript).

Given rational coordinate weights μ : ι → ℚ with values in {0, 1 / M, …, 1} (∀ i, μ i ≤ 1 and ∀ i, ∃ a : ℕ, μ i = (a : ℚ) / M for 0 < M), threshold θ : ℚ with (k : ℚ) ≤ θ and (D : ℚ) < m * θ, and Guruswami–Sudan interpolation condition |ι| * (m * (m + 1) / 2) < #(Sudan.monomials (k - 1) D): over an arbitrary field F of any characteristic, if more than johnsonCurveBound |ι| m (k - 1) D r (M * |ι|) scalars z ∈ T have a codeword in reedSolomon α k achieving μ-weighted agreement at least θ with the curve point ∑ j, z ^ j • u j, then there exist a single shared coordinate subset D' : Finset ι with θ ≤ ∑ i ∈ D', μ i and codewords v : Fin (r + 1) → (ι → F) agreeing with u on D'.

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_line_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype ι] [DecidableEq F] {α : ι → F} (hα : Function.Injective α) {k m D M : ℕ} (hk : 1 ≤ k) (hm : 1 ≤ m) (hM : 0 < M) {μ : ι → ℚ} (hμ_le : ∀ (i : ι), μ i ≤ 1) (hμ_den : ∀ (i : ι), ∃ (a : ℕ), μ i = ↑a / ↑M) {θ : ℚ} (hk_le : ↑k ≤ θ) (hinterp : Fintype.card ι * (m * (m + 1) / 2) < (Sudan.monomials (k - 1) D).card) (hroot : ↑D < ↑m * θ) (u₀ u₁ : ι → F) (T : Finset F) (hT : ProximityGap.johnsonCurveBound (Fintype.card ι) m (k - 1) D 1 (M * Fintype.card ι) < T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + z • u₁) i = c i, μ i) :
∃ (D' : Finset ι), θ ≤ ∑ i ∈ D', μ i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ v₁ ∈ reedSolomon α k, ∀ i ∈ D', u₀ i = v₀ i ∧ u₁ i = v₁ i

Explicit-parameter ℚ-weighted correlated-agreement step on affine lines up to the Johnson bound (toward [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 7.2], accepted JACM 2023 manuscript).

Line (r = 1) specialization of Cslib.Code.exists_ratWeighted_correlatedAgreement_curve_johnson over an arbitrary field F of any characteristic.

theorem Cslib.Code.ratWeighted_proximityGap_curve_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k m r M : ℕ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hm : 1 ≤ m) (hM : 0 < M) {μ : ι → ℚ} (hμ_le : ∀ (i : ι), μ i ≤ 1) (hμ_den : ∀ (i : ι), ∃ (a : ℕ), μ i = ↑a / ↑M) {θ : ℚ} (hθ : 1 - ↑θ / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - √(↑k / ↑(Fintype.card ι)) / (2 * ↑m)) (u : Fin (r + 1) → ι → F) [DecidablePred fun (z : F) => ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, μ i] :
(∀ (z : F), ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, μ i) ∨ ↑{z : F | ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (∑ j : Fin (r + 1), z ^ ↑j • u j) i = c i, μ i}.card / ↑(Fintype.card F) ≤ 1800 * ↑r * ↑M * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F))

Original explicit-constant ℚ-weighted proximity-gap dichotomy on parameterized curves up to the Johnson bound (toward [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 6.2 and 7.2], accepted JACM 2023 manuscript).

For rational weights μ : ι → ℚ with values in {0, 1 / M, …, 1} (0 < M), threshold θ : ℚ satisfying 1 - θ / n ≤ 1 - √ρ - √ρ / (2 * m), and any degree-r curve over a finite field F, either every curve point has μ-weighted agreement at least θ with some codeword in reedSolomon α k, or the fraction of scalars z : F that do is at most 1800 * r * M * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|).