asymptotic binary sphere-packing rate
ProvedQAlgorithms.Papers.Independent.Gap48.P33.binary_sphere_packing_rateFor each positive integer , let a binary length- code have codewords and pairwise disjoint Hamming balls of integer radius . Suppose . Then
The lower-tail calculation used here is also stated: if and , then
where . The range , omitted in printed (6.6), is restored. This is the asymptotic packing consequence with integer cutoffs and no rate-convergence assumption.
Here denotes binary Shannon entropy in bits, with .
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P33
namespace QAlgorithms.Papers.Independent.Gap48.P33
open scoped BigOperators Matrix ComplexConjugate
-- Reuse only definitions from the pinned accepted library; no imported theorem is used.
open QAlgorithms.Papers.Independent.Information100.P27 (shannon average labelInformation)
open QAlgorithms.Papers.Independent.Information100.P08 (canonicalPurification)
open QAlgorithms.Papers.Independent.Dependency50.P19 (mutualInformation first both)
open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)
open QAlgorithms.Papers.Independent.Dependency50.P45 (entropyExchange inputMutualInfo)
open QAlgorithms.Papers.Independent.Claimed50.P03 (pauliWeight wordSupport)
/-- PDF pp.13–14, (6.5)–(6.7): integer-cutoff binary sphere packing.
Correction to (6.6): the printed lower-tail exponent omits p<=r; for p>r the
exponent is zero, not D(p||r). Independent moderation of this correction is pending.
The limsup needs no convergence assumption on code rates. -/
theorem binary_sphere_packing_rate (k t : ℕ → ℕ) (p : ℝ)
(hp : 0 ≤ p) (hp1 : p ≤ 1 / 2)
(ht : ∀ n, 0 < n → t n ≤ n)
(hcode : ∀ n, 0 < n → BinaryCode n (k n) (t n))
(hlimit : Filter.Tendsto (fun n => messageRate (t n) n) Filter.atTop (nhds p)) :
(∀ n, 0 < n → messageRate (k n) n ≤
-Real.logb 2 (binomialLowerTail (1 / 2) n (t n)) / (n : ℝ)) ∧
Filter.limsup (fun n => messageRate (k n) n) Filter.atTop ≤ 1 - binEntropy2 p ∧
(∀ r : ℝ, 0 < r → r < 1 → p ≤ r →
Filter.Tendsto (fun n => -Real.logb 2 (binomialLowerTail r n (t n)) / (n : ℝ))
Filter.atTop (nhds (binaryDivergence p r))) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P33
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let and . Assume that, for every , and there are binary words of length whose Hamming balls of radius are pairwise disjoint: no binary word lies within distance of two differently indexed codewords. Assume also that as . Define
where is natural subtraction, hence equals when . Then, for every ,
and , with . Furthermore, for every real satisfying and ,
The cases , , and when are included. No code or radius condition is imposed at ; the ratios there use total real division, so division by zero gives .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.