The Katz–Trevisan lower bound for locally decodable codes #
This module proves the Katz–Trevisan information-theoretic length lower bound
n = Ω(k ^ (q / (q - 1))) for q-query locally decodable codes [KT00], [Yek12],
both for non-adaptive decoders (with no adaptivity penalty) and for arbitrary adaptive q-query
decoders (via Cslib.Code.nonadaptivize, incurring the |Γ| ^ (q - 1) reduction factor).
The proof proceeds in two steps:
- Information-theoretic bit-recovery bound
(
Cslib.Code.card_mul_one_sub_binEntropy_le_logb_card): if deterministic predictorsg irecover each biti ∈ Tof a uniformly random messagex : ι → BoolfromC x : Rwith probability at least1 / 2 + η, then|T| · (1 - h₂(1 / 2 + η)) ≤ log₂ |R|, whereh₂(p) = Real.binEntropy p / Real.log 2. This combines the chain rule, conditional-entropy subadditivity (Shearer.lean), and Fano's inequality (Fano.lean). - Random restriction of decoding matchings (
Cslib.Code.DecodingMatching.pow_le_pow): given aDecodingMatchingfamilyM iof size at leastα |P|with accuracy1 / 2 + ηfor each message biti, include each coordinate ofPindependently with probabilityp. For any sampled subsetS ⊆ P, every bitiwhose matching contains an edgee ⊆ Sis predicted with accuracy1 / 2 + ηfromC x|_S, so step 1 bounds the number of recovered bits by|S| · log₂ |Γ| / (1 - h₂(1 / 2 + η)). Disjointness ofM imakes the edges inM ihitSindependently with probability at leastp ^ q, giving an average recovery probability at leastα |P| p ^ q / (1 + α |P| p ^ q). Optimizingp = (α |P|) ^ (-1 / q)yields the unified polynomial inequalityα · (|ι| · (1 - h₂(1 / 2 + η))) ^ q ≤ (2 log₂ |Γ|) ^ q · |P| ^ (q - 1)for everyq ≥ 1(recovering thelog₂ |Γ|upper bound on|ι|atq = 1, and raising to1 / (q - 1)gives|P| ≥ c(q, δ, ε, |Γ|) · |ι| ^ (q / (q - 1))for allq ≥ 2and|Γ| ≥ 2).
Main results #
Cslib.Code.card_mul_one_sub_binEntropy_le_logb_card: information-theoretic decoding bound|T| · (1 - h₂(1 / 2 + η)) ≤ log₂ |R|.Cslib.Code.DecodingMatching.pow_le_pow: unified polynomial bound from a family of decoding matchings.Cslib.Code.IsSmoothDecoder.pow_le_pow_of_nonadaptivePlan: sharp bound for non-adaptive smooth decoders.Cslib.Code.IsLocalDecoder.pow_le_pow_of_nonadaptivePlan,Cslib.Code.IsLocalDecoder.rpow_le_card_of_nonadaptivePlan: sharp andk ^ (q / (q - 1))bounds for non-adaptiveq-query local decoders.Cslib.Code.IsLocallyDecodable.pow_le_pow,Cslib.Code.IsLocallyDecodable.rpow_le_card: Katz–TrevisanΩ(k ^ (q / (q - 1)))lower bound for arbitrary (possibly adaptive)q-query locally decodable codes.
References #
Information-theoretic bit-recovery bound #
Information-theoretic bit-recovery bound [KT00], [Yek12]: if
deterministic predictors g i : R → Bool recover each bit i ∈ T of a uniformly random message
x : ι → Bool from C x : R with probability at least 1 / 2 + η (0 ≤ η), then
|T| · (1 - h₂(1 / 2 + η)) ≤ log₂ |R|, where h₂(p) = Real.binEntropy p / Real.log 2.
Bernoulli random restrictions on disjoint hypergraph matchings #
Katz–Trevisan polynomial bound from decoding matchings [KT00], [Yek12]:
if every message bit i : ι has a q-bounded decoding matching of size at least α |P| and
accuracy 1 / 2 + η (1 ≤ q, 0 < α, 0 < η, P and Γ nonempty), then
α · (|ι| · (1 - h₂(1 / 2 + η))) ^ q ≤ (2 log₂ |Γ|) ^ q · |P| ^ (q - 1).
Auxiliary lemmas for code lower bounds #
Katz–Trevisan lower bounds for smooth and locally decodable codes #
Katz–Trevisan bound for non-adaptive smooth codes [KT00], [Yek12]:
every non-adaptive (q, c, ε) smooth decoder (1 ≤ q, 0 < c, 0 < ε) satisfies
ε · (|ι| · (1 - h₂(1 / 2 + ε / 2))) ^ q ≤ q · c · (2 log₂ |Γ|) ^ q · |P| ^ (q - 1).
Katz–Trevisan bound for non-adaptive locally decodable codes [KT00],
[Yek12]: every non-adaptive (q, δ, ε) local decoder (1 ≤ q, 0 < δ, 0 < ε) satisfies
δ · ε · (|ι| · (1 - h₂(1 / 2 + ε / 2))) ^ q ≤ q ^ 2 · (2 log₂ |Γ|) ^ q · |P| ^ (q - 1).
Katz–Trevisan Ω(k ^ (q / (q - 1))) bound for non-adaptive q-query LDCs
[KT00], [Yek12]: for 2 ≤ q and 2 ≤ |Γ|, every non-adaptive (q, δ, ε)
local decoder satisfies n ≥ c(q, δ, ε, |Γ|) · k ^ (q / (q - 1)) with explicit constant
(δ · ε ^ (2q + 1) / (q ^ 2 · (4 log₂ |Γ|) ^ q)) ^ (1 / (q - 1)).
Katz–Trevisan bound for arbitrary (possibly adaptive) locally decodable codes
[KT00], [Yek12]: every (q, δ, ε) locally decodable code (1 ≤ q, 0 < δ,
0 < ε) over a finite nonempty alphabet Γ satisfies
δ · ε · (|ι| · (1 - h₂(1 / 2 + ε / (2 |Γ| ^ (q - 1))))) ^ q ≤ q ^ 2 · |Γ| ^ (q - 1) · (2 log₂ |Γ|) ^ q · |P| ^ (q - 1).
For q = 1 the factor |Γ| ^ (q - 1) is 1 and |P| ^ (q - 1) is 1, giving an explicit
logarithmic-in-|Γ| upper bound on |ι|.
Katz–Trevisan Ω(k ^ (q / (q - 1))) lower bound for arbitrary (possibly adaptive) q-query
locally decodable codes [KT00], [Yek12]: for 2 ≤ q, 2 ≤ |Γ|, 0 < δ, and
0 < ε, every (q, δ, ε) locally decodable code satisfies
n ≥ c(q, δ, ε, |Γ|) · k ^ (q / (q - 1)) with explicit constant
(δ · ε ^ (2q + 1) / (q ^ 2 · |Γ| ^ ((q - 1)(2q + 1)) · (4 log₂ |Γ|) ^ q)) ^ (1 / (q - 1)).