Documentation

CslibFrontier.Foundations.Data.Code.ProximityGap.Curve.UniqueAffine

Sharp Unique-Decoding Affine-Space Correlated Agreement and Dichotomies #

Unweighted eq. (1.2) affine correlated agreement with uniqueness and maximality (exists_uniqueMaximal_correlatedAgreement_affine_unique), plus the sharp ℕ- and ℚ-weighted unique-decoding affine correlated agreement and proximity-gap dichotomies (*_affine_unique_sharp).

Main results #

theorem Cslib.Code.exists_uniqueMaximal_correlatedAgreement_affine_unique {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {ι : Type u_2} [Fintype ι] {α : ι → F} (hα : Function.Injective α) {e k ℓ : ℕ} (hunique : 2 * e + k ≤ Fintype.card ι) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : 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) ∧ ∀ (D'' : Finset ι) (w₀ : ι → F) (w : Fin ℓ → ι → F), Fintype.card ι - e ≤ D''.card → w₀ ∈ reedSolomon α k → (∀ (j : Fin ℓ), w j ∈ reedSolomon α k) → (∀ i ∈ D'', u₀ i = w₀ i ∧ ∀ (j : Fin ℓ), u j i = w j i) → D'' ⊆ D' ∧ w₀ = v₀ ∧ w = v

Exact-threshold correlated agreement on affine spaces in the unique-decoding regime, with unique maximal agreement set and unique codewords ([BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6 & Section 6.3], accepted JACM 2023 manuscript p. 6 and pp. 28–31, eq. (1.2)).

Over a finite field F, given distinct evaluation points α : ι → F, 2 * e + k ≤ |ι|, and an affine space u₀ + ∑ j : Fin ℓ, z j • u j, if |ι| * |F| ^ ℓ < |F| * #T (exact density threshold #T / |F| ^ ℓ > |ι| / |F| = ε_U of eq. (1.2), completely independent of ℓ) and every z ∈ T lies within Hamming distance e of reedSolomon α k, then there exist a greatest (hence unique maximal) shared coordinate subset D' : Finset ι of size at least |ι| - e and unique codewords v₀, v j ∈ reedSolomon α k matching u₀, u j on D': every qualifying (D'', w₀, w) satisfies D'' ⊆ D', w₀ = v₀, and w = v.

theorem Cslib.Code.exists_ratWeighted_correlatedAgreement_affine_unique_sharp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {ι : Type u_2} [Fintype ι] {α : ι → F} (hα : Function.Injective α) {e k ℓ : ℕ} (hunique : 2 * e + k ≤ Fintype.card ι) {μ : ι → ℚ} (hμ_le : ∀ (i : ι), μ i ≤ 1) {θ : ℚ} (hθ : ↑(Fintype.card ι - e) - 1 < θ) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : Fintype.card ι * (Fintype.card F ^ ℓ - 1) < (Fintype.card F - 1) * 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

Dimension-independent ℚ-weighted correlated agreement on affine spaces in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.6 and 7.4]): At threshold |ι| * (|F| ^ ℓ - 1) < (|F| - 1) * #T (completely independent of ℓ and weight denominators), any weight function μ : ι → ℚ with ∀ i, μ i ≤ 1 admits shared correlated agreement θ ≤ ∑ i ∈ D', μ i. Handles the one-point ℓ = 0 case explicitly (including |ι| = |F|), and for ℓ ≥ 1 delegates the unweighted step to Cslib.Code.exists_uniqueMaximal_correlatedAgreement_affine_unique.

theorem Cslib.Code.exists_weighted_correlatedAgreement_affine_unique_sharp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {ι : Type u_2} [Fintype ι] {α : ι → F} (hα : Function.Injective α) {k ℓ M B : ℕ} (hM : 0 < M) {W : ι → ℕ} (hW : ∀ (i : ι), W i ≤ M) (hunique : 2 * (Fintype.card ι - (B + M - 1) / M) + k ≤ Fintype.card ι) (u₀ : ι → F) (u : Fin ℓ → ι → F) (T : Finset (Fin ℓ → F)) (hT : Fintype.card ι * (Fintype.card F ^ ℓ - 1) < (Fintype.card F - 1) * T.card) (hclose : ∀ z ∈ T, ∃ c ∈ reedSolomon α k, B ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i) :
∃ (D' : Finset ι), B ≤ ∑ 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

Dimension-independent ℕ-weighted correlated agreement on affine spaces in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.6 and 7.4]).

theorem Cslib.Code.weighted_proximityGap_affine_unique_sharp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {ι : Type u_2} [Fintype ι] {α : ι → F} (hα : Function.Injective α) {k ℓ M B : ℕ} (hM : 0 < M) {W : ι → ℕ} (hW : ∀ (i : ι), W i ≤ M) (hunique : 2 * (Fintype.card ι - (B + M - 1) / M) + k ≤ Fintype.card ι) (u₀ : ι → F) (u : Fin ℓ → ι → F) [DecidablePred fun (z : Fin ℓ → F) => ∃ c ∈ reedSolomon α k, B ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i] :
(∀ (z : Fin ℓ → F), ∃ c ∈ reedSolomon α k, B ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i) ∨ (Fintype.card F - 1) * {z : Fin ℓ → F | ∃ c ∈ reedSolomon α k, B ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, W i}.card ≤ Fintype.card ι * (Fintype.card F ^ ℓ - 1)

Dimension-independent ℕ-weighted proximity-gap dichotomy on affine spaces in the unique-decoding regime ([BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.6 and 7.4]).

theorem Cslib.Code.ratWeighted_proximityGap_affine_unique_sharp {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {ι : Type u_2} [Fintype ι] {α : ι → F} (hα : Function.Injective α) {e k ℓ : ℕ} (hunique : 2 * e + k ≤ Fintype.card ι) {μ : ι → ℚ} (hμ_nonneg : ∀ (i : ι), 0 ≤ μ i) (hμ_le : ∀ (i : ι), μ i ≤ 1) {θ : ℚ} (hθ : ↑(Fintype.card ι - e) - 1 < θ) (u₀ : ι → F) (u : Fin ℓ → ι → F) [DecidablePred fun (z : Fin ℓ → F) => ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i] :
(∀ (z : Fin ℓ → F), ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i) ∨ (Fintype.card F - 1) * {z : Fin ℓ → F | ∃ c ∈ reedSolomon α k, θ ≤ ∑ i : ι with (u₀ + ∑ j : Fin ℓ, z j • u j) i = c i, μ i}.card ≤ Fintype.card ι * (Fintype.card F ^ ℓ - 1)

Dimension-independent ℚ-weighted proximity-gap dichotomy on affine spaces in the unique-decoding regime (ℚ-weights in [0, 1], [BenSassonCarmonIshaiKoppartySaraf2020, Theorems 1.6 and 7.4]).