Lean, informalized

Nielsen & Chuang · Chapter 11, Entropy and information · p. 509

Exercise 11.9 - A counterexample to the superadditivity of mutual information, from one bit and three copies of it

A bit and its copies defeat superadditivity of 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

The mutual information of two random variables measures how much one of them tells about the other. Mutual information would be superadditive if, for any four random variables X1,X2,Y1,Y2X_1, X_2, Y_1, Y_2 on one probability space, the pair (X1,X2)(X_1, X_2) always shared at least as much information with the pair (Y1,Y2)(Y_1, Y_2) as X1X_1 shares with Y1Y_1 and X2X_2 with Y2Y_2 together.

The exercise shows that it is not, with one bit and three copies of it. There is a random variable X1X_1 with values 00 and 11 such that, with X2=Y1=Y2=X1X_2 = Y_1 = Y_2 = X_1, the mutual information of X1X_1 with Y1Y_1 and that of X2X_2 with Y2Y_2 add up to more than the mutual information of the two pairs.✦

Entropy on a Finite Sample Space

The claim is set on a finite sample space Ω\Omega with a probability distribution pp: each sample point ω\omega has a probability p(ω)≥0p(\omega) \ge 0, and these sum to 11.

A random variable XX on Ω\Omega with values in a finite set β\beta is a function from Ω\Omega to β\beta.

The Shannon entropy H(q)H(q) of a probability distribution qq on a finite set ι\iota is H(q)=∑i∈ι(−q(i)log⁡q(i)),H(q) = \sum_{i \in \iota} \bigl(-q(i) \log q(i)\bigr),(1)✦ with the natural logarithm, so that entropy is measured in nats.

The entropy H(X)H(X) of a random variable XX on Ω\Omega with values in β\beta is the Shannon entropy of its law under pp, the distribution pXp_X on β\beta that gives each value bb the total probability of the sample points where XX takes that value: H(X)=H(pX),pX(b)=∑ω∈Ω:X(ω)=bp(ω).H(X) = H(p_X), \qquad p_X(b) = \sum_{\omega \in \Omega \,:\, X(\omega) = b} p(\omega).(2)✦

The mutual information H(X:Y)H(X:Y) of two random variables XX and YY on Ω\Omega is H(X:Y)=H(X)+H(Y)−H(X,Y),H(X:Y) = H(X) + H(Y) - H(X,Y),(3)✦ where H(X,Y)H(X,Y) is the entropy of the random variable (X,Y)(X,Y) that takes the value (X(ω),Y(ω))(X(\omega), Y(\omega)) at ω\omega. In the same way, H(X1,X2:Y1,Y2)H(X_1,X_2 : Y_1,Y_2) is the mutual information of the joint variables (X1,X2)(X_1,X_2) and (Y1,Y2)(Y_1,Y_2).

The Claim

Theorem 1. There are a finite sample space Ω\Omega with a probability distribution pp and random variables X1,X2,Y1,Y2X_1, X_2, Y_1, Y_2 on Ω\Omega with values in {0,1}\{0,1\} such that X2=Y1=Y2=X1,X_2 = Y_1 = Y_2 = X_1,(4)✦ and for which H(X1:Y1)+H(X2:Y2)>H(X1,X2:Y1,Y2).H(X_1:Y_1) + H(X_2:Y_2) > H(X_1,X_2 : Y_1,Y_2).(5)✦

What Is Checked

The claim is stated over the mutual information (3) of random variables on a finite sample space with a probability distribution, built from the entropy (2) of a random variable’s law, which is the Shannon entropy (1) of a distribution on a finite set. The library proves this: the bit with its three copies (4).