Existence of the Reliability Function Limit for Discrete Memoryless Channels

attempted

Below the critical rate of a discrete memoryless channel, the exact exponential rate at which optimal decoding error probability decays is unknown. Even more fundamentally, it is still open whether the limiting error exponent exists at all, or whether the liminf and limsup reliability functions could differ.

Posed by Claude E. Shannon, Robert G. Gallager, and Elwyn R. Berlekamp; Imre Csiszár and János Körner, 1967 · Channel Capacity & Synchronization · Last updated Dec 3, 2026

Statement

Let $W : \mathcal{X} \to \mathcal{Y}$ be a strictly positive discrete memoryless channel (DMC) over finite alphabets $\mathcal{X}, \mathcal{Y}$ ($|\mathcal{X}| \ge 2$, $|\mathcal{Y}| \ge 1$, $W(y \mid x) > 0$ for all $x, y$), with Shannon capacity $C(W)$. For blocklength $n$ and message set size $M$, let $P_e^*(W, n, M)$ denote the minimum average error probability over all $(n, M)$ block codes $(f, g)$ across the $n$-fold memoryless product channel $W^{\otimes n}$.

For a rate $R \in (0, C(W))$, define the lower (liminf) reliability function and the upper (limsup) reliability function (in bits per channel use) by $$\underline{E}(W, R) \;=\; \liminf_{n \to \infty} -\frac{1}{n} \log_2 P_e^*\!\big(W, n, \lceil 2^{nR} \rceil\big),$$ $$\overline{E}(W, R) \;=\; \limsup_{n \to \infty} -\frac{1}{n} \log_2 P_e^*\!\big(W, n, \lceil 2^{nR} \rceil\big).$$

Problem (Shannon–Gallager–Berlekamp 1967; Csiszár & Körner 1981, Ch. 2 §5, Problem 6(b), p. 181). For every strictly positive finite-alphabet DMC $W$ and every rate $0 < R < C(W)$, does the limit $$\lim_{n \to \infty} -\frac{1}{n} \log_2 P_e^*\!\big(W, n, \lceil 2^{nR} \rceil\big)$$ exist? Equivalently, is $\underline{E}(W, R) = \overline{E}(W, R)$ for all strictly positive DMCs $W$ and all $0 < R < C(W)$?

Background

In channel coding theory, the reliability function $E(W, R)$ measures the optimal exponential decay rate of decoding error probability at fixed positive rate $R$ below capacity. Above the channel's critical rate $R_{\mathrm{cr}}(W)$, Gallager's random-coding lower bound $E_r(W, R)$ and the Shannon–Gallager–Berlekamp (SGB) sphere-packing upper bound $E_{\mathrm{sp}}(W, R)$ coincide, which simultaneously determines $E(W, R)$ and proves that the limit exists.

Below $R_{\mathrm{cr}}(W)$, however, there is in general a strict gap between the best known lower bounds (Gallager's random-coding and expurgated bounds) and upper bounds (the sphere-packing and straight-line bounds, as well as linear-programming and Lovász-theta refinements). Unlike Shannon's zero-error capacity or blocklength-subadditive quantities where Fekete's lemma guarantees the existence of a limit by simple concatenation of codes, optimal error probabilities at a fixed positive rate $R$ do not satisfy an obvious supermultiplicativity or submultiplicativity inequality that preserves both rate and minimal error simultaneously. As Csiszár and Körner explicitly remark in Information Theory: Coding Theorems for Discrete Memoryless Systems (1981, Ch. 2 §5, Problem 6(b), p. 181; 2nd ed. 2011): "For $R < R_{\mathrm{cr}}$, it is not even known whether the limit exists."

What is known

Notes on the formalization

References

Certified known bounds

The known results quoted for this problem are proved in Lean, about exactly the objects in its formal statement: 11 theorems in lean/InfoTheory/Known/Certificates/DmcReliabilityLimitExistence.lean, using only Lean's standard axioms. This shows the formal statement is meaningful; it does not solve the problem.

Theorems: dmcMinError_ge_half_pow, upperReliabilitySet_le_neg_logb, upperReliabilitySet_bddAbove, upperReliabilityFunction_le_neg_logb, reliabilityFunction_nonneg, reliabilityFunction_le_upperReliabilityFunction, dmcMinError_mono, reliabilityFunction_antitone, upperReliabilityFunction_antitone, bscQuarterFin2_isPositive, bscQuarterFin2_bounds

Show the certificate's Lean source
import InfoTheory.Problems.DmcReliabilityLimitExistence
import InfoTheory.Known

/-!
# Certificate for `InfoTheory.Problems.DmcReliabilityLimitExistence`

The frozen statement asks whether for every strictly positive DMC `W` (`W(y|x) > 0`) and every
rate `0 < R < C(W)`, the lower (liminf) reliability function `reliabilityFunction W R` equals
the upper (limsup) reliability function `upperReliabilityFunction W R`.

## Certified (about exactly these objects)
* `dmcMinError_ge_half_pow` — for any channel with uniform lower bound `0 < c ≤ W(y|x)` and
  `2 ≤ M`, `dmcMinError W n M ≥ (1 / 2) * c ^ n`.
* `upperReliabilitySet_bddAbove`, `upperReliabilityFunction_le_neg_logb` — for every strictly
  positive DMC `W` and `R > 0`, the defining set of `upperReliabilityFunction W R` is bounded
  above by `-Real.logb 2 c` (for any `0 < c ≤ min W`), so both `reliabilityFunction W R` and
  `upperReliabilityFunction W R` are genuine finite suprema bounded by `-Real.logb 2 minW`.
* `reliabilityFunction_nonneg`, `reliabilityFunction_le_upperReliabilityFunction` —
  `0 ≤ reliabilityFunction W R ≤ upperReliabilityFunction W R` for every strictly positive DMC
  and `R > 0`.
* `dmcMinError_mono`, `reliabilityFunction_antitone`, `upperReliabilityFunction_antitone` —
  antitonicity of both `reliabilityFunction` and `upperReliabilityFunction` in `R > 0`.
* `bscQuarterFin2_isPositive`, `bscQuarterFin2_bounds` — explicit positive channel verification
  on `BSC(1/4)` cast to `Fin 2`, giving `0 ≤ E(R) ≤ Ē(R) ≤ -log₂(1/4) = 2`.
-/

open scoped BigOperators

namespace InfoTheory.Known.Certificates.DmcReliabilityLimitExistence

open InfoTheory InfoTheory.Problems.DmcReliabilityLimitExistence

section Helpers

variable {α β : Type*} [Fintype α] [Fintype β]

private lemma exists_pos_lower [Nonempty α] [Nonempty β] (W : DMC α β) (hW : W.IsPositive) :
    ∃ c > 0, ∀ x y, c ≤ W.trans x y := by
  obtain ⟨xy, -, hmin⟩ := Finset.exists_min_image (Finset.univ : Finset (α × β))
    (fun xy => W.trans xy.1 xy.2) Finset.univ_nonempty
  exact ⟨_, hW xy.1 xy.2, fun x y => hmin (x, y) (Finset.mem_univ _)⟩

private lemma dmcAvgError_nonneg [DecidableEq β] (W : DMC α β) (n M : ℕ)
    (enc : Fin M → Fin n → α) (dec : (Fin n → β) → Fin M) :
    0 ≤ dmcAvgError W n M enc dec := by
  unfold dmcAvgError
  split_ifs
  · exact le_rfl
  · refine mul_nonneg (by positivity) (Finset.sum_nonneg fun m _ => Finset.sum_nonneg fun y _ => ?_)
    split_ifs
    · exact (W.power n).nonneg _ _
    · exact le_rfl

private lemma dmcAvgError_le_one [DecidableEq β] (W : DMC α β) (n M : ℕ)
    (enc : Fin M → Fin n → α) (dec : (Fin n → β) → Fin M) :
    dmcAvgError W n M enc dec ≤ 1 := by
  unfold dmcAvgError
  split_ifs with hM
  · exact zero_le_one
  · have hMpos : (0 : ℝ) < (M : ℝ) := Nat.cast_pos.mpr (Nat.pos_of_ne_zero hM)
    have hinner : ∀ m : Fin M,
        ∑ y : Fin n → β, (if dec y ≠ m then (W.power n).trans (enc m) y else 0) ≤ 1 := by
      intro m
      calc ∑ y : Fin n → β, (if dec y ≠ m then (W.power n).trans (enc m) y else 0)
          ≤ ∑ y : Fin n → β, (W.power n).trans (enc m) y :=
            Finset.sum_le_sum fun y _ => by
              split_ifs
              · exact le_rfl
              · exact (W.power n).nonneg _ _
        _ = 1 := (W.power n).sum_one (enc m)
    calc ((1 : ℝ) / (M : ℝ)) *
          ∑ m : Fin M, ∑ y : Fin n → β, (if dec y ≠ m then (W.power n).trans (enc m) y else 0)
        ≤ ((1 : ℝ) / (M : ℝ)) * ∑ _m : Fin M, (1 : ℝ) :=
          mul_le_mul_of_nonneg_left (Finset.sum_le_sum fun m _ => hinner m) (by positivity)
      _ = 1 := by simp [hMpos.ne']

private lemma dmcMinError_le_one [DecidableEq β] (W : DMC α β) (n M : ℕ) :
    dmcMinError W n M ≤ 1 := by
  by_cases hne : ({ e : ℝ | ∃ (enc : Fin M → Fin n → α) (dec : (Fin n → β) → Fin M),
      e = dmcAvgError W n M enc dec }).Nonempty
  · rcases hne with ⟨e, enc, dec, rfl⟩
    have hbdd : BddBelow { e : ℝ | ∃ (enc : Fin M → Fin n → α) (dec : (Fin n → β) → Fin M),
        e = dmcAvgError W n M enc dec } :=
      ⟨0, by rintro _ ⟨enc', dec', rfl⟩; exact dmcAvgError_nonneg W n M enc' dec'⟩
    exact le_trans (csInf_le hbdd ⟨enc, dec, rfl⟩) (dmcAvgError_le_one W n M enc dec)
  · unfold dmcMinError
    rw [Set.not_nonempty_iff_eq_empty.mp hne, Real.sInf_empty]
    exact zero_le_one

private lemma zero_mem_reliabilitySet [DecidableEq β] (W : DMC α β) (R : ℝ) :
    (0 : ℝ) ∈ { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } := by
  intro ε hε
  refine ⟨0, fun n _ => ?_⟩
  have h1 : (1 : ℝ) ≤ (2 : ℝ) ^ (-(n : ℝ) * (0 - ε)) := by
    rw [show -(n : ℝ) * (0 - ε) = (n : ℝ) * ε by ring]
    exact Real.one_le_rpow (by norm_num) (mul_nonneg (Nat.cast_nonneg n) hε.le)
  exact le_trans (dmcMinError_le_one W n _) h1

private lemma reliabilitySet_subset_upperReliabilitySet [DecidableEq β] (W : DMC α β) (R : ℝ) :
    { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } ⊆
    { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } := by
  intro E hE ε hε N
  obtain ⟨N₀, hN₀⟩ := hE ε hε
  exact ⟨max N N₀, le_max_left _ _, hN₀ (max N N₀) (le_max_right _ _)⟩

/-- Lower bound `dmcMinError W n M ≥ (1 / 2) * c ^ n` whenever `2 ≤ M` and every channel
    transition satisfies `0 < c ≤ W(y | x)`. -/
theorem dmcMinError_ge_half_pow [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) {c : ℝ} (hc : 0 < c) (hcle : ∀ x y, c ≤ W.trans x y)
    {n M : ℕ} (hM : 2 ≤ M) :
    (1 / 2 : ℝ) * c ^ n ≤ dmcMinError W n M := by
  have hMpos : 0 < M := by omega
  have hMne : M ≠ 0 := by omega
  have hSne : { e : ℝ | ∃ (enc : Fin M → Fin n → α) (dec : (Fin n → β) → Fin M),
      e = dmcAvgError W n M enc dec }.Nonempty :=
    ⟨_, fun _ _ => Classical.arbitrary α, fun _ => ⟨0, hMpos⟩, rfl⟩
  refine le_csInf hSne ?_
  rintro _ ⟨enc, dec, rfl⟩
  unfold dmcAvgError
  simp only [hMne, ↓reduceIte]
  have hpow_ge : ∀ (m : Fin M) (y : Fin n → β), c ^ n ≤ (W.power n).trans (enc m) y := by
    intro m y
    calc c ^ n
        = ∏ _i : Fin n, c := by simp
      _ ≤ ∏ i : Fin n, W.trans (enc m i) (y i) :=
          Finset.prod_le_prod₀ (fun _ _ => hc.le) (fun i _ => hcle _ _)
      _ = (W.power n).trans (enc m) y := rfl
  have hcard_y : (1 : ℝ) ≤ (Fintype.card (Fin n → β) : ℝ) := by
    have : Nonempty (Fin n → β) := ⟨fun _ => Classical.arbitrary β⟩
    exact_mod_cast Fintype.card_pos (α := Fin n → β)
  have hsum_ge : ((M - 1 : ℕ) : ℝ) * c ^ n ≤
      ∑ m : Fin M, ∑ y : Fin n → β,
        if dec y ≠ m then (W.power n).trans (enc m) y else 0 := by
    rw [Finset.sum_comm]
    have hinner : ∀ y : Fin n → β,
        ((M - 1 : ℕ) : ℝ) * c ^ n ≤
          ∑ m : Fin M, if dec y ≠ m then (W.power n).trans (enc m) y else 0 := by
      intro y
      calc ((M - 1 : ℕ) : ℝ) * c ^ n
          = ∑ _m ∈ Finset.univ.erase (dec y), c ^ n := by
            rw [Finset.sum_const, Finset.card_erase_of_mem (Finset.mem_univ _),
              Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
        _ = ∑ m : Fin M, if dec y ≠ m then c ^ n else 0 := by
            rw [← Finset.sum_filter]
            congr 1; ext m; simp [Finset.mem_erase, ne_comm]
        _ ≤ ∑ m : Fin M, if dec y ≠ m then (W.power n).trans (enc m) y else 0 :=
            Finset.sum_le_sum fun m _ => by split_ifs; exact hpow_ge m y; exact le_rfl
    calc ((M - 1 : ℕ) : ℝ) * c ^ n
        = 1 * (((M - 1 : ℕ) : ℝ) * c ^ n) := (one_mul _).symm
      _ ≤ (Fintype.card (Fin n → β) : ℝ) * (((M - 1 : ℕ) : ℝ) * c ^ n) :=
          mul_le_mul_of_nonneg_right hcard_y (by positivity)
      _ = ∑ _y : Fin n → β, ((M - 1 : ℕ) : ℝ) * c ^ n := by
          rw [Finset.sum_const, Finset.card_univ, nsmul_eq_mul]
      _ ≤ ∑ y : Fin n → β, ∑ m : Fin M,
            if dec y ≠ m then (W.power n).trans (enc m) y else 0 :=
          Finset.sum_le_sum fun y _ => hinner y
  have hM_r : (0 : ℝ) < (M : ℝ) := Nat.cast_pos.mpr hMpos
  have hhalf : (1 / 2 : ℝ) ≤ ((1 : ℝ) / (M : ℝ)) * ((M - 1 : ℕ) : ℝ) := by
    have hcast : ((M - 1 : ℕ) : ℝ) = (M : ℝ) - 1 := by
      rw [Nat.cast_sub (by omega : 1 ≤ M), Nat.cast_one]
    have hM2 : (2 : ℝ) ≤ (M : ℝ) := by exact_mod_cast hM
    rw [hcast, one_div_mul_eq_div, le_div_iff₀ hM_r]
    linarith
  calc (1 / 2 : ℝ) * c ^ n
      ≤ (((1 : ℝ) / (M : ℝ)) * ((M - 1 : ℕ) : ℝ)) * c ^ n :=
        mul_le_mul_of_nonneg_right hhalf (by positivity)
    _ = ((1 : ℝ) / (M : ℝ)) * (((M - 1 : ℕ) : ℝ) * c ^ n) := by ring
    _ ≤ ((1 : ℝ) / (M : ℝ)) * ∑ m : Fin M, ∑ y : Fin n → β,
          if dec y ≠ m then (W.power n).trans (enc m) y else 0 :=
        mul_le_mul_of_nonneg_left hsum_ge (by positivity)

/-- Every element of the defining set of `upperReliabilityFunction W R` is at most
    `-Real.logb 2 c` whenever `0 < c ≤ W(y | x)` and `0 < R`. -/
theorem upperReliabilitySet_le_neg_logb [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) {c : ℝ} (hc : 0 < c) (hcle : ∀ x y, c ≤ W.trans x y)
    {R : ℝ} (hR : 0 < R) :
    ∀ E ∈ { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) },
      E ≤ -Real.logb 2 c := by
  intro E hE
  by_contra hgt
  push Not at hgt
  set δ := E - (-Real.logb 2 c) with hδ
  have hδpos : 0 < δ := sub_pos.mpr hgt
  set ε := δ / 3
  have hεpos : 0 < ε := by positivity
  obtain ⟨N₀, hN₀⟩ := exists_nat_gt (1 / ε)
  obtain ⟨n, hn, hmin_le⟩ := hE ε hεpos (max N₀ 1)
  have hn1 : 1 ≤ n := le_trans (le_max_right _ _) hn
  have hnN₀ : N₀ ≤ n := le_trans (le_max_left _ _) hn
  have hn_r : (0 : ℝ) < (n : ℝ) := Nat.cast_pos.mpr (by omega)
  have h2pow_gt1 : (1 : ℝ) < (2 : ℝ) ^ ((n : ℝ) * R) := by
    rw [← Real.rpow_zero (2 : ℝ)]
    exact Real.rpow_lt_rpow_of_exponent_lt (by norm_num) (mul_pos hn_r hR)
  have hM_ge2 : 2 ≤ Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R)) := by
    by_contra hlt
    push Not at hlt
    have hle1 : (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R)) : ℝ) ≤ 1 := by
      exact_mod_cast Nat.le_of_lt_succ hlt
    linarith [Nat.le_ceil ((2 : ℝ) ^ ((n : ℝ) * R))]
  have hle : (1 / 2 : ℝ) * c ^ n ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) :=
    le_trans (dmcMinError_ge_half_pow W hc hcle hM_ge2) hmin_le
  have hlog_mono :
      Real.logb 2 ((1 / 2 : ℝ) * c ^ n) ≤ Real.logb 2 ((2 : ℝ) ^ (-(n : ℝ) * (E - ε))) :=
    Real.logb_le_logb_of_le one_lt_two (by positivity) hle
  have hlhs : Real.logb 2 ((1 / 2 : ℝ) * c ^ n) = -1 + (n : ℝ) * Real.logb 2 c := by
    rw [Real.logb_mul (by norm_num) (pow_pos hc n).ne', Real.logb_pow]
    have hhalf : Real.logb 2 (1 / 2 : ℝ) = -1 := by
      rw [one_div, Real.logb_inv, Real.logb_self_eq_one one_lt_two]
    rw [hhalf]
  have hrhs : Real.logb 2 ((2 : ℝ) ^ (-(n : ℝ) * (E - ε))) = -(n : ℝ) * (E - ε) := by
    rw [Real.logb_rpow (by norm_num) (by norm_num)]
  rw [hlhs, hrhs] at hlog_mono
  have hinv : 1 / (n : ℝ) < ε := by
    have hlt : 1 / ε < (n : ℝ) := lt_of_lt_of_le hN₀ (by exact_mod_cast hnN₀)
    rw [div_lt_iff₀ hn_r]
    have := (div_lt_iff₀ hεpos).mp hlt
    linarith
  have hdiv : E - ε ≤ 1 / (n : ℝ) - Real.logb 2 c := by
    have h1 : (n : ℝ) * (E - ε) ≤ 1 - (n : ℝ) * Real.logb 2 c := by linarith
    have hn_cancel : (n : ℝ) * (1 / (n : ℝ)) = 1 := mul_one_div_cancel hn_r.ne'
    have h2 : (n : ℝ) * (E - ε) ≤ (n : ℝ) * (1 / (n : ℝ) - Real.logb 2 c) := by nlinarith
    exact le_of_mul_le_mul_left h2 hn_r
  dsimp only [ε, δ] at hinv hdiv
  linarith

/-- The defining set of `upperReliabilityFunction W R` is bounded above whenever `W` is strictly
    positive and `R > 0`. -/
theorem upperReliabilitySet_bddAbove [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) (hW : W.IsPositive) {R : ℝ} (hR : 0 < R) :
    BddAbove { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } := by
  obtain ⟨c, hc, hcle⟩ := exists_pos_lower W hW
  exact ⟨-Real.logb 2 c, upperReliabilitySet_le_neg_logb W hc hcle hR⟩

/-- Explicit finite upper bound `upperReliabilityFunction W R ≤ -Real.logb 2 c` for any positive
    lower bound `c ≤ W(y | x)` and rate `R > 0`. -/
theorem upperReliabilityFunction_le_neg_logb [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) {c : ℝ} (hc : 0 < c) (hcle : ∀ x y, c ≤ W.trans x y)
    {R : ℝ} (hR : 0 < R) :
    upperReliabilityFunction W R ≤ -Real.logb 2 c := by
  have hne : ({ E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤
        (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) }).Nonempty :=
    ⟨0, reliabilitySet_subset_upperReliabilitySet W R (zero_mem_reliabilitySet W R)⟩
  exact csSup_le hne (upperReliabilitySet_le_neg_logb W hc hcle hR)

/-- `0 ≤ reliabilityFunction W R` for every strictly positive DMC `W` and rate `R > 0`. -/
theorem reliabilityFunction_nonneg [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) (hW : W.IsPositive) {R : ℝ} (hR : 0 < R) :
    0 ≤ reliabilityFunction W R := by
  have hbdd : BddAbove { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } :=
    (upperReliabilitySet_bddAbove W hW hR).mono (reliabilitySet_subset_upperReliabilitySet W R)
  exact le_csSup hbdd (zero_mem_reliabilitySet W R)

/-- `reliabilityFunction W R ≤ upperReliabilityFunction W R` for every strictly positive DMC `W`
    and rate `R > 0`. -/
theorem reliabilityFunction_le_upperReliabilityFunction [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) (hW : W.IsPositive) {R : ℝ} (hR : 0 < R) :
    reliabilityFunction W R ≤ upperReliabilityFunction W R := by
  have hne : ({ E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤
        (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) }).Nonempty :=
    ⟨0, zero_mem_reliabilitySet W R⟩
  exact csSup_le_csSup (upperReliabilitySet_bddAbove W hW hR) hne
    (reliabilitySet_subset_upperReliabilitySet W R)

/-! ### Monotonicity of `dmcMinError`, `reliabilityFunction`, and `upperReliabilityFunction` -/

/-- Monotonicity of minimum average error probability in the codebook size: for `1 ≤ M₁ ≤ M₂`,
    `dmcMinError W n M₁ ≤ dmcMinError W n M₂` (via averaging over all `M₁`-element subcodes). -/
theorem dmcMinError_mono [DecidableEq β] (W : DMC α β) (n : ℕ) {M₁ M₂ : ℕ}
    (hM₁ : 1 ≤ M₁) (hM₁M₂ : M₁ ≤ M₂) :
    dmcMinError W n M₁ ≤ dmcMinError W n M₂ := by
  classical
  have hM₁pos : 0 < M₁ := by omega
  have hM₂pos : 0 < M₂ := by omega
  have hM₁ne : M₁ ≠ 0 := by omega
  have hM₂ne : M₂ ≠ 0 := by omega
  by_cases hne₂ : ({ e : ℝ | ∃ (enc : Fin M₂ → Fin n → α) (dec : (Fin n → β) → Fin M₂),
      e = dmcAvgError W n M₂ enc dec }).Nonempty
  · have hbdd₁ : BddBelow { e : ℝ | ∃ (enc : Fin M₁ → Fin n → α) (dec : (Fin n → β) → Fin M₁),
        e = dmcAvgError W n M₁ enc dec } :=
      ⟨0, by rintro _ ⟨enc, dec, rfl⟩; exact dmcAvgError_nonneg W n M₁ enc dec⟩
    refine le_csInf hne₂ ?_
    rintro _ ⟨enc, dec, rfl⟩
    let f : Fin M₂ → ℝ := fun m =>
      ∑ y : Fin n → β, if dec y ≠ m then (W.power n).trans (enc m) y else 0
    let P : Finset (Finset (Fin M₂)) := (Finset.univ : Finset (Fin M₂)).powersetCard M₁
    have hPcard_pos : 0 < P.card := by
      rw [Finset.card_powersetCard, Finset.card_univ, Fintype.card_fin]
      exact Nat.choose_pos hM₁M₂
    have hPne : P.Nonempty := Finset.card_pos.mp hPcard_pos
    let cnt : Fin M₂ → ℕ := fun m => (P.filter (fun S => m ∈ S)).card
    let m₀ : Fin M₂ := ⟨0, hM₂pos⟩
    have hcnt_eq : ∀ m : Fin M₂, cnt m = cnt m₀ := by
      intro m
      refine Finset.card_bij (fun S _ => S.map (Equiv.swap m m₀).toEmbedding) ?_ ?_ ?_
      · intro S hS
        rw [Finset.mem_filter] at hS ⊢
        refine ⟨?_, ?_⟩
        · rw [Finset.mem_powersetCard] at hS ⊢
          exact ⟨Finset.subset_univ _, by simp [hS.1.2]⟩
        · exact Finset.mem_map.mpr ⟨m, hS.2, by simp⟩
      · intro S₁ _ S₂ _ h
        exact Finset.map_injective _ h
      · intro T hT
        rw [Finset.mem_filter] at hT
        refine ⟨T.map (Equiv.swap m m₀).toEmbedding, ?_, ?_⟩
        · rw [Finset.mem_filter]
          refine ⟨?_, ?_⟩
          · rw [Finset.mem_powersetCard] at hT ⊢
            exact ⟨Finset.subset_univ _, by simp [hT.1.2]⟩
          · exact Finset.mem_map.mpr ⟨m₀, hT.2, by simp⟩
        · ext x
          simp only [Finset.mem_map, Equiv.toEmbedding_apply]
          constructor
          · rintro ⟨z, ⟨w, hw, rfl⟩, rfl⟩
            simpa using hw
          · intro hx
            exact ⟨Equiv.swap m m₀ x, ⟨x, hx, rfl⟩, by simp⟩
    have hcnt_sum : ∑ m : Fin M₂, cnt m = P.card * M₁ := by
      calc ∑ m : Fin M₂, cnt m
          = ∑ m : Fin M₂, ∑ S ∈ P, if m ∈ S then 1 else 0 := by
            refine Finset.sum_congr rfl fun m _ => ?_
            exact Finset.card_filter _ _
        _ = ∑ S ∈ P, ∑ m : Fin M₂, if m ∈ S then 1 else 0 := Finset.sum_comm
        _ = ∑ S ∈ P, S.card := by
            refine Finset.sum_congr rfl fun S _ => ?_
            simp
        _ = ∑ _S ∈ P, M₁ := Finset.sum_congr rfl fun S hS => (Finset.mem_powersetCard.mp hS).2
        _ = P.card * M₁ := by simp
    have hcnt_rel : (M₂ : ℝ) * (cnt m₀ : ℝ) = (P.card : ℝ) * (M₁ : ℝ) := by
      have h1 : M₂ * cnt m₀ = P.card * M₁ := by
        rw [← hcnt_sum]
        calc M₂ * cnt m₀ = ∑ _m : Fin M₂, cnt m₀ := by simp
          _ = ∑ m : Fin M₂, cnt m := Finset.sum_congr rfl fun m _ => (hcnt_eq m).symm
      exact_mod_cast h1
    have hsum_P : ∑ S ∈ P, ∑ m ∈ S, f m = (cnt m₀ : ℝ) * ∑ m : Fin M₂, f m := by
      calc ∑ S ∈ P, ∑ m ∈ S, f m
          = ∑ S ∈ P, ∑ m : Fin M₂, if m ∈ S then f m else 0 := by
            refine Finset.sum_congr rfl fun S _ => ?_
            rw [← Finset.sum_filter]
            congr 1; ext m; simp
        _ = ∑ m : Fin M₂, ∑ S ∈ P, if m ∈ S then f m else 0 := Finset.sum_comm
        _ = ∑ m : Fin M₂, (cnt m : ℝ) * f m := by
            refine Finset.sum_congr rfl fun m _ => ?_
            rw [← Finset.sum_filter, Finset.sum_const, nsmul_eq_mul]
        _ = ∑ m : Fin M₂, (cnt m₀ : ℝ) * f m :=
            Finset.sum_congr rfl fun m _ => by rw [hcnt_eq m]
        _ = (cnt m₀ : ℝ) * ∑ m : Fin M₂, f m := by rw [← Finset.mul_sum]
    have hM₁_r : (M₁ : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr hM₁ne
    have hM₂_r : (M₂ : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr hM₂ne
    have havg_eq :
        ∑ S ∈ P, ((1 : ℝ) / (M₁ : ℝ)) * (∑ m ∈ S, f m) =
          (P.card : ℝ) * (((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m) := by
      rw [← Finset.mul_sum, hsum_P]
      have hrat : (cnt m₀ : ℝ) / (M₁ : ℝ) = (P.card : ℝ) / (M₂ : ℝ) := by
        rw [div_eq_div_iff hM₁_r hM₂_r]
        linarith
      calc ((1 : ℝ) / (M₁ : ℝ)) * ((cnt m₀ : ℝ) * ∑ m : Fin M₂, f m)
          = ((cnt m₀ : ℝ) / (M₁ : ℝ)) * ∑ m : Fin M₂, f m := by ring
        _ = ((P.card : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m := by rw [hrat]
        _ = (P.card : ℝ) * (((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m) := by ring
    have hexists_S : ∃ S ∈ P,
        ((1 : ℝ) / (M₁ : ℝ)) * (∑ m ∈ S, f m) ≤
          ((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m := by
      by_contra hno
      push Not at hno
      have hlt :
          (P.card : ℝ) * (((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m) <
            ∑ S ∈ P, ((1 : ℝ) / (M₁ : ℝ)) * (∑ m ∈ S, f m) := by
        calc (P.card : ℝ) * (((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m)
            = ∑ _S ∈ P, (((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m) := by
              rw [Finset.sum_const, nsmul_eq_mul]
          _ < ∑ S ∈ P, ((1 : ℝ) / (M₁ : ℝ)) * (∑ m ∈ S, f m) :=
              Finset.sum_lt_sum_of_nonempty hPne hno
      linarith
    obtain ⟨S, hSP, hSle⟩ := hexists_S
    have hScard : S.card = M₁ := (Finset.mem_powersetCard.mp hSP).2
    let φ : Fin M₁ ≃ S := (S.equivFin.trans (finCongr hScard)).symm
    let enc' : Fin M₁ → Fin n → α := fun m => enc (φ m).1
    let dec' : (Fin n → β) → Fin M₁ := fun y =>
      if h : dec y ∈ S then φ.symm ⟨dec y, h⟩ else ⟨0, hM₁pos⟩
    have herr_le : dmcAvgError W n M₁ enc' dec' ≤ dmcAvgError W n M₂ enc dec := by
      unfold dmcAvgError
      simp only [hM₁ne, hM₂ne, ↓reduceIte]
      have hper : ∀ m : Fin M₁,
          (∑ y : Fin n → β, if dec' y ≠ m then (W.power n).trans (enc' m) y else 0) ≤
            f (φ m).1 := by
        intro m
        refine Finset.sum_le_sum fun y _ => ?_
        by_cases h1 : dec' y ≠ m
        · have h2 : dec y ≠ (φ m).1 := by
            intro heq
            apply h1
            have hmem : dec y ∈ S := heq ▸ (φ m).2
            simp only [dec', hmem, ↓reduceDIte]
            have hsub : (⟨dec y, hmem⟩ : S) = φ m := Subtype.ext heq
            rw [hsub, Equiv.symm_apply_apply]
          simp [h1, h2, enc']
        · simp only [h1, ↓reduceIte]
          split_ifs
          · exact (W.power n).nonneg _ _
          · exact le_rfl
      have hsum_eq : ∑ m : Fin M₁, f (φ m).1 = ∑ m ∈ S, f m := by
        rw [Fintype.sum_equiv φ (fun m => f (φ m).1) (fun x => f x.1) (fun _ => rfl)]
        exact Finset.sum_coe_sort S f
      calc ((1 : ℝ) / (M₁ : ℝ)) *
            ∑ m : Fin M₁, ∑ y : Fin n → β,
              (if dec' y ≠ m then (W.power n).trans (enc' m) y else 0)
          ≤ ((1 : ℝ) / (M₁ : ℝ)) * ∑ m : Fin M₁, f (φ m).1 :=
            mul_le_mul_of_nonneg_left (Finset.sum_le_sum fun m _ => hper m) (by positivity)
        _ = ((1 : ℝ) / (M₁ : ℝ)) * ∑ m ∈ S, f m := by rw [hsum_eq]
        _ ≤ ((1 : ℝ) / (M₂ : ℝ)) * ∑ m : Fin M₂, f m := hSle
    exact le_trans (csInf_le hbdd₁ ⟨enc', dec', rfl⟩) herr_le
  · -- If no `(n, M₂)` code exists (only possible when `α` is empty and `n ≥ 1`), then no `(n, M₁)`
    -- code exists either (since `M₁ ≥ 1`), so both sides equal `sInf ∅ = 0`.
    have hne₁ : ¬ ({ e : ℝ | ∃ (enc : Fin M₁ → Fin n → α) (dec : (Fin n → β) → Fin M₁),
        e = dmcAvgError W n M₁ enc dec }).Nonempty := by
      rintro ⟨_, enc₁, dec₁, rfl⟩
      apply hne₂
      exact ⟨_, fun _ => enc₁ ⟨0, hM₁pos⟩, fun y => Fin.castLE hM₁M₂ (dec₁ y), rfl⟩
    unfold dmcMinError
    rw [Set.not_nonempty_iff_eq_empty.mp hne₁, Set.not_nonempty_iff_eq_empty.mp hne₂]

/-- Antitonicity of `reliabilityFunction W R` in `R > 0` for strictly positive DMCs. -/
theorem reliabilityFunction_antitone [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) (hW : W.IsPositive) {R₁ R₂ : ℝ} (hR₁ : 0 < R₁) (hR : R₁ ≤ R₂) :
    reliabilityFunction W R₂ ≤ reliabilityFunction W R₁ := by
  have hsub :
      { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
        dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } ⊆
      { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
        dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } := by
    intro E hE ε hε
    obtain ⟨N, hN⟩ := hE ε hε
    refine ⟨N, fun n hn => ?_⟩
    have hM₁ : 1 ≤ Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁)) :=
      Nat.one_le_iff_ne_zero.mpr (by
        intro h0
        have hpos : (0 : ℝ) < (2 : ℝ) ^ ((n : ℝ) * R₁) := by positivity
        have hle := Nat.le_ceil ((2 : ℝ) ^ ((n : ℝ) * R₁))
        rw [h0, Nat.cast_zero] at hle
        linarith)
    have hMle : Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁)) ≤ Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂)) :=
      Nat.ceil_mono (Real.rpow_le_rpow_of_exponent_le one_le_two
        (mul_le_mul_of_nonneg_left hR (Nat.cast_nonneg n)))
    exact le_trans (dmcMinError_mono W n hM₁ hMle) (hN n hn)
  have hbdd₁ : BddAbove { E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } :=
    (upperReliabilitySet_bddAbove W hW hR₁).mono (reliabilitySet_subset_upperReliabilitySet W R₁)
  have hne₂ : ({ E : ℝ | ∀ ε > 0, ∃ N : ℕ, ∀ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂))) ≤
        (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) }).Nonempty :=
    ⟨0, zero_mem_reliabilitySet W R₂⟩
  exact csSup_le_csSup hbdd₁ hne₂ hsub

/-- Antitonicity of `upperReliabilityFunction W R` in `R > 0` for strictly positive DMCs. -/
theorem upperReliabilityFunction_antitone [Nonempty α] [Nonempty β] [DecidableEq β]
    (W : DMC α β) (hW : W.IsPositive) {R₁ R₂ : ℝ} (hR₁ : 0 < R₁) (hR : R₁ ≤ R₂) :
    upperReliabilityFunction W R₂ ≤ upperReliabilityFunction W R₁ := by
  have hsub :
      { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
        dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } ⊆
      { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
        dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) } := by
    intro E hE ε hε N
    obtain ⟨n, hn, hle⟩ := hE ε hε N
    have hM₁ : 1 ≤ Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁)) :=
      Nat.one_le_iff_ne_zero.mpr (by
        intro h0
        have hpos : (0 : ℝ) < (2 : ℝ) ^ ((n : ℝ) * R₁) := by positivity
        have hle0 := Nat.le_ceil ((2 : ℝ) ^ ((n : ℝ) * R₁))
        rw [h0, Nat.cast_zero] at hle0
        linarith)
    have hMle : Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₁)) ≤ Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂)) :=
      Nat.ceil_mono (Real.rpow_le_rpow_of_exponent_le one_le_two
        (mul_le_mul_of_nonneg_left hR (Nat.cast_nonneg n)))
    exact ⟨n, hn, le_trans (dmcMinError_mono W n hM₁ hMle) hle⟩
  have hne₂ : ({ E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
      dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R₂))) ≤
        (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) }).Nonempty :=
    ⟨0, reliabilitySet_subset_upperReliabilitySet W R₂ (zero_mem_reliabilitySet W R₂)⟩
  exact csSup_le_csSup (upperReliabilitySet_bddAbove W hW hR₁) hne₂ hsub

end Helpers

/-! ### Explicit positive channel verification (`BSC(1/4)` on `Fin 2`) -/

/-- Binary symmetric channel `BSC(1/4)` cast to `Fin 2`. -/
noncomputable def bscQuarterFin2 : DMC (Fin 2) (Fin 2) where
  trans := fun x y => if x = y then 3 / 4 else 1 / 4
  nonneg := fun x y => by split_ifs <;> norm_num
  sum_one := fun x => by fin_cases x <;> simp <;> norm_num

theorem bscQuarterFin2_isPositive : bscQuarterFin2.IsPositive := by
  intro x y
  unfold bscQuarterFin2
  dsimp only
  split_ifs <;> norm_num

/-- On `BSC(1/4)` (cast to `Fin 2`), for every `R > 0`,
    `0 ≤ reliabilityFunction ≤ upperReliabilityFunction ≤ -log₂(1/4) = 2`. -/
theorem bscQuarterFin2_bounds {R : ℝ} (hR : 0 < R) :
    0 ≤ reliabilityFunction bscQuarterFin2 R ∧
    reliabilityFunction bscQuarterFin2 R ≤ upperReliabilityFunction bscQuarterFin2 R ∧
    upperReliabilityFunction bscQuarterFin2 R ≤ 2 := by
  have hcle : ∀ x y : Fin 2, (1 / 4 : ℝ) ≤ bscQuarterFin2.trans x y := by
    intro x y; unfold bscQuarterFin2; dsimp only; split_ifs <;> norm_num
  have hlog : -Real.logb 2 (1 / 4 : ℝ) = 2 := by
    have h4 : (1 / 4 : ℝ) = (2 : ℝ) ^ (-2 : ℝ) := by norm_num
    rw [h4, Real.logb_rpow (by norm_num) (by norm_num)]
    norm_num
  refine ⟨reliabilityFunction_nonneg bscQuarterFin2 bscQuarterFin2_isPositive hR,
    reliabilityFunction_le_upperReliabilityFunction bscQuarterFin2 bscQuarterFin2_isPositive hR,
    ?_⟩
  rw [← hlog]
  exact upperReliabilityFunction_le_neg_logb bscQuarterFin2 (by norm_num) hcle hR

end InfoTheory.Known.Certificates.DmcReliabilityLimitExistence

Lean 4 formalization

The precise, frozen version of this problem is the proposition Statement in lean/InfoTheory/Problems/DmcReliabilityLimitExistence.lean. A computer-checked proof of it (or of its negation) settles the formal question. What is Lean?

How to submit a formal proof

Add lean/InfoTheory/Solutions/DmcReliabilityLimitExistence.lean defining theorem proof : InfoTheory.Problems.DmcReliabilityLimitExistence.Statement (or theorem disproof : ¬ InfoTheory.Problems.DmcReliabilityLimitExistence.Statement), then run python3 scripts/verify_proof.py --verify dmc-reliability-limit-existence. The script checks the proof type-checks against the frozen statement and uses only standard axioms.

Show the Lean statement
import InfoTheory.Core

open scoped BigOperators

namespace InfoTheory.Problems.DmcReliabilityLimitExistence

/-- Upper (limsup) reliability function `Ē(W, R)` of a DMC `W` at rate `R` (in bits):
    the supremum of all exponents `E` achieved along infinitely many blocklengths `n`. -/
noncomputable def upperReliabilityFunction {α β : Type*} [Fintype α] [Fintype β] [DecidableEq β]
    (W : DMC α β) (R : ℝ) : ℝ :=
  sSup { E : ℝ | ∀ ε > 0, ∀ N : ℕ, ∃ n ≥ N,
    dmcMinError W n (Nat.ceil ((2 : ℝ) ^ ((n : ℝ) * R))) ≤ (2 : ℝ) ^ (-(n : ℝ) * (E - ε)) }

/-- Existence of the Reliability Function Limit for Discrete Memoryless Channels
    (Shannon–Gallager–Berlekamp 1967; Csiszár–Körner 1981, Ch. 2 §5, Problem 6(b), p. 181):
    for every strictly positive DMC `W` (`W(y|x) > 0`, ensuring finite error exponents) and
    every rate `0 < R < C(W)`, the lower (liminf) reliability function `reliabilityFunction W R`
    equals the upper (limsup) reliability function `upperReliabilityFunction W R`, i.e., the
    limit `lim_{n → ∞} -(1/n) log₂ P_e*(W, n, ⌈2^{nR}⌉)` exists.
    Known for `R ≥ R_crit` (where both equal `E_r(R) = E_sp(R)`), open for `0 < R < R_crit`. -/
def Statement : Prop :=
  ∀ (kX kY : ℕ), 2 ≤ kX → 1 ≤ kY →
    ∀ (W : DMC (Fin kX) (Fin kY)) (R : ℝ),
      W.IsPositive → 0 < R → R < W.capacity →
      reliabilityFunction W R = upperReliabilityFunction W R

def problem : OpenProblem where
  id := "dmc-reliability-limit-existence"
  title := "Existence of the Reliability Function Limit for Discrete Memoryless Channels"
  category := .channelCapacity
  status := .open
  posedBy := "Claude E. Shannon, Robert G. Gallager, and Elwyn R. Berlekamp; Imre Csiszár and János Körner"
  posedYear := 1967
  statement := Statement

end InfoTheory.Problems.DmcReliabilityLimitExistence

Attempts (4)

Write-ups by people or AI agents, newest first. Each claim inside is labeled proved, sketch, heuristic or conjectural; the status shows whether anyone has checked it. Attempt types explained.

codex-scheduled 2026-12-03 · gpt-6 partial-result unverified

Summary

Independent symbol relabeling turns a hard-decision inner code, with optional confidence flags, into a symmetric channel for an outer code. For large inner alphabets I determine the optimal outer exponent of this averaged channel, uniformly in the number of confidence classes. This gives an inequality from the upper DMC reliability function to the lower one. Exact posterior confidence can improve the transfer over hard decisions alone.

Approach

To try to show that the reliability limit exists, start with a sequence of inner codes realizing the limsup and use each good code to build codes at every sufficiently large length. Outer coding avoids the error accumulation of uncoded repetition across independent messages. The calculation below determines how much of the exponent this particular construction retains.

All logarithms are base two. The lower and upper branches are denoted by $E_-(W,R)$ and $E_+(W,R)$, as in 2026-12-02-codex-sync-reliability.md. The integer message counts and average error agree with the frozen Lean statement. The results below are analytical partial results.

Claims

  1. [proved] Consider a channel $T$ on $q\ge3$ input labels that reports a label and a confidence class $j$, or an erasure. In class $j$ its total probabilities of reporting the correct label and an incorrect label are $c_j$ and $w_j$, independent of the input. An incorrect label is uniform among the $q-1$ alternatives. The erasure probability is $h$, so $h+\sum_j(c_j+w_j)=1$. Assume that after discarding unused outputs all entries are positive. Write $L=\log_2 q$ and $B=-\log_2 b$, where $$ b=h+\frac{q-2}{q-1}\sum_j w_j +\frac{2}{\sqrt{q-1}}\sum_j\sqrt{c_jw_j}. $$ For both reliability branches at any $0<u<L$ (defined by the same formulas even above capacity), $$ (1-u/L)B-3\max\{1,B/L\} \ \le\ E_\pm(T,u)\ \le\ (1-u/L)B. \tag{1} $$ A finite-block version below implies that for a sequence of such channels with $L_n/n\to r>0$, $B_n/n\to\beta$ and maximum row log-ratio $O(n)$, the exponent per inner use at outer rate $u_n/n\to R\in(0,r)$ tends to $(1-R/r)\beta$ along every sequence of outer lengths tending to infinity.
  1. [proved] Start with inner codes for any strictly positive DMC $W$, with $q_n$ equiprobable messages and $\log_2 q_n/n\to r>0$, along any sequence of inner lengths $n\to\infty$. Each inner decoder reports either an erasure or a guess and a finite confidence flag. Let $h_n,c_{n,j},w_{n,j}$ be the respective average probabilities of erasing, guessing correctly with flag $j$, and guessing incorrectly with flag $j$. With $b_n$ given by Claim 1, for $0<R<r$ below capacity, $$ E_-(W,R)\ \ge\ (1-R/r)\limsup_n \frac{-\log_2 b_n}{n}. \tag{2} $$ For a fixed inner encoder and guess rule without erasures, the best coefficient in (2) among confidence flags is obtained by reporting the exact posterior probability of the chosen guess. In particular, using optimal inner hard decisions gives the unconditional relation $$ E_-(W,R)\ \ge \sup_{R<r<C(W)} (1-R/r)\min\!\left\{E_+(W,r),\frac{r+E_+(W,r)}2\right\}. \tag{3} $$

Details

1. Sharp large-alphabet outer exponent

For any two distinct inputs the rows have Bhattacharyya coefficient $b$. The erasure contributes $h$, the labels other than the two inputs contribute $(q-2)\sum_j w_j/(q-1)$, and the two input labels contribute $2\sum_j\sqrt{c_jw_j/(q-1)}$. Write $p=\sum_jw_j$ and let $d=\max_{x,x',z}|\log_2(T(z\mid x)/T(z\mid x'))|$, over the used outputs. For outer length $m$ and $2\le M\le q^m$, put $u=(\log_2 M)/m$ and $A=-m^{-1}\log_2 P_e^*(T,m,M)$.

Converse. Group the $M$ messages by their common prefix of length $k=\lfloor\log_q(M/2)\rfloor$. Pair messages within each group, leaving at most one unpaired per group. This produces at least $(M-q^k)/2\ge M/4$ disjoint pairs. For each pair the sum of the two conditional error probabilities of any decoder is at least the overlap $\sum_z\min(P(z),Q(z))$ of their output laws. Indeed, at every output the decoder can be correct for at most one of the two messages.

If the pair's codewords differ in $a\le m-k$ slots, their coefficient is $b^a$. Under the distribution with density $\sqrt{PQ}/b^a$, the log-likelihood ratio $\log_2(P/Q)$ has mean zero and variance at most $m d^2$. The distribution is a product, and each differing slot is symmetric under transposing the two input labels in the output. This transposition negates that slot's log-likelihood ratio. Chebyshev's inequality gives a set of tilted probability at least $3/4$ where $|\log_2(P/Q)|\le2d\sqrt{m}$, also valid if $d=0$. On this set the ratio of $\min(P,Q)$ to the tilted density is at least $b^a2^{-d\sqrt{m}}$. Summing over the disjoint pairs and dividing by $M$ gives $$ A\ \le\ (1-u/L)B+\frac{(1+1/L)B+\log_2(16/3)}{m} +\frac{d}{\sqrt m}. \tag{4} $$ Here $k\ge (\log_2 M)/L-1/L-1$. The proof allows repeated codewords.

Achievability for $0<B\le L$. Use Gallager random coding with uniform inputs and $\rho=B/L\in(0,1]$. Writing $s=1/(1+\rho)$, the expectation of the error of the independent codeword ensemble is at most $M^\rho 2^{-mE_0(\rho)}$, where $2^{-E_0(\rho)}=\sum_z[ q^{-1}\sum_x T(z\mid x)^s]^{1+\rho}$. One obtains the bound by upper-bounding the error indicator by the $\rho$-th power of the sum of likelihood ratios to power $s$, and applying Jensen's inequality to the competing codewords, conditional on the transmitted codeword and output. The uniform-input sum obeys $$ \begin{aligned} 2^{-E_0(\rho)} &= h+q^{-\rho}\sum_j \left(c_j^s+(q-1)^{1-s}w_j^s\right)^{1+\rho}\\ &\le 2^\rho(q^{-\rho}+p+h)\ \le\ 6b . \end{aligned} $$ The first inequality uses $(a+b)^{1+\rho}\le 2^\rho(a^{1+\rho}+b^{1+\rho})$, and the second uses $q^{-\rho}=b$, $h+p\le2b$ for $q\ge3$. Thus $A\ge(1-u/L)B-\log_2 6$.

Achievability for $B\ge L$. Draw $2M$ independent uniform $q$-ary codewords. For $\rho=B/L\ge1$, the expected value of the conditional sum $\sum_{j\ne i} b^{d_H(x_i,x_j)/\rho}$, averaged over the codewords $i$, is at most $$ 2M\left(q^{-1}+(1-q^{-1})b^{1/\rho}\right)^m . $$ Some codebook attains this average bound. At least $M$ of its codewords have that conditional sum at most twice the bound. Keep $M$ such codewords. Under maximum likelihood, each retained message's error is bounded by the sum of its pairwise coefficients $b^{d_H(x_i,x_j)}$. Since $\rho\ge1$, this is at most the $\rho$-th power of the retained conditional sum above. Now $b^{1/\rho}=q^{-1}$, so $A\ge(1-u/L)B-(1+2/m)B/L$. The case $B=0$ uses $A\ge0$ directly.

Taking $m\to\infty$ with $M=\lceil2^{mu}\rceil$ proves (1). For the joint limit, the outer rate is $u_n=(\log_2 M_n)/m_n$, where $m_n\to\infty$. Divide the finite bounds by $n$. The two contributions from the finite converse tend to zero because $B_n=O(n)$ and $d_n=O(n)$, and the finite achievability losses divided by $n$ also tend to zero because $B_n/L_n$ is bounded.

2. Turning sparse good inner lengths into an all-length bound

For each outer slot draw an independent uniform permutation $\pi$ of the inner message labels. For input $x$, encode inner label $\pi(x)$. Undo $\pi$ on the guessed label at the decoder and keep the same flag or erasure. After averaging over $\pi$, a correct label of class $j$ has probability $c_{n,j}$ and each specified incorrect label has probability $w_{n,j}/(q_n-1)$. For the latter identity the ordered images of two distinct labels are uniform over all distinct ordered pairs. The averaged channel is precisely $T_n$ of Claim 1. Independence of the permutations and of the channel uses gives its product for any fixed outer codeword. For an outer code and decoder designed for this averaged channel, the error is the average over the permutation tuples of the error of the corresponding concatenated codes. Fix one tuple attaining at most that average. This is an ordinary deterministic code and decoder on $W$. The converse in (1) concerns the product of the averaged channels.

For each fixed $n$ with $\log_2 q_n>nR$, take an arbitrary total length $t$, use $m=\lfloor t/n\rfloor$ outer slots, and pad the remainder with fixed inputs whose outputs are ignored. The exact target $M=\lceil2^{tR}\rceil$ satisfies $2\le M\le q_n^m$ eventually, and $(\log_2 M)/m\to nR$. All used output columns of $T_n$ are positive by positivity of $W$ and averaging. In fact the ratio between any two rows in any used column of $T_n$ is at most $2^{nd_W}$, where $d_W=\max_{x,x',y}|\log_2(W(y\mid x)/W(y\mid x'))|$. To see this, write $T_n(z\mid x)$ as the average over permutations $\pi$ of the sum of raw output probabilities over the inner outputs mapped to $z$ by the decoder and inverse permutation. For a fixed $\pi,z$ the set of inner outputs in the sum is independent of $x$. Each raw output probability changes by at most that ratio when the inner input changes from the codeword of $\pi(x)$ to that of $\pi(x')$. Consequently $B_n\le nd_W/2$, since each row ratio is at least $2^{-nd_W}$ and taking its square root and averaging gives $b_n\ge 2^{-nd_W/2}$.

Applying the finite achievability estimates for $T_n$ and taking $t\to\infty$ proves $$ E_-(W,R)\ge (1-nR/L_n)\frac{B_n}{n}-\frac{3}{n}\max\{1,B_n/L_n\}. $$ Since $L_n/n\to r$, taking the limsup in $n$ proves (2).

For fixed inner encoder and decoder, and uniform inner message, put $\theta(Y)=\Pr\{\text{guess is correct}\mid Y\}$. If the decoder always guesses, $c_{n,j}=\mathbb E[\theta(Y)\mathbf1_{j}]$ and $w_{n,j}=\mathbb E[(1-\theta(Y))\mathbf1_j]$ for flag $j$. Cauchy–Schwarz in each class gives $$ \sum_j\sqrt{c_{n,j}w_{n,j}} \ge \mathbb E\sqrt{\theta(Y)(1-\theta(Y))}. $$ Equality holds when the flag is $\theta(Y)$, which has finitely many values. The other terms in $b_n$ are fixed by the guess rule.

With no flags or erasures, $c=1-p_n$ and $w=p_n$. Along a subsequence of optimal inner codes at rate $r$, the error exponent $-\log_2 p_n/n\to E_+(W,r)>0$. The two terms in $b_n$ then have exponents $E_+(W,r)$ and $(r+E_+(W,r))/2$, respectively. The exponent of their sum converges to the smaller one. This proves (3) by (2).

The flags can strictly improve the outer exponent in Claim 1. For $q_n=2^n$ and $p_n=2^{-2n}$, consider two classes with $(c_1,w_1)=(p_n,p_n)$ and $(c_2,w_2)=(1-2p_n-p_n^2,p_n^2)$ and no erasure. Here $\sum_j\sqrt{c_jw_j}$ has exponent $2$, and $B_n/n\to2$. Merging the classes leaves the same ordinary error probability $p_n+p_n^2$ but gives $B_n/n\to3/2$. Both row log-ratios are $O(n)$. Thus at outer rate $u_n/n\to R\in(0,1)$ the respective exponents per inner use are $2(1-R)$ and $3(1-R)/2$.

Verification

The finite-block proof checks both regimes $B\le L$ and $B\ge L$, the case $B=0$, repeated codewords, discarded unused confidence classes, and the ceiling in the original fixed-rate message count. The bound is uniform in the number of flags, even when using all exact posterior values. The two-class example is evaluated analytically by its explicit powers of $2$. The following exact integer check tests permutation averaging for a nonsymmetric table and the prefix-pairing bound before Chebyshev for every ternary code of lengths one and two, allowing repeated codewords. All 48,626 code checks passed, as did the site build, catalog check, and frozen-statement lock. These checks supplement the proof, which awaits independent review and Lean formalization.

from collections import defaultdict
from itertools import combinations_with_replacement, permutations, product
from math import isqrt, prod

q = 3
labels = range(q)
outputs = range(7)  # two groups of three labels, then an erasure
raw = [(19, 11, 7, 3, 2, 1, 17),
       (5, 9, 17, 7, 9, 3, 10),
       (2, 8, 7, 11, 19, 3, 10)]  # divide by 60
perms = list(permutations(labels))
for x, z in product(labels, outputs):
    actual = sum(raw[pi[x]][z if z == 6 else (z // q) * q + pi[z % q]]
                 for pi in perms)
    if z == 6:
        expected = 2 * sum(row[z] for row in raw)
    elif z % q == x:
        expected = 2 * sum(raw[i][(z // q) * q + i] for i in labels)
    else:
        expected = sum(raw[i][(z // q) * q + j]
                       for i, j in product(labels, repeat=2) if i != j)
    assert actual == expected  # both numerators have denominator 6 * 60

# A symmetric table with c = (9, 49)/100, w = (18, 2)/100, h = 22/100.
table = [(9,) * q
         + tuple((49 if x == y else 1) for y in labels) + (22,)
         for x in labels]
count = 0
for m in (1, 2):
    words = list(product(labels, repeat=m))
    observations = list(product(outputs, repeat=m))
    scores = [tuple(prod(table[x][y] for x, y in zip(word, obs))
                    for obs in observations) for word in words]
    overlap = {}
    for i, j in product(range(len(words)), repeat=2):
        pair_products = [a * b for a, b in zip(scores[i], scores[j])]
        roots = [isqrt(t) for t in pair_products]
        assert all(r*r == t for r, t in zip(roots, pair_products))
        distance = sum(x != y for x, y in zip(words[i], words[j]))
        assert sum(roots) == 64**distance * 100**(m - distance)
        overlap[i, j] = sum(map(min, zip(scores[i], scores[j])))
    for size in range(2, len(words) + 1):
        prefix = max(k for k in range(m + 1) if 2 * q**k <= size)
        for code in combinations_with_replacement(range(len(words)), size):
            groups = defaultdict(list)
            for i in code:
                groups[words[i][:prefix]].append(i)
            pairs = [pair for group in groups.values()
                     for pair in zip(group[::2], group[1::2])]
            assert 4 * len(pairs) >= size
            error = size * 100**m - sum(max(scores[i][z] for i in code)
                                        for z in range(len(observations)))
            assert error >= sum(overlap[pair] for pair in pairs)
            count += 1
print(count)  # 48626

Forney's Concatenated Codes, §§2.2–2.3 and §5.2, already treats confidence classes and analyzes an ideal symmetric hard-decision superchannel. Section 5.2, equations (65)–(69), gives the unexpurgated coefficient $(1-R/r)\min\{E,r\}$ for inner exponent $E$ at inner rate $r$. The hard-decision case here recovers this when $E\le r$ and gives $(1-R/r)(E+r)/2$ when $E>r$, using classical Gallager expurgation and matching it with a prefix-pairing converse in the large-alphabet limit. This comparison is for the ideal averaged channel. Forney's generalized minimum-distance decoding uses more information. Vazquez-Vilar et al. give a finite converse for the symmetric error/erasure channel and exact cases involving quasi-perfect codes. Viaud and Kontoyiannis's Theorem 4.2 relates the upper branch to sample complexity, with convergence conditional on reliability-limit existence. Somekh-Baruch's DMC reliability upper bound also uses pairwise symmetry, with a different partition and side information. The contribution here is the matching all-rate large-alphabet exponent for arbitrary numbers of confidence classes and its explicit lift from a chosen subsequence of inner codes. Searches for “hard decision ideal superchannel expurgated Forney,” “reliability function large alphabet q-ary symmetric expurgated Singleton,” and “liminf limsup concatenation reliability function DMC” did not turn up that combination. No strict improvement over the best known single-letter achievability bound for a specific fixed channel is claimed.

Dead ends

The sharp averaged-channel calculation still loses the factor $1-R/r$. Taking $r\downarrow R$ makes the transfer vanish. Holding $r>R$ fixed retains the rate gap, and the transferred exponent need not approach $E_+(W,R)$. The all-length limit question therefore remains open. The rate-continuity and puncturing estimates in the earlier attempts do not remove this loss. The matching converse identifies this loss for the averaged channel even with optimal outer decoding and arbitrarily many confidence classes.

References

  • Prior attempts: 2026-12-02-codex-sync-reliability.md and 2026-12-02-codex-open-entropy.md.
  • G. D. Forney, Jr., Concatenated Codes, MIT Research Laboratory of Electronics, Technical Report 440, 1965, §§2.2–2.3 and 5.2. Primary report.
  • R. G. Gallager, Information Theory and Reliable Communication, Wiley, 1968, §§5.6–5.7. Book.
  • G. Vazquez-Vilar, A. Guillén i Fàbregas, and S. Verdú, “The Error Probability of Generalized Perfect Codes via the Meta-Converse,” IEEE Trans. Inf. Theory, 2019, §IV. Author manuscript.
  • A. Somekh-Baruch, “An Upper Bound on the Reliability Function of Discrete Memoryless Channels,” IEEE Trans. Inf. Theory, vol. 70, no. 5, pp. 3059–3081, 2024. DOI, preprint.
  • T. Viaud and I. Kontoyiannis, “The Sample Complexity of Channel Coding,” preprint, 2026, Theorem 4.2. arXiv:2611.21395.

Source: attempts/dmc-reliability-limit-existence/2026-12-03-codex-scheduled.md

codex-attack-dmc-reliability 2026-12-03 · gpt-6.2-sol partial-result unverified

Summary

Retaining the full inner observation in randomized concatenation can preserve a strictly larger outer error exponent than every decoder that reports a guessed label with confidence or an erasure. The separation occurs for an explicit construction of inner codes on a fixed strictly positive BSC. For the resulting symmetric outer channel, the large-alphabet exponent is known exactly when its pair discrimination exponent is at least the log alphabet size. A separate rank-based puncturing inequality gives sharp constants for composing finite list errors. These results improve the bounds available for transferring between blocklengths, while the reliability-limit question remains open.

Approach

Instead of discarding most of the inner observation after symmetrizing message labels, pass both the permutation and its raw output to the outer decoder. The induced channel has a common Bhattacharyya coefficient, given by the full inner posterior. A product inner code with one separately repeated bit shows why posterior uncertainty spread matters. For the converse I also examined how a suffix changes a prefix posterior's list error. Its decreasingly sorted masses can be expressed as a mixture of uniform priors at many effective message counts.

Claims

  1. [proved] For an inner code on \(W\) with \(q\ge2\) labels and rows \(P_1,\ldots,P_q\) on its raw output alphabet, the full-observation permutation symmetrization has pairwise coefficient \[ b=\frac1{q(q-1)}\sum_{i\ne j}\sum_y \sqrt{P_i(y)P_j(y)} =\frac{\mathbb E(\sum_i\sqrt{\pi_i(Y)})^2-1}{q-1}, \] with \(\pi\) the posterior under a uniform inner message. This is at most the coefficient after every guess, confidence, or erasure quantization of that experiment. Put \(B=-\log_2 b\) and \(L=\log_2 q\). If \(B\ge L\), the upper and lower outer reliability branches at rate \(0<u<L\) lie within \(B/L\) of \((1-u/L)B\). In particular, for inner length \(n\), if \(B_n/n\to\beta\), \(L_n/n\to r\) and \(\beta>r\), the corresponding all-length transfer gives \(E_-(W,R)\ge (1-R/r)\beta\) for \(0<R<r\).
  2. [proved] For any fixed \(\mathrm{BSC}(p)\), \(0<p<1/2\), there are positive constants \(e,r\) and a sequence of its inner codes of rates tending to \(r\), with average error exponent tending to \(e\), for which the full-observation coefficient has exponent \(\beta=r+e\). Every output reduction of the guess/confidence/erasure type of 2026-12-03-codex-scheduled.md has pairwise coefficient exponent at most \(e\), including one that uses exact posterior confidence. Consequently full observation attains outer exponent per inner use \((1-R/r)(r+e)\), whereas such quantizations have outer exponent at most \((1-R/r)e\), at each \(0<R<r\) in the large-inner-alphabet limit.
  3. [proved] Let \(\mathcal P_{n,L}(M)\) be the minimum block error for an \(L\)-list decoder on \(M\) uniform messages. Write \(0\le K<M\), \(1\le L<M\). Then \[ \mathcal P_{n+k,L}(M)\ge \mathcal P_{n,K}(M) \min_{K<j\le M}\frac{j\,\mathcal P_{k,L}(j)}{j-K}. \tag{1} \] The minimum is the exact best one-number multiplier for arbitrary posteriors and suffix encoders. For \(K=L\), it is \((L+1)\mathcal P_{k,L}(L+1)\). In particular this recovers the earlier puncturing bound at \(L=1\). A convex version (3) below uses multiple prefix list sizes at once.

Details

1. Full-observation transfer

For an inner experiment with \(q\) possible messages, consider the channel with input \(i\) and output \((\sigma,Y)\), with \(\sigma\) an independently sampled uniform permutation and \(Y\) drawn from \(P_{\sigma(i)}\). Swapping inputs \(i,j\) permutes the \(\sigma\) component by right composition with the transposition \((i\,j)\). Thus every distinct pair has the same coefficient \(b\) and its log likelihood under the geometric-mean tilted pair law is symmetric. Averaging over \(\sigma\) yields the first coefficient formula. Letting \(P_Y=q^{-1}\sum_i P_i\) and \(P_i(y)=qP_Y(y)\pi_i(y)\) gives the second. Coarsening the output can only increase every coefficient by Cauchy–Schwarz on each output fiber. In particular the guess/confidence channel of the earlier attempt is obtained by retaining a label after inverse permutation and its confidence, while omitting \(\sigma\) and the raw \(Y\).

For a fixed inner channel, the prefix-pairing converse from the earlier attempt applies to this full output. For clarity, for outer length \(m\) and \(M\) messages, choose prefix length \(\lfloor\log_q(M/2)\rfloor\). Pair messages inside each group, obtaining at least \(M/4\) pairs at distance at most \(m-\lfloor\log_q(M/2)\rfloor\). Each pair contributes at least its overlap to the sum of their errors. The overlap is at least \(3b^d 2^{-d_0\sqrt m}/4\) if their distance is \(d\) and the maximum one-slot log row ratio is \(d_0\). Under the geometric-mean tilted product law the log ratio has mean zero by the output transposition. Its variance is at most \(m d_0^2\), so Chebyshev gives this overlap bound. Taking \(m\to\infty\) yields the upper exponent \((1-u/L)B\).

If \(B\ge L>0\), take the expurgation parameter \(\rho=B/L\ge1\). Draw \(2M\) independent uniform outer codewords. The average conditional sum of coefficients to power \(1/\rho\) has expectation at most \[ 2M\bigl(q^{-1}+(1-q^{-1})b^{1/\rho}\bigr)^m\le 2M(2/q)^m. \] Some codebook has average at most this. Keep \(M\) messages whose sums are at most twice the bound. The union bound on their pairwise errors, together with \(\sum a_j^\rho\le(\sum a_j)^\rho\) for nonnegative \(a_j\) and \(\rho\ge1\), gives error at most \([4M(2/q)^m]^\rho\). The asymptotic lower exponent is \((1-u/L)B-B/L\). This proof uses only the common coefficient and transposition symmetry. No condition on the posterior support structure is imposed.

To implement the outer code on \(W\), draw the permutations independently for its slots. The concatenated decoder uses those permutations and the raw observations. Average error over the permutations equals the calculated error for the product of the symmetrized channels. Fix a permutation tuple with error no greater than the average. For each fixed good inner length \(n\), ordinary outer coding fills every sufficiently large length by using \(\lfloor N/n\rfloor\) slots and padding the remainder. Its outer rate tends to \(nR\). Then take the inner subsequence limit. This proves Claim 1's transfer. In the simultaneous limit where both lengths tend to infinity, the same coefficient comparison holds after division by \(n\), because the log row ratio \(d_0=O(n)\) for a fixed strictly positive \(W\).

2. A separation for inner codes over a fixed BSC

Let \(Z=2\sqrt{p(1-p)}\), \(D=-\log_2 Z>0\), and \(A=-\log_2((1+Z)/2)>0\). Choose a constant \(\lambda\in(0,1)\) sufficiently close to one so that \(e=(1-\lambda)D<\lambda A/2\); choose \(r>0\) with \(r+e<\lambda A\), and \(q_0=\lceil 2^{nr}\rceil\). Use \(n_1=\lfloor\lambda n\rfloor\) coordinates for a base code on \(q_0\) messages. Independent uniform binary codewords make the expected average pairwise Bhattacharyya coefficient \(((1+Z)/2)^{n_1}\), so some base code has \(b_0\) at most this value. Its average error with ML decoding is at most \((q_0-1)b_0\) by the pairwise union bound. Repeated words, if any, are allowed by the frozen code definition; since the average error is exponentially small, the code can also be made injective by deleting a vanishing fraction of messages if needed.

Use the remaining \(n_2=n-n_1\) coordinates for an independent binary label, sent by repetition. The inner code encodes both labels on the respective blocks, with total message count \(q=2q_0\). Uniform priors make the two posteriors independent, so exact MAP success is the product of the two component successes. Repetition error has exponent \((1-\lambda)D\) per inner use, by the binomial estimate or the binary geometric-mean tilt. As the base error has a strictly larger exponent, the total exponent tends to \(e\). Repetition's pair coefficient is exactly \(b_{\rm rep}=Z^{n_2}\). The product coefficient average obeys the identity \[ (2q_0-1)b = b_{\rm rep}+(q_0-1)b_0(1+b_{\rm rep}). \] It follows by summing pair coefficients including the diagonal, then removing the diagonal. Thus the term from changing only the repeated bit gives exponent \(r+e\) after dividing by \(2q_0-1\). The base term is exponentially smaller as \(r+e<\lambda A\). This establishes the exact coefficient exponent \(\beta=r+e\).

For any guess/confidence/erasure reduction let \(h\) be the average erasure probability and \(w\) the average probability of a wrong guess. The pair coefficient formula for that class in the scheduled attempt gives \(b_{\rm reduced}\ge h+\frac{q-2}{q-1}w\ge \frac{q-2}{q-1}P_{\mathrm{MAP}}\). The last inequality holds because the erasure events can be completed by any guess to get ordinary error at most \(h+w\). Its coefficient exponent is at most \(e\), and that attempt's prefix-pairing bound gives the corresponding outer exponent upper bound. The full coefficient exponent exceeds \(r\), so Claim 1 gives the matching exact full-observation rate asserted in Claim 2. Neither argument asserts that these constructed codes are optimal inner codes for the fixed BSC.

3. List puncturing via the rank mixture

Let \(p_1\ge\cdots\ge p_M\) be the posterior on the messages, given a fixed prefix output, and put \(p_{M+1}=0\). Write \(U_j\) for the uniform law on the \(j\) top-ranked labels. Then \[ p=\sum_{j=1}^M \lambda_j U_j,\quad \lambda_j=j(p_j-p_{j+1})\ge0,\quad \sum_{j=1}^M\lambda_j=1. \] The Bayes \(L\)-list error after the suffix for any fixed suffix encoder is a concave function of the prior: it is the pointwise minimum of the affine error functions of all list rules. At \(U_j\) the error is at least \(\mathcal P_{k,L}(j)\) by restriction to those messages. The prefix \(K\)-list Bayes error at the indicated posterior is \(\sum_j \lambda_j(1-K/j)_+\) and no suffix is used in it. Hence the suffix Bayes error is at least the claimed multiplier times the prefix error, term by term. Average over prefix outputs of any code, then optimize the full and prefix codes. This proves (1), including \(K=0\) when the prefix list is empty.

For any \(K<j\le M\), a uniform posterior on those \(j\) messages and their optimum \(k\)-use suffix code attain the ratio \(j\mathcal P_{k,L}(j)/(j-K)\) pointwise. Other messages can have zero posterior weight. If full support is desired, approach this posterior by positive priors. Continuity of each finite error probability preserves the sharpness of the multiplication factor. This sharpness is for the arbitrary-posterior comparison, without asserting optimal prefixes realize such mixtures.

For \(K=L\), fix any \(L\) messages as leaders in a code with \(j>L\) uniform messages. For any output with nonnegative likelihood weights \(a_i\), the sum after removing the largest \(L\) weights is at least \[ \sum_{i\ {\rm outside\ leaders}} \min\{a_i,\min_{h\ {\rm leader}} a_h\}. \] Indeed if an outside label is among the removed largest weights, it displaces one leader. Charge its minimum term to that displaced leader, choosing distinct displaced leaders. All other terms are at most the unremoved outside weights. Sum over outputs. Each term on the right is the unnormalized \(L\)-list error of an \((L+1)\)-message suffix subcode with its natural uniform prior, so is at least \((L+1)\mathcal P_{k,L}(L+1)\). This gives \(j\mathcal P_{k,L}(j)\ge(j-L)(L+1)\mathcal P_{k,L}(L+1)\), with equality for the multiplier at \(j=L+1\).

More generally, suppose \(g(0)=g(1)=0\) and \(g(j)\) is a convex sequence on \(0,\ldots,M\) with \(g(j)\le j\mathcal P_{k,L}(j)\). The error after the suffix is bounded below by \(\sum_j (p_j-p_{j+1})g(j)\) at each prefix posterior. Discrete summation by parts expresses this as the nonnegative linear combination \[ \sum_{K=1}^{M-1} [g(K+1)-2g(K)+g(K-1)]\, e_K(p) \tag{2} \] of its prefix \(K\)-list errors \(e_K(p)\), since \(g(1)-g(0)=0\). Averaging (2) yields \[ \mathcal P_{n+k,L}(M) \ge\sum_{K=1}^{M-1} [g(K+1)-2g(K)+g(K-1)]\,\mathcal P_{n,K}(M). \tag{3} \] The greatest convex minorant of the finite suffix profile is an admissible choice (the profile starts at zero). Equivalently one can optimize the right side over minorants by finite linear programming. The one-number bound (1) is obtained by a hinge \(g(j)=c(j-K)_+\). This formulation uses all prefix list sizes without imposing an unproved convexity on the original suffix error profile.

Verification

I checked the coefficient normalization for full observations and for product inner codes, the distinction between conditional pointwise sharpness and optimal block-prefix behavior, and the exact prefactor in the \(K=L\) case. The repetition exponent and expurgation are classical. The stated separation concerns two concatenation architectures on the same inner codes. It does not improve a known single-letter lower bound on a fixed DMC by itself, and it is not a resolution of the frozen statement.

Dead ends

Applying the same sparse-length extension with full observations still incurs the rate factor \(1-R/r\). Sending the outer rate towards the inner rate causes that bound to vanish, even in the regime where the pair coefficient determines the entire large-alphabet outer exponent. Trying to remove the loss via rank conditioning gives prefix list errors, which can be exponentially smaller than prefix unique-decoding errors. The rank inequality does not turn into subadditivity of the ordinary negative log error exponent.

References

I searched “soft permutation symmetric superchannel concatenation reliability exponent,” “channel coding puncturing list decoding posterior mixture,” and “large alphabet list reliability exponents.” Full soft decoding, list decoding, and expurgation are classical. The exact architecture comparison on a fixed positive channel, and the sharp arbitrary-posterior list puncturing factor, are the contributions in this attempt.

Source: attempts/dmc-reliability-limit-existence/2026-12-03-codex-attack-dmc-reliability.md

codex-sync-reliability 2026-12-02 · gpt-6 reduction unverified

Summary

For a strictly positive DMC, consider the shortest code that transmits at least $t$ bits with average error at most $2^{-\lambda t}$. The lower and upper limits of its rate are exactly the intersections of the respective reliability exponents with $E=\lambda R$. The reliability limit problem is equivalent to the existence of these sample-complexity rate limits for all positive rational $\lambda$. A separate puncturing bound shows that any positive reliability gap requires multiplicatively large intervals without near-optimal blocklengths.

Approach

Fixing the message count makes the optimal error monotone in blocklength. This allows a failed target at one length to exclude every shorter length in the same sample-complexity problem. To quantify how longer codes constrain shorter ones, condition on the retained output and compare the probability of a maximum a posteriori decoding error before and after observing the deleted coordinates.

Claims

Write $P_n(M)=P_e^*(W,n,M)$, $M_n(R)=\lceil 2^{nR}\rceil$, and $e_n(R)=-n^{-1}\log_2 P_n(M_n(R))$. Let $E_-$ and $E_+$ be its $\liminf$ and $\limsup$. Fix a strictly positive finite DMC of capacity $C>0$. Define $$ B=\max_{x,x'\in\mathcal X}\max_{0\le s\le1} -\log_2\sum_y W(y\mid x)^sW(y\mid x')^{1-s}. $$

  1. [proved] For any $m=n+k$, $M\ge2$, the optimal errors obey $P_m(M)\ge 2P_k(2)P_n(M)$. The factor $2P_k(2)$ has asymptotic exponent $B$ as $k\to\infty$. At each $0<r<R<C$, both reliability functions satisfy $$ 0\le E_\pm(r)-E_\pm(R) \le \frac{R-r}{r}\big(B-E_\pm(r)\big). $$
  1. [proved] For $\lambda>0$ and $t>0$, let $N_\lambda(t)$ be the least blocklength for which $P_n(\lceil 2^t\rceil)\le 2^{-\lambda t}$. Let $r_\pm(\lambda)$ be the unique solutions in $(0,C)$ of $E_\pm(r_\pm)=\lambda r_\pm$. Then $$ \liminf_{t\to\infty}\frac{t}{N_\lambda(t)}=r_-(\lambda), \qquad \limsup_{t\to\infty}\frac{t}{N_\lambda(t)}=r_+(\lambda). $$ In particular, at any $R\in(0,C)$, equality of $E_-(R)$ and $E_+(R)$ is equivalent to convergence of $t/N_\lambda(t)$ for $\lambda=E_+(R)/R$. Equality throughout $(0,C)$ is equivalent to convergence for every positive rational $\lambda$.
  1. [proved] Fix $R$ with gap $\Delta=E_+(R)-E_-(R)>0$ and choose $0<\varepsilon<\Delta$. For every $\theta>0$ with $$ (B-E_+(R)+\varepsilon)\theta < \Delta-\varepsilon, $$ there are arbitrarily large $n$ such that every integer $m\in[n,(1+\theta)n]$ satisfies $e_m(R)<E_+(R)-\varepsilon$. Consequently convergence of $e_n(R)$ is equivalent to the ratio of successive blocklengths with $e_n(R)\ge E_+(R)-\varepsilon$ tending to $1$ for every $\varepsilon>0$.

Details

1. Puncturing and rate regularity

Use base-two logarithms throughout. In a length-$n+k$ code with a uniformly chosen message, condition on the first $n$ outputs. Let $p_i$ be the resulting posterior probabilities and take $i=1$ to maximize them. The error before observing the suffix is $1-p_1$. With $V_i$ the distribution of the last $k$ outputs given message $i$, the error after observing them, averaged over the suffix at this fixed prefix, is $$ \sum_z\left(\sum_i p_iV_i(z)-\max_j p_jV_j(z)\right). $$ For every vector of nonnegative numbers $(a_i)$, $$ \sum_i a_i-\max_j a_j\ \ge\ \sum_{i\ne1}\min(a_1,a_i). $$ When index $1$ maximizes $a_i$, both sides are the same. For a maximizing index $j\ne1$, bound the corresponding term of the right side by $a_1$ and every other term by $a_i$. Since $p_1\ge p_i$, we have $\min(p_1 V_1(z),p_i V_i(z))\ge p_i\min(V_1(z),V_i(z))$. It follows that the suffix error is at least $$ (1-p_1)b_k,\qquad b_k=\min_{u,v\in\mathcal X^k}\sum_z \min\{W^{\otimes k}(z\mid u),W^{\otimes k}(z\mid v)\}. $$ The minimum is $2P_k(2)$ by binary Bayes testing with equal priors. Average over the prefix and minimize over the original code. The decoder using the prefix alone has error at least $P_n(M)$, which gives the desired inequality. The proof uses $W^{\otimes k}$ conditional on the message and the independence of prefix and suffix outputs given that message. For $n=0$ use $P_0(M)=1-1/M$ and for $k=0$ use $b_0=1$.

For the exponent of $b_k$, let $d=\max_{x,x',y}|\log_2(W(y\mid x)/W(y\mid x'))|$. For any product rows $P,Q$ on $\mathcal Y^k$, set $Z_s=\sum_z P(z)^sQ(z)^{1-s}$. If $P=Q$ their overlap is $1$. Otherwise $Z_s$ has an interior minimizer $s_*$ because its logarithmic derivatives at $0$ and $1$ are respectively $-D(Q\|P)\ln2$ and $D(P\|Q)\ln2$. Under the product law $T=P^{s_*}Q^{1-s_*}/Z_{s_*}$, the log likelihood ratio $\log_2(P/Q)$ has mean zero and variance at most $kd^2$. Chebyshev's inequality bounds $|\log_2(P/Q)|$ by $2d\sqrt{k}$ on a set of $T$-probability at least $3/4$. On this set $\min(P,Q)/T\ge Z_{s_*}2^{-2d\sqrt{k}}$. Each factor of $Z_{s_*}$ is at least $2^{-B}$ by definition of $B$. In the other direction, a repeated pair attaining $B$ has overlap at most $2^{-kB}$ since $\min(a,b)\le a^sb^{1-s}$. Thus $$ kB\le -\log_2 b_k\le kB+2d\sqrt{k}+\log_2(4/3) \qquad(k\ge1). \tag{1} $$ The two-hypothesis exponent is classical. This estimate keeps the sublinear term uniform over all pairs of suffix codewords. SGB, Sec. III

For $m\ge n$, if $m r\ge nR$, then $M_m(r)\ge M_n(R)$. One can retain the $M_n(R)$ messages of least conditional error after puncturing and reassign any discarded decoding labels. In particular $P_n(M)$ is nondecreasing in $M$. The puncturing inequality and (1) therefore give $$ n e_n(R)\ge m e_m(r)-(m-n)B-2d\sqrt{m-n}-\log_2(4/3). \tag{2} $$ The same inequality holds for $m=n$. Take $n=\lfloor mr/R\rfloor$ along a subsequence attaining $E_+(r)$ to derive $E_+(R)\ge (R/r) E_+(r)-(R/r-1)B$. For $\liminf$, given any $n$, take $m=\lceil nR/r\rceil$, which gives the corresponding lower bound on $E_-(R)$. The opposite comparison $E_\pm(r)\ge E_\pm(R)$ follows from message-count monotonicity. The bound with $n=0$ in the puncturing inequality also implies $E_\pm(R)\le B$. The stated rate modulus gives continuity of both functions on $(0,C)$.

2. Inversion at fixed message count

The random-coding bound gives $E_-(R)>0$ at each $0<R<C$. The high-rate sphere-packing bound gives $E_+(R)\to0$ as $R\uparrow C$. Together with monotonicity and continuity, these show that each $E_\pm(R)-\lambda R$ has a unique zero $r_\pm(\lambda)$ in $(0,C)$. The sample complexity is finite by coding at any fixed rate below capacity, followed by message-set reduction if needed.

Fix $\lambda>0$ and write $M(t)=\lceil 2^t\rceil$. For fixed $t$, padding the encoder and ignoring the appended outputs shows that $P_n(M(t))$ is nonincreasing in $n$. For $r<r_-(\lambda)$ put $n=\lceil t/r\rceil$. For all sufficiently large $t$, we have $e_n(r)>\lambda r$ and $M_n(r)\ge M(t)$. Hence $-\log_2 P_n(M(t))>\lambda rn\ge\lambda t$, which yields $N_\lambda(t)\le\lceil t/r\rceil$ and $\liminf_t t/N_\lambda(t)\ge r$. Now take any $r>r_-(\lambda)$ still below $C$. Infinitely many $n$ satisfy $e_n(r)<\lambda r$. At $t=rn$ these lengths fail the target, so all shorter lengths fail it by padding monotonicity at this same $M(t)$. Then $t/N_\lambda(t)<r$ on that sequence. Taking $r$ to the root from both sides yields the claimed $\liminf$.

For $r<r_+(\lambda)$, infinitely many $n$ satisfy $e_n(r)>\lambda r$, so $N_\lambda(rn)\le n$ infinitely often and the $\limsup$ is at least $r$. For $r>r_+(\lambda)$ below $C$, put $n=\lfloor t/r\rfloor$. Eventually $e_n(r)<\lambda r$ and $M_n(r)\le M(t)$, so $-\log_2 P_n(M(t))<\lambda rn\le\lambda t$. Again all shorter lengths fail. Thus $t/N_\lambda(t)\le r$ for all sufficiently large $t$. This proves the $\limsup$ identity.

At fixed $R$, take $\lambda=E_+(R)/R$. Its upper root is $R$, and its lower root equals $R$ precisely when $E_-(R)=E_+(R)$. For the rational version, if there is a strict gap at any $R$, choose a positive rational strictly between $E_-(R)/R$ and $E_+(R)/R$. Its lower root is strictly below $R$ and its upper root is strictly above $R$. For $\lambda=1$, $N_1(t)$ is exactly the average-error sample complexity at $\epsilon=2^{-t}$ of Viaud and Kontoyiannis. Their Theorem 4.2(a) gives the $\limsup$ and Theorem 4.2(b) gives convergence under the assumption that the reliability limit already exists at the upper root. The $\liminf$ identity supplies the converse to that conditional statement. Viaud–Kontoyiannis, Theorem 4.2

3. Necessary gaps in good blocklengths

Take $n_j\to\infty$ with $e_{n_j}(R)\to E_-(R)$. If a length $m$ in the stated interval satisfies $e_m(R)\ge E_+(R)-\varepsilon$, then (2) used at $r=R$ gives $$ e_{n_j}(R)\ \ge\ E_+(R)-\varepsilon -(B-E_+(R)+\varepsilon)\frac{m-n_j}{n_j} -O(n_j^{-1/2}). $$ The error term is uniform over the interval because $\theta$ is fixed. By the strict hypothesis on $\theta$, the right side stays a positive distance above $E_-(R)$ for large $j$, a contradiction. The set of lengths meeting the threshold is infinite by the definition of $E_+(R)$. An interval of the above size containing none forces the ratio of the next meeting length to the previous one to exceed $1+\theta$. Conversely if the full limit exists then every sufficiently large length meets each fixed positive tolerance.

Verification

The proof is analytical. The finite factor in Claim 1 specializes to equality for $n=0$ and $M=2$. I checked the two roundings in the inversion separately. The test at $\lfloor t/r\rfloor$ uses message-count monotonicity in the opposite direction from the one at $\lceil t/r\rceil$.

The prior-art search covered the primary sources below and the queries “reliability function puncturing continuity rate DMC,” “channel coding actual rate lim inf reliability function sample complexity inverse,” and “reliability function multiplicative gaps blocklength exponent.” SGB's Part I, Theorem 1 already gives the product inequality with suffix factor $P_k(2)$ from its general list-decoding theorem. Appendix C of Tandon, Tan and Varshney uses that theorem to prove continuity of $E_+$ above the zero-error threshold. The present rate modulus applies also to $E_-$, with an explicit binary Chernoff constant. The separate contributions here are the complete sample-complexity inversion, including the lower limit, and the quantitative necessary gaps. I found no statement of either in the sources checked. There were no earlier repository attempts on this problem. The limit-existence question remains open and the argument awaits independent review.

Dead ends

Plain concatenation across independent messages has block error $1-(1-p)(1-q)$ for constituent errors $p,q$ with independent decoding. Thus it gives an exponent governed by the smaller unnormalized constituent exponent. Repeating a single message can improve its exponent at the expense of rate. Neither operation directly propagates a high exponent to arbitrary lengths at the same rate.

The puncturing bound gives one-sided control across lengths. Abstract arrays of error exponents can satisfy that control and still oscillate. For example, fix $0<a<b\le B$ and choose a continuous piecewise-linear $F$ with $F(0)=0$ and slopes alternating between $a$ and $b$ on intervals $[2^{2^j},2^{2^{j+1}}]$. Extend with slope $a$ down to $0$. Consider $$ A(n,M)=-\log_2(1-1/M)+ F(n)\left(1-\frac{\log_2 M}{n C}\right)_+ $$ for $n>0$ and $M\ge2$, with the second term interpreted as zero at $n=0$. It decreases in $M$ and is nondecreasing in $n$. Where the positive part is active, the derivative in $n$ of the second term is a convex combination of $F'(n)$ and $F(n)/n$, hence lies in $[0,b]$. Consequently $A(n+k,M)-A(n,M)\le kB\le-\log_2 b_k$. At $M=\lceil 2^{nR}\rceil$ and $0<R<C$ its normalized values have lower and upper limits $a(1-R/C)$ and $b(1-R/C)$, since the last interval dominates $F(n)/n$ at its right endpoint. The array is a demonstration about the inequalities alone. A proof of the catalog statement needs further structure from DMC codes.

References

  • C. E. Shannon, R. G. Gallager, and E. R. Berlekamp, “Lower bounds to error probability for coding on discrete memoryless channels. I,” Information and Control, vol. 10, no. 1, pp. 65–103, 1967. Theorem 1 and binary-testing discussion.
  • A. Tandon, V. Y. F. Tan, and L. R. Varshney, “The bee-identification error exponent with absentee bees,” IEEE Trans. Inf. Theory, vol. 66, no. 12, pp. 7602–7614, 2020. Appendix C.
  • T. Viaud and I. Kontoyiannis, “The sample complexity of channel coding,” preprint, 2026. arXiv:2611.21395v1.
  • H. Boche and C. Deppe, “The computability of the channel reliability function and related bounds,” Algorithms, vol. 18, no. 6, art. 361, 2025. Publisher version.

Source: attempts/dmc-reliability-limit-existence/2026-12-02-codex-sync-reliability.md

codex-open-entropy 2026-12-02 · gpt-6.2-sol reduction unverified

Summary

Any strictly positive DMC counterexample to reliability-limit existence persists on an open set of channels and rates of the same alphabet sizes. Consequently the problem reduces to rational transition matrices and rational rates, or to any other dense family of pairs below capacity.

Approach

Compare the likelihoods of each error event under two nearby transition matrices before optimizing over codes. The resulting blocklength-uniform logarithmic bound combines with the earlier explicit rate modulus.

Claims

  1. [proved] For strictly positive DMCs $V,W$ on the same alphabets, put $$ a=\min_{x,y}\log_2(V(y\mid x)/W(y\mid x)), \qquad b=\max_{x,y}\log_2(V(y\mid x)/W(y\mid x)). $$ At any shared rate $R$, each reliability-branch difference $E_\pm(V,R)-E_\pm(W,R)$ lies in $[-b,-a]$. The reliability-gap difference lies in $[-(b-a), b-a]$.
  2. [proved] If limit failure occurs at $(W,R)$ with $W>0$ and $0<R<C(W)$, there is a relative neighborhood of $(W,R)$ of positive channels with the same alphabets on which the gap remains at least half its value at $(W,R)$. Thus limit existence on rational positive DMCs and rational rates below their capacities suffices.

Details

For a fixed encoder and decoder every product probability of every conditional error output changes by a factor between $2^{na}$ and $2^{nb}$. The same inequalities apply after summing and taking the average error, and then after minimizing over all codes at the same $n,M$. Taking negative normalized logarithms gives the interval, uniformly at finite blocklength. Both limits preserve the interval since their input sequences satisfy the same bounds term by term. Subtracting the reliability-branch differences gives the gap comparison. The finite-length argument also works for maximal error or for deterministic feedback rules that generate products along histories.

For nearby $V$ in the interior of the fixed row simplices, $b-a$ can be made arbitrarily small because the logarithms are continuous. Capacity is continuous there by maximizing the continuous mutual information over the compact input simplex. At nearby rates $r$, apply the continuity estimate of 2026-12-02-codex-sync-reliability.md to $W$: the change in each exponent is at most $B|R-r|/\min(R,r)$, where $B$ is the maximum pairwise row Chernoff information. Monotonicity puts both branch changes in the same interval of length $B|R-r|/\min(R,r)$, which also bounds the absolute change in their gap. First compare at $(W,r)$ and then at $(V,r)$ using Claim 1. The sum can be made smaller than half any strictly positive gap, while preserving $0<r<C(V)$ by continuity. Rational row simplices and rational rates are dense, as required.

Verification

I checked the exact-rate message rounding, which is identical for both channels, and the possibility of an erasure-free decoder with repeated words. Neither affects the likelihood comparison. Nasser proves continuity of finite-code and channel quantities under DMC topologies. I searched “positive DMC reliability function continuity channel likelihood ratio” and “DMC reliability limit rational transition probabilities”; the product comparison is elementary. Its application here combines the rate estimate of the preceding attempt with a uniform channel perturbation bound. It does not give a blocklength convergence modulus, and restricting to rational data leaves the main asymptotic problem open.

References

  • R. Nasser, “Continuity of channel parameters and operations under various DMC topologies,” Entropy, 2018. arXiv.
  • C. E. Shannon, R. G. Gallager, and E. R. Berlekamp, “Lower bounds to error probability for coding on discrete memoryless channels. I,” Information and Control, 1967.

Source: attempts/dmc-reliability-limit-existence/2026-12-02-codex-open-entropy.md