Gallager: expected maximum-likelihood random-code error
OpenQAlgorithms.Papers.Independent.Intake100.P73.gallager_iid_expected_errorFor every normalized discrete channel W, input law p, and positive integer N, draw N codewords independently from p and decode by maximum likelihood, using a fixed tie convention. The expected uniform-message error is at most inf over 0<=s<=1 of N^s times sum_y (sum_x p(x) W_x(y)^(1/(1+s)))^(1+s). This is the Gallager [7] ingredient explicitly quoted in the proof of Theorem 3, with N=ML.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P73
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P73
open Filter
open scoped BigOperators ENNReal Topology
attribute [local instance] Classical.propDecidable Classical.decEq
universe u
/-- Hayashi PDF p.6, proof of Theorem 3, explicitly attributed to Gallager [7].
For N iid codewords, the actual maximum-likelihood decoder's expected average
error has the stated optimized moment bound. Take N=ML in that proof. -/
theorem gallager_iid_expected_error {X Y : Type*}
(W : X → Y → ℝ≥0∞) (hW : IsDiscreteStochastic W) (p : PMF X)
(N : ℕ) (hN : 0 < N) :
iidExpectation p N (fun a => iidMaximumLikelihoodError W a hN) ≤
sInf ((fun s : ℝ => (N : ℝ≥0∞) ^ s * phiMoment W p s) '' Set.Icc 0 1) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P73
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For arbitrary types , let satisfy for every , let be a probability mass function on , and let be a positive natural number. For each tuple , let be a classically chosen index maximizing , with unspecified tie-breaking, and put , where the summand is defined to be when . Then, in the extended nonnegative reals,
All sums extend over the indicated full types, with no finiteness assumption on or . Tuples may have repeated entries; and the parameter endpoints are included, while is excluded. The existence of forces to be nonempty, and stochasticity then forces to be nonempty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.