§V, equations (37)–(38): error bounds for an arbitrary additive law
OpenQAlgorithms.Papers.Independent.Intake100.P31.general_noiseLet and let be indexed by a finite nonempty seed set , sampled uniformly and independently of inputs. Repeated codes at distinct seeds retain their multiplicity. Write and . A dimension- universality bound means for every nonzero . For a normalized additive error law , independent of the seed and uniformly transmitted codeword, let . Write and . Decoding means ML word decoding with a fixed syndrome-based deterministic tie rule, followed by quotient projection when an inner code is specified. Assume maximum-dimension universality with and put . Let indicate the existence of a nonzero with , conservatively treating ties as failures. Then
The translated Hamming ball is essential. ML error is bounded above by the Hamming estimate; it is not identified with it for an arbitrary noise law.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P31
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P31
open scoped BigOperators Matrix ComplexConjugate
open QAlgorithms
local instance {n : ℕ} (C : BinaryLinearCode n) : Fintype C := Fintype.ofFinite C
/-- PDF pp.9--10 (35)--(38), corrected translated Hamming ball and ML inequality.
The conservative failure indicator includes every tie, so its law also bounds ML error. -/
theorem general_noise {n : ℕ} (hn : 0 < n) {I : Type*} [Fintype I] [Nonempty I]
(C : I → BinaryLinearCode n) (eps : ℝ) (heps : 1 ≤ eps)
(hu : UniversalAt C (maxDim C) eps) (P : ErrorLaw n) :
(∀ x : BinaryBlock n, avg (fun r => hammingBad (C r) x) ≤ eps *
(2 : ℝ) ^ (-(n : ℝ) * max (1 - binEntropy2 (min ((wt x : ℝ) / n) (1 / 2)) -
(maxDim C : ℝ) / n) 0)) ∧
avg (fun r => cosetWordError ⊥ (C r) P.mass) ≤
wordNoiseBound P.mass ((maxDim C : ℝ) / n) eps := by sorry
end QAlgorithms.Papers.Independent.Intake100.P31
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every positive integer , every finite nonempty seed type , every family of binary linear subspaces indexed by , every real , and every function satisfying for all and , let . Assume that every nonzero satisfies
Write for the number of nonzero coordinates, let , with endpoint terms , and put
For a code , define its decoder on by choosing an error maximizing among all with , and returning , using the fixed choice made in the definition when maximizers tie. Then both
and
hold. The first assertion includes and counts weight ties through the non-strict inequality; the second bound omits the weight-zero term, and zero-dimensional codes are allowed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.