English

On the Computability of Finding Capacity-Achieving Codes

Information Theory 2025-11-06 v2 math.IT Logic

Abstract

This work studies the problem of constructing capacity-achieving codes from an algorithmic perspective. Specifically, we prove that there exists a Turing machine which, given a discrete memoryless channel pYXp_{Y|X}, a target rate RR less than the channel capacity C(pYX)C(p_{Y|X}), and an error tolerance ϵ>0\epsilon > 0, outputs a block code C\mathcal{C} achieving a rate at least RR and a maximum block error probability below ϵ\epsilon. The machine operates in the general case where all transition probabilities of pYXp_{Y|X} are computable real numbers, and the parameters RR and ϵ\epsilon are rational. The proof builds on Shannon's channel coding theorem and relies on an exhaustive search approach that systematically enumerates all codes of increasing block length until a valid code is found. This construction is formalized using the theory of recursive functions, yielding a μ\mu-recursive function FindCode:N3N\mathrm{FindCode} : \mathbb{N}^3 \rightharpoonup \mathbb{N} that takes as input appropriate encodings of pYXp_{Y|X}, RR, and ϵ\epsilon, and, whenever R<C(pYX)R < C(p_{Y|X}), outputs an encoding of a valid code. By Kleene's normal form theorem, which establishes the computational equivalence between Turing machines and μ\mu-recursive functions, we conclude that the problem is solvable by a Turing machine. This result can also be extended to the case where ϵ\epsilon is a computable real number, while we further discuss an analogous generalization of our analysis when RR is computable as well. We note that the assumptions that the probabilities of pYXp_{Y|X}, as well as ϵ\epsilon and RR, are computable real numbers cannot be further weakened, since computable reals constitute the largest subset of R\mathbb{R} representable by algorithmic means.

Keywords

Cite

@article{arxiv.2511.01414,
  title  = {On the Computability of Finding Capacity-Achieving Codes},
  author = {Angelos Gkekas and Nikos A. Mitsiou and Ioannis Souldatos and George K. Karagiannidis},
  journal= {arXiv preprint arXiv:2511.01414},
  year   = {2025}
}
R2 v1 2026-07-01T07:18:59.762Z