Lean, informalized

Nielsen & Chuang · Chapter 12, Quantum information theory · p. 553

Theorem 12.7 - The capacity of a discrete memoryless channel is the supremum of its mutual information, in bits

The capacity of a noisy channel as maximal mutual information.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

A sender has a noisy classical channel NN. Each use takes one symbol xx from a finite input alphabet and returns one symbol yy from a finite output alphabet, at random, with probabilities that depend only on the xx sent and not on earlier uses. Coding a message over many uses, the sender can get information through at any rate below a certain number of bits per use, with a probability of error that vanishes as the number of uses grows. The capacity C(N)C(N) of the channel is this largest such rate. Shannon’s noisy channel coding theorem computes it from a single use: C(N)C(N) is the largest mutual information between the input XX and the output YY, over all distributions p(x)p(x) of the input.

A Discrete Memoryless Channel

A discrete memoryless channel NN from a finite input alphabet 𝒳\mathcal{X} to a finite output alphabet 𝒴\mathcal{Y} is a family of transition probabilities q(y|x)q(y|x), one distribution over outputs for each input: q(y|x)≥0,∑y∈𝒴q(y|x)=1for every x∈𝒳.q(y|x) \ge 0, \qquad \sum_{y \in \mathcal{Y}} q(y|x) = 1 \quad \text{for every } x \in \mathcal{X}.(1)✦

For an input distribution pp, a probability distribution on 𝒳\mathcal{X}, the joint distribution pXYp_{XY} of the input XX and the output YY is the distribution on 𝒳×𝒴\mathcal{X} \times \mathcal{Y} given by pXY(x,y)=p(x)q(y|x).p_{XY}(x,y) = p(x)\, q(y|x).(2)✦

Entropy and Mutual Information

The Shannon entropy H(p)H(p) of a distribution pp on a finite set is H(p)=−∑ipiln⁡pi,H(p) = -\sum_i p_i \ln p_i ,(3)✦ taken with the natural logarithm, so that it is measured in nats.

The first marginal pXp_X of a joint distribution pXYp_{XY} of XX and YY on 𝒳×𝒴\mathcal{X} \times \mathcal{Y} is the distribution of XX alone✦, and the second marginal pYp_Y is the distribution of YY alone: pX(x)=∑ypXY(x,y),pY(y)=∑xpXY(x,y).p_X(x) = \sum_{y} p_{XY}(x,y), \qquad p_Y(y) = \sum_{x} p_{XY}(x,y).(4)✦

The mutual information H(X:Y)H(X:Y) of pXYp_{XY} is the sum of the entropies of its marginals less its own entropy. H(X:Y)=H(pX)+H(pY)−H(pXY).H(X:Y) = H(p_X) + H(p_Y) - H(p_{XY}).(5)✦

The mutual information of the channel NN at an input distribution pp is H(X:Y)H(X:Y) for the joint distribution (2).✦

The supremum over all input distributions on 𝒳\mathcal{X} of the mutual information of NN, in nats, is the information capacity CI(N)C_I(N) of NN: CI(N)=suppH(X:Y).C_I(N) = \sup_{p} H(X:Y).(6)✦

The Claim

Theorem 1. Let NN be a discrete memoryless channel with nonempty input and output alphabets. Its capacity C(N)C(N) is its information capacity divided by ln⁡2\ln 2: C(N)=CI(N)ln⁡2=1ln⁡2suppH(X:Y).C(N) = \frac{C_I(N)}{\ln 2} = \frac{1}{\ln 2}\, \sup_{p} H(X:Y).(7)✦

What Is Checked

The claim is stated over a discrete memoryless channel, given by its transition probabilities (1), and over its information capacity (6). What the library proves about these constructions is the identity (7), for every such channel.