Documentation

CslibFrontier.Foundations.Data.Code.ProximityGap.Curve.JohnsonAffine

Johnson-Bound Affine-Space Correlated Agreement #

List-premise-free unweighted, ℕ-weighted, and ℚ-weighted correlated-agreement theorems on arbitrary affine spaces u₀ + ∑ j, z j • u j in both explicit (m, D) and closed-form ((m + 1)^6 / η^(-6)) bounds.

Main results #

theorem Cslib.Code.exists_weighted_correlatedAgreement_affine_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} (hα : Function.Injective α) {k ℓ m D M W_tot B_W : ℕ} (hk : 1 ≤ k) (hm : 1 ≤ m) (hM : 0 < M) {W : ι → ℕ} (hW_le : ∀ (i : ι), W i ≤ M) (hW_sum : ∑ i : ι, W i ≤ W_tot) (hk_le_t : k ≤ (B_W + M - 1) / M) (hinterp : Fintype.card ι * (m * (m + 1) / 2) < (Sudan.monomials (k - 1) D).card) (hroot : D < m * ((B_W + M - 1) / M)) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : ProximityGap.johnsonCurveBound (Fintype.card ι) m (k - 1) D 1 W_tot * Fintype.card F ^ ℓ < Fintype.card F * T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i) :
∃ (D' : Finset ι), B_W ≤ ∑ i ∈ D', W i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Explicit-parameter ℕ-weighted correlated-agreement step on affine spaces up to the Johnson bound (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

Let B_line = johnsonCurveBound |ι| m (k - 1) D 1 W_tot. Over any finite field F of arbitrary characteristic and any affine dimension ℓ : ℕ, if B_line * |F| ^ ℓ < |F| * #T and every z ∈ T has a codeword in reedSolomon α k achieving W-weighted agreement at least B_W with u₀ + ∑ j, z j • u j, then there exist a single shared coordinate subset D' : Finset ι of W-weight at least B_W and codewords v₀, v_j ∈ reedSolomon α k agreeing with u₀, u_j on D'. The density premise forces B_line < |F|, and maxYDeg (k - 1) D ≤ B_line always holds, so no extra list-size / field-size premise is needed, and zero coordinate weights (W i = 0) are permitted via the supp W refinement of Cslib.Code.exists_weighted_correlatedAgreement_affine_of_line.

theorem Cslib.Code.exists_correlatedAgreement_affine_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} (hα : Function.Injective α) {k ℓ e m D : ℕ} (hk : 1 ≤ k) (hm : 1 ≤ m) (hk_le : k ≤ Fintype.card ι - e) (hinterp : Fintype.card ι * (m * (m + 1) / 2) < (Sudan.monomials (k - 1) D).card) (hroot : D < m * (Fintype.card ι - e)) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : ProximityGap.johnsonCurveBound (Fintype.card ι) m (k - 1) D 1 (Fintype.card ι) * Fintype.card F ^ ℓ < Fintype.card F * T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, hammingDist (u₀ + ∑ j : Fin ℓ, z j • u j) c ≤ e) :
∃ (D' : Finset ι), Fintype.card ι - e ≤ D'.card ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Explicit-parameter correlated-agreement step on affine spaces up to the Johnson bound (in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6], printed p. 6 of the accepted JACM 2023 manuscript).

Unweighted specialization (W = 1) of Cslib.Code.exists_weighted_correlatedAgreement_affine_johnson with exact threshold johnsonCurveBound |ι| m (k - 1) D 1 |ι| * |F| ^ ℓ < |F| * #T and no extra list-size premise.

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_affine_johnson {F : Type u_1} {ι : Type u_2} [Field F] [Fintype 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₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : ProximityGap.johnsonCurveBound (Fintype.card ι) m (k - 1) D 1 (M * Fintype.card ι) * Fintype.card F ^ ℓ < Fintype.card F * T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i) :
∃ (D' : Finset ι), θ ≤ ∑ i ∈ D', μ i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Explicit-parameter ℚ-weighted correlated-agreement step on affine spaces up to the Johnson bound (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

For rational coordinate weights μ : ι → ℚ in {0, 1 / M, …, 1} (0 < M, zero weights allowed), threshold θ : ℚ with (k : ℚ) ≤ θ and (D : ℚ) < m * θ, and Guruswami–Sudan interpolation condition |ι| * (m * (m + 1) / 2) < #(Sudan.monomials (k - 1) D), if johnsonCurveBound |ι| m (k - 1) D 1 (M * |ι|) * |F| ^ ℓ < |F| * #T then there exist a shared coordinate subset D' : Finset ι with θ ≤ ∑ i ∈ D', μ i and codewords v₀, v_j ∈ reedSolomon α k agreeing with u₀, u_j on D', with no list-size premise.

theorem Cslib.Code.exists_correlatedAgreement_affine_johnson_of_multiplicity {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {e k m ℓ : ℕ} (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₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 1800 * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, hammingDist (u₀ + ∑ j : Fin ℓ, z j • u j) c ≤ e) :
∃ (D' : Finset ι), Fintype.card ι - e ≤ D'.card ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant correlated-agreement variant on affine spaces up to the Johnson bound (in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6], printed p. 6 of the accepted JACM 2023 manuscript).

For any affine dimension ℓ : ℕ, 1 ≤ k ≤ n, multiplicity parameter m ≥ 1, and proximity radius (e : ℝ) / n ≤ 1 - √ρ - √ρ / (2 * m) (ρ = k / n), if the close parameter subset T has density strictly above 1800 * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|) (independent of ℓ, with no list-size premise), then all affine generators u₀, u_j simultaneously agree with codewords v₀, v_j ∈ reedSolomon α k on a shared coordinate subset D' of size at least n - e. While (m + 1) ^ 6 / ρ has smaller exponents in m and 1 / ρ than the paper's displayed (m + 1 / 2) ^ 7 / (3 * ρ ^ (3 / 2)) expression, this explicit constant is not uniformly smaller at small finite m.

theorem Cslib.Code.exists_correlatedAgreement_affine_johnson_of_eta {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {e k ℓ : ℕ} {η : ℝ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hη : 0 < η) (he : ↑e / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - η) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 115200 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * η ^ 6 * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, hammingDist (u₀ + ∑ j : Fin ℓ, z j • u j) c ≤ e) :
∃ (D' : Finset ι), Fintype.card ι - e ≤ D'.card ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant correlated-agreement variant on affine spaces up to 1 - √ρ - η (in the setting of [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6], printed p. 6 of the accepted JACM 2023 manuscript).

Closed-form corollary of Cslib.Code.exists_correlatedAgreement_affine_johnson_of_multiplicity for any gap η > 0 below 1 - √ρ, establishing simultaneous generator correlated agreement on a shared coordinate subset D' of size at least n - e whenever #T / |F| ^ ℓ exceeds 115200 * n ^ 2 / (ρ * η ^ 6 * |F|) (independent of ℓ, with no list-size premise).

theorem Cslib.Code.exists_weighted_correlatedAgreement_affine_johnson_of_multiplicity {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k m ℓ 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₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 1800 * ↑M * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i) :
∃ (D' : Finset ι), B_W ≤ ∑ i ∈ D', W i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant ℕ-weighted correlated-agreement variant on affine spaces up to the Johnson bound (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

For integer weights W : ι → ℕ bounded by M > 0 (zero weights allowed) and threshold B_W : ℕ with ((n - (B_W + M - 1) / M : ℕ) : ℝ) / n ≤ 1 - √ρ - √ρ / (2 * m), density strictly above 1800 * M * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|) yields simultaneous generator correlated agreement of W-weight at least B_W, independent of ℓ and with no extra list-size premise.

theorem Cslib.Code.exists_weighted_correlatedAgreement_affine_johnson_of_eta {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k ℓ M B_W : ℕ} {η : ℝ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hM : 0 < M) (hη : 0 < η) {W : ι → ℕ} (hW : ∀ (i : ι), W i ≤ M) (hB : ↑(Fintype.card ι - (B_W + M - 1) / M) / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - η) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 115200 * ↑M * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * η ^ 6 * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, B_W ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i) :
∃ (D' : Finset ι), B_W ≤ ∑ i ∈ D', W i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant ℕ-weighted correlated-agreement variant on affine spaces up to 1 - √ρ - η (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_affine_johnson_of_multiplicity {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k m ℓ 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₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 1800 * ↑M * (↑m + 1) ^ 6 * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i) :
∃ (D' : Finset ι), θ ≤ ∑ i ∈ D', μ i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant ℚ-weighted correlated-agreement variant on affine spaces up to the Johnson bound (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

For rational coordinate weights μ : ι → ℚ in {0, 1 / M, …, 1} (0 < M, zero weights allowed) and threshold θ : ℚ with 1 - θ / n ≤ 1 - √ρ - √ρ / (2 * m), density strictly above 1800 * M * (m + 1) ^ 6 * n ^ 2 / (ρ * |F|) yields simultaneous generator correlated agreement of μ-weight at least θ, independent of ℓ and with no extra list-size premise.

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_affine_johnson_of_eta {F : Type u_1} {ι : Type u_2} [Field F] [Fintype F] [Fintype ι] [DecidableEq F] {α : ι → F} {k ℓ M : ℕ} {η : ℝ} (hα : Function.Injective α) (hk : 1 ≤ k) (hkn : k ≤ Fintype.card ι) (hM : 0 < M) (hη : 0 < η) {μ : ι → ℚ} (hμ_le : ∀ (i : ι), μ i ≤ 1) (hμ_den : ∀ (i : ι), ∃ (a : ℕ), μ i = ↑a / ↑M) {θ : ℚ} (hθ : 1 - ↑θ / ↑(Fintype.card ι) ≤ 1 - √(↑k / ↑(Fintype.card ι)) - η) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 115200 * ↑M * ↑(Fintype.card ι) ^ 2 / (↑k / ↑(Fintype.card ι) * η ^ 6 * ↑(Fintype.card F)) < ↑T.card / ↑(Fintype.card F) ^ ℓ) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i) :
∃ (D' : Finset ι), θ ≤ ∑ i ∈ D', μ i ∧ ∃ v₀ ∈ reedSolomon α k, ∃ (v : Fin ℓ → ι → F), (∀ (j : Fin ℓ), v j ∈ reedSolomon α k) ∧ ∀ i ∈ D', u₀ i = v₀ i ∧ ∀ (j : Fin ℓ), u j i = v j i

Original explicit-constant ℚ-weighted correlated-agreement variant on affine spaces up to 1 - √ρ - η (in the setting of [BSCI+23], Theorem 1.6 on printed p. 6 and Theorems 7.3–7.4 on printed p. 32 of the accepted JACM 2023 manuscript).

For rational coordinate weights μ : ι → ℚ in {0, 1 / M, …, 1} (0 < M, zero weights allowed), any gap η > 0, and threshold θ : ℚ with 1 - θ / n ≤ 1 - √ρ - η, density strictly above 115200 * M * n ^ 2 / (ρ * η ^ 6 * |F|) yields simultaneous generator correlated agreement of μ-weight at least θ, independent of ℓ and with no extra list-size premise.