Documentation

CslibFrontier.Computability.LocallyDecodable.OneQuery

One-query locally decodable codes are short #

A decoder making a single query learns one symbol of the received word. Katz and Trevisan [KT00] proved that one-query locally decodable codes have bounded message length: for q = 1 they do not exist once the message is longer than a constant depending on δ and ε (as summarized in Kerenidis and de Wolf, Section 1). This file proves a different, explicit inequality for one-query decoders by a degree-one Fourier argument.

Original result. An explicit one-query bound, proved by a degree-one Fourier argument. A (1, c, ε) smooth decoder with 0 ≤ ε for a code C : (ι → Bool) → P → Γ satisfies 4 |ι| ε² ≤ c² (|Γ| - 1) (Code.IsSmoothDecoder.four_mul_card_mul_sq_le). So a (1, δ, ε) locally decodable code, which is (1, 1 / δ, ε) smooth (Code.IsLocalDecoder.isSmoothCode_of_one), satisfies 4 δ² |ι| ε² ≤ |Γ| - 1 (Code.IsLocalDecoder.four_mul_sq_mul_card_mul_sq_le), whatever the length of the code. The bound is polynomial in |Γ| - 1 and in δ², and the repetition code of a single bit, read at a uniform position, attains equality with |ι| = 1, c = 1, ε = 1 / 2 and |Γ| = 2. This is not the inequality of Katz and Trevisan, and we did not find this form in the literature we searched (Katz–Trevisan, Kerenidis–de Wolf, Yekhanin's survey, and a web search).

The proof correlates the decoder's output with the sign of the bit i over a uniform message. A decoder making one query decides from one symbol, so the correlation is at most the expected reads weighted by the imbalance of the bit i on each fiber of each position (Code.two_mul_abs_sum_mul_decodeLaw_le). Those imbalances are degree-one Fourier coefficients of the fiber indicators, whose total is at most √(|ι| (|Γ| - 1)) at each position (BitString.sq_sum_sum_abs_fourierCoeff_fiber_le), and smoothness spreads the reads over the positions.

Main results #

References #

theorem Cslib.Code.two_mul_abs_sum_mul_decodeLaw_le {P Γ α M : Type} [Fintype P] [Fintype Γ] [Fintype M] [DecidableEq P] [DecidableEq Γ] {program : ProbOracleComp (fun (x : P) => Γ) α} (hq : program.IsQueryBounded 1) (Y : M → P → Γ) (φ : M → ℝ) (hφ : ∑ m : M, φ m = 0) (z : P → Γ) (a : α) :
2 * |∑ m : M, φ m * ((decodeLaw program (Y m)) a).toReal| ≤ ∑ j : P, (expectedReads program z j).toReal * ∑ σ : Γ, |∑ m : M, if Y m j = σ then φ m else 0|

A one-query decoder sees one symbol: for a weight φ on received words Y m with total zero, twice the correlation of φ with the probability that a decoder making at most one query outputs a is at most the sum, over the positions j, of the expected reads of j against any fixed word z times the total imbalance ∑ σ, |∑_{Y m j = σ} φ m| of φ on the fibers of j.

theorem Cslib.Code.IsSmoothDecoder.four_mul_card_mul_sq_le {P Γ : Type} [Fintype P] [Fintype Γ] {ι : Type} [Fintype ι] [DecidableEq P] [Nonempty Γ] {C : (ι → Bool) → P → Γ} {c ε : ℝ} {A : LocalDecoder ι P Γ} (hA : IsSmoothDecoder C 1 c ε A) (hε : 0 ≤ ε) :
4 * ↑(Fintype.card ι) * ε ^ 2 ≤ c ^ 2 * (↑(Fintype.card Γ) - 1)

One-query smooth codes are short. Original result: an explicit one-query bound proved by a degree-one Fourier argument. A (1, c, ε) smooth decoder with 0 ≤ ε for a code from ι-bit messages to words over Γ satisfies 4 |ι| ε² ≤ c² (|Γ| - 1). Katz and Trevisan [KT00] proved that one-query locally decodable codes have bounded message length; this is a different inequality, polynomial in |Γ| - 1, and we did not find this form in the literature.

theorem Cslib.Code.IsLocalDecoder.four_mul_sq_mul_card_mul_sq_le {P Γ : Type} [Fintype P] [Fintype Γ] {ι : Type} [Fintype ι] [DecidableEq Γ] [Nonempty Γ] {C : (ι → Bool) → P → Γ} {δ ε : ℝ} {A : LocalDecoder ι P Γ} (hA : IsLocalDecoder C 1 δ ε A) (hδ : 0 < δ) (hε : 0 ≤ ε) :
4 * δ ^ 2 * ↑(Fintype.card ι) * ε ^ 2 ≤ ↑(Fintype.card Γ) - 1

One-query locally decodable codes are short. Original result: an explicit one-query bound proved by a degree-one Fourier argument. A (1, δ, ε) locally decodable code with 0 < δ and 0 ≤ ε from ι-bit messages to words over Γ satisfies 4 δ² |ι| ε² ≤ |Γ| - 1, whatever its length. Katz and Trevisan [KT00] proved that one-query locally decodable codes have bounded message length; this is a different inequality, polynomial in |Γ| - 1 and in δ², and we did not find this form in the literature.