lacunary - Mathnotes

Capacity of a Discrete Channel

Definition: Discrete Channel \@{discrete-channel}

A system whereby a sequence of choices from a finite set of elementary symbols S1,,Sn can be transmitted from one point to another. Each of the symbols Si is assumed to have a certain duration in time ti seconds (not necessarily the same for different Si).

Referenced by (1 direct, 3 transitive)

Direct references:

Definition: Capacity (also: channel-capacity) \@{capacity}

The capacity C of a discrete channel is given by

C=limtlogN(t)t,

where N(t) is the number of allowed @signals of duration t.

Referenced by (3 direct)
Note \@{note-3}

Given an information source where all symbols are of the same time duration, and each symbol represents s bits of information (because it is chosen freely among 2s symbols), and the channel can transmit n symbols per second then the capacity C of the channel is defined to be ns bits per second.

In the more general case we have to deal with symbols of various lengths that take different amounts of time to transmit, and so capacity measures not the number of symbols transmitted per second but the amount of information transmitted per second, retaining bits per second as its unit.

If N(t) represents the number of sequences of duration t, then

N(t)=N(tt1)+N(tt2)++N(ttn).

This number is equal to the sum of the numbers of sequences ending in S1,S2,,Sn. This is a recursive definition - if the last symbol is Si, and then we have tti time remaining for the previous symbols in the sequence, and we repeat the same question on that remainder.

A "well-known result" in finite differences tells us that

N(t)AW0tas t,

where A is constant and W0 is the largest real solution of the characteristic equation:

Wt1+Wt2++Wtn=1,

and therefore

C=limtlogAW0tt=logW0.

Example \@{example-4}

Consider Morse code as used in telegraph. We have the following rules:

  • A dot symbol consists of one time unit of line closure followed by one time unit of line open.
  • A dash symbol consists of three time units of line closure followed by one time unit of line open.
  • A letter space symbol consists of three time units of line open.
  • A word space symbol consists of six time units of line open.

We're never allowed to send two space symbols in a row, because two sequential letter space symbols are indistinguishable from a word space symbol.

Now, our possible terminating states are

Symbol Composition Duration (time units)
Dot 1 unit closed + 1 unit open 2
Dash 3 units closed + 1 unit open 4
Letter space preceded by dot 1 unit closed + 4 units open 5
Letter space preceded by dash 3 units closed + 4 units open 7
Word space preceded by dot 1 unit closed + 7 units open 8
Word space preceded by dash 3 units closed + 7 units open 10

Note that we had to consider the last two symbols in the case of the last symbol being a space in order to deal with our "no sequential spaces" constraint.

Now we have

N(t)=N(t2)+N(t4)+N(t5)+N(t7)+N(t8)+N(t10).

So, our characteristic equation is

W2+W4+W5+W7+W8+W10=1.(a)

With a substitution of w=1/W we get

w2+w4+w5+w7+w8+w10=1,

and w0, the largest positive root of this equation, found numerically, is about 0.6882, and so

C=log(w0)0.539 bits per unit of time.

Note that in this Morse telegraphy system, we have two states that the channel can be in, based on what the previous symbol transmitted was.

  • If the previous symbol transmitted was a space, we're in state 1, and the next symbol can only be a dot or a dash, and the state will change.
  • If the previous symbol transmitted was not a space, we're in state 2, and the next symbol can be anything, and the state may or may not change depending on what the next symbol is.

We can think of these states being the @nodes of a @directed-graph with the transitions between them being the @edges. A generalization of this is given in the theorem below.

Theorem \@{theorem-5}

Let bij(s) be the duration of the s-th symbol which is allowable in state i and leads to state j. Then the channel-capacity C is equal to logW where W is the largest real root of the @determinantal-equation

|sWbij(s)δij|=0,

where δij is the @Kronecker-delta.

Example \@{example-6}

For example, for our Morse telegraphy example, we have

|1W2+W4W3+W6W2+W41|=0.

Expanding the @determinant on the LHS gives the characteristic equation (a) above.

Information and Entropy in a Discrete Channel

Remark \@{remark-8}

We can view self-information as an alternative casting of probability, like how odds are, with some desirable properties:

  • An event with probability 1 provides no information - we knew it was going to happen so it happening tells us nothing new.
  • The less probable an event is, the more surprisal it yields.
  • self-information is @additive - if two individual events are measured separately, the total amount of information is the sum of the self-informations of the individual events.

The function given above is the unique function of probability (up to a multiplicative scaling factor) that satisfies these three properties.

Remark \@{remark-9}

In a related vein we can develop a function that asks how much choice is involved in the selection of an event, or equivalently, how much uncertainty there is in the outcome. If p1,p2,,pn are the probabilities of events occurring, we want a measure H(p1,p2,,pn) that has the following properties:

  1. H should be continuous in the pi. That is, a small change in a pi should result in a small change in H.
  1. If all the pi are equal, pi=1n, then H should be a @monotonic @increasing function of n. With equally likely events there is more choice, or uncertainty, when there are more possible events.
  1. If a choice is broken down into two successive choices, the original H should be the weighted sum of the individual values of H. For example, we should have that

H(12,13,16)=H(12,12)+12H(23,13).

Definition: Entropy (also: uncertainty) \@{entropy}

Given a discrete random variable X, which may be any element x within the set X, and is distributed according to p:X[0,1], the entropy is

H(X):=xXp(x)logp(x).

We can choose different bases for the logarithm; throughout these notes a bare log means log2, giving the unit of @bits.

An alternative, equivalent definition is that entropy is the expected value of the self-information of a random variable:

H(X)=E[I(X)]=E[logp(X)].

The unit for entropy is bits per symbol.

Definition: Commensurable (also: commeasurable) \@{commensurable}

Real numbers a1,,an are commensurable if there exists a common measure mR>0 such that each ai is an integer multiple of it: ai=kim,kiZ,i=1,,n. Equivalently, all pairwise ratios are rational: ai/ajQ for all i,j (with aj0).

Referenced by (1 direct)

Direct references:

Theorem \@{theorem-12}

The only H satisfying the three required properties above is the entropy function defined above, up to multiplication by a constant.

Proof \@{proof-of-theorem-12}

Assume we have a function A(n) that satisfies the three properties listed above, such that

A(n)=H(1n,1n,,1n).

Then, by property (3) above, we can decompose a choice from sm equally likely possibilities into a sequence of m choices each from s equally likely possibilities. For example, if we have 24 equally likely possibilities, the probability of any given event is 1/16. If we instead we have a series of 4 choices each with 1/2 probability, we end up with 1/16 as the probability of any specific sequence of events. So, we have that A(sm)=mA(s).

Now, with arbitrarily large n, we can also have tn such that A(tn)=nA(t), by the same logic, and we can pick m such that

smtn<sm+1.

Now, we can take the logarithm of each term to get

mlogsnlogt<(m+1)logs,

and dividing by nlogs gives

mnlogtlogs<mn+1n,

and because n is arbitrarily large,

|mnlogtlogs|<ϵ,

where ϵ is arbitrarily small.

By property (2) of A(n) (it is a @monotonically-increasing function of n,)

A(sm)A(tn)A(sm+1)mA(s)nA(t)(m+1)A(s).

Then, dividing by nA(s) gives

mnA(t)A(s)mn+1n or |mnA(t)A(s)|<ϵ,

Now, by the @triangle-inequality, we have that

|A(t)A(s)logtlogs|2ϵ|A(t)A(s)logslogt|2ϵA(s).

Since ϵ can be arbitrarily small, we have that A(t)=Klog(t), with K>0 so that property (2) holds. Now we know what A(n) is, and thus what H is when we have equal probabilities for all events.

Now let's say that we have a choice from n possible events with commensurable probabilities pi=nini. We can break down a choice from ni possibilities into a choice from n possibilities with probabilities p1,,pn and then, if the ith possibility was chosen, ni choices of equal probability pi. We do this because above, we found how to find H when all events are equally likely, and property (3) of our desired function lets us break down our overall choice from ni possibilities. This gives us

Klogni=H(p1,,pn)+piA(ni)=H(p1,,pn)+piKlogni=H(p1,,pn)+Kpilogni.

Then, H(p1,,pn)=KlogniKpilogni=K[lognipilogni]=K[pi(logni)pi(logni)] because pi=1=K[pi(lognilogni)]=K[pi(lognini)]=Kpilogpi.

If the pi are incommensurable, we can approximate them as closely as we'd like with rationals, since The rationals are dense in the reals.. By the first property we assumed for H, it is continuous in the pi, and so its value at the incommensurable pi equals its limit as we approach via the rationals, and so our expression holds in general. K is left to us to pick, picking it is equivalent to picking a base for the logarithm.

Remark \@{remark-14}

The entropy of a random variable quantifies the average level of uncertainty or information associated with the variable's possible outcomes. It measures the expected amount of information needed to describe the state of the variable, considering the distribution of probabilities across all potential states.

Note \@{note-15}

When we decrease the probability of an element occurring, its self-information increases only logarithmically, while its weight in the entropy sum decreases linearly.

The demo below makes these quantities concrete. It uses a discrete alphabet of N symbols whose probabilities follow a Zipfian distribution,

p(n)=nαk=1Nkα,n=1,2,,N,

where the skew α controls how unevenly probability mass is spread across symbols. At α=0 every symbol is equally likely (the uniform distribution), so entropy is maximal at logN. As α grows the distribution concentrates on the first few symbols, the rare symbols carry ever more self-information, and the entropy falls toward 0. The bar chart shows the probability of each symbol alongside its self-information; the second chart traces the entropy as α sweeps from uniform to highly skewed.

Examples to cover: [https://claude.ai/chat/0702d3b2-a181-4b5b-a572-e5464d9d24d5]

Example: Coin Flip

For a fair coin flip, X={h,t} and p(h)=p(t)=0.5. Then, I(h)=I(t)=log(0.5)=1 bit, and

H(X)=p(h)I(h)+p(t)I(t)=0.51+0.51=1 bit.

Let's say we have an unfair coin and p(h)=0.9,p(t)=0.1. Then

I(h)=log(0.9)0.152 bits,I(t)=log(0.1)3.32 bits,

and for entropy of X we get

H(X)=p(h)I(h)+p(t)I(t)0.90.152+0.13.320.469 bits.

Example: Six-Sided Die

For a fair six-sided die, X={1,2,3,4,5,6} and p(x)=1/6 for all x. Then, I(x)=log(1/6)=log(6)2.58 bits, and

H(X)=616I(x)=I(x)2.58 bits.

Let's say we have an unfair die and p(1)=0.5 and p(x)=0.1 for x{2,3,4,5,6}. Then

I(1)=log(0.5)=1 bit,I(x)=log(0.1)3.32 bits for x1,

and for entropy of X we get

H(X)=p(1)I(1)+x=26p(x)I(x)0.51+50.13.322.16 bits.

Some Theorems on Entropy

Theorem \@{theorem-16}

When a random variable is uniformly distributed over an alphabet of n elements, the self-information of any given element equals the entropy of the random variable and is logn.

Lemma: Nonnegativity of Entropy \@{lemma-17}

H(X)0.

Proof \@{proof-of-lemma-17}

0p(x)1logp(x)0logp(x)0.

Lemma: Change of Logarithm Base \@{lemma-19}

Hb(X)=(logba)Ha(X).

Proof \@{proof-of-lemma-19}

We use the Logarithm Change of Base here.

Hb(x)=xXp(x)logbx=(logba)xXp(x)logbxlogba=(logba)xXp(x)logax=(logba)Ha(X)

Theorem \@{theorem-21}

H=0 iff all the pi but one are zero, this one having the value of one.

Proof \@{proof-of-theorem-21}

Suppose H(p1,,pn)=0. Then, 0=i=1npilogpi. Note that because 0pi1, we have logpi0, and pilogpi0 (with the convention 0log0=0, since limp0+plogp=0). Assume for contradiction that more than one pi is non-zero. Then, because pi=1, each non-zero pi is in (0,1) and therefore its pilogpi>0, and the sum of these terms is therefore non-zero, a contradiction. Now, since all probabilities are required to sum to 1, it can't be the case that all probabilities are zero, which means that exactly one probability must be non-zero and that probability must be 1.

Joint and Conditional Entropy

Definition: Joint Entropy \@{joint-entropy}

The joint entropy H(X,Y) of a pair of @discrete random variables (X,Y) with a joint distribution p(x,y) is defined as

H(X,Y)=xXyyp(x,y)logp(x,y),

which can also be expressed as

H(X,Y)=E[logp(X,Y)].

Referenced by (2 direct, 1 transitive)

Transitive (depth 1):

Definition: Conditional Entropy \@{conditional-entropy}

Let X and Y be random variables, not necessarily independent. The probability that Y takes the value y when X takes the value x (for any specific xX,yY) is called the conditional probability p(y|x) and is given by:

p(y|x)=p(x,y)p(x),p(x)=yp(x,y).

(Note that p(x,y) is the joint probability of X=x,Y=y.)

We define the conditional entropy of Y given X, H(Y|X), as the average of the entropy of Y for each value x of X weighted according to the probability of getting that particular x. That is,

H(Y|X)=xX,yYp(x,y)logp(y|x).

Referenced by (1 direct)

Direct references:

Note \@{note-25}

We can obtain the above formula for conditional entropy as follows. First, if X=x, then our entropy for Y is

H(Y|X=x)=yp(y|x)logp(y|x).

Now, summing across X gives:

H(Y|X)=xp(x)H(Y|X=x)=xp(x)[yp(y|x)logp(y|x)]=xy[p(x)p(y|x)logp(y|x)]=x,yp(x,y)logp(y|x).

Theorem: Chain rule for joint entropy \@{joint-entropy-is-base-plus-conditional}

The entropy (joint entropy) of the joint event X,Y is the entropy of X plus the entropy of Y when X is known.

Proof \@{proof-of-joint-entropy-is-base-plus-conditional}

Note that

H(Y|X)=x,yp(x,y)logp(x,y)p(x)=x,yp(x,y)logp(x,y)+x,yp(x,y)logp(x).

The first term on the RHS is just x,yp(x,y)logp(x,y)=H(X,Y). The second is

x,yp(x,y)logp(x)=x[yp(x,y)]logp(x)=xp(x)logp(x)=H(X).

Altogether, we have that H(Y|X)=H(X,Y)H(X), or

H(X,Y)=H(X)+H(Y|X).

Corollary: Chain Rule for Conditional Joint Entropy \@{corollary-28}

TODO: Cover & Thomas, corollary to Theorem 2.2.1.

Referenced by (1 direct)

Direct references:

Relative Entropy and Mutual Information

Definition: Cross-Entropy \@{cross-entropy}

Given two discrete probability distributions, p and q, that share a support X, cross-entropy measures the average number of bits needed to represent an event drawn from X when the coding scheme is optimized for an estimated distribution q rather than the true distribution p. Its formula is very similar to that of entropy, except surprisal is calculated using q while expectation uses p:

H(p,q)=xXp(x)logq(x).

We can write it in expectation form as

H(p,q)=Ep[logq],

where Ep is expectation under p.

Referenced by (4 direct, 2 transitive)

Transitive (depth 1):

Note that when p=q, cross-entropy equals entropy. The symbol H is overloaded: H(p,q) with distributions as arguments means cross-entropy, while H(X,Y) with random variables as arguments means joint entropy.

Definition: KL Divergence (also: relative-entropy, Kullback-Leibler divergence) \@{kl-divergence}

For discrete probability distributions, p and q, that share a support X, the relative entropy from q to p is defined to be

DKL(p||q)=xXp(x)logp(x)q(x),

which is just cross-entropy minus entropy:

D(p||q)=H(p,q)H(p).

Note that we don't always use the KL subscript where it's obvious from the context.

We can also write it as

D(p||q)=Ep[logq]Ep[logp]=Ep[logpq],

which makes it clear that it's the expected inefficiency in an encoding optimized for q rather than p.

Referenced by (1 direct)

Direct references:

Remark \@{remark-31}

kl divergence tells us how different an approximating distribution q is from a true probability distribution p. It's not a true distance metric - it's asymmetric, but it does behave like distance in that it gets smaller as q gets more like p and is zero when q=p. It is a sort of directed distance.

Another way to think about it is as a measure of how inefficient a coding scheme optimized for q is when the actual distribution is p. If q says some event is rare, and so we use a longer symbol for it (more bits), but the event actually occurs frequently, we'll waste bits representing the event when we could have used a shorter symbol for it.

Definition: Mutual Information \@{mutual-information}

Consider two random variables X and Y with joint probability mass function p(x,y) and marginal probability mass functions p(x) and p(y). The mutual information I(X;Y) is the relative-entropy between the joint distribution and the product distribution p(x)p(y):

I(X;Y)=xXyYp(x,y)logp(x,y)p(x)p(y)=D(p(x,y)||p(x)p(y))=Ep(x,y)logp(X,Y)p(X)p(Y).

Relationship Between Entropy and Mutual Information

Theorem: Mutual Information and Entropy \@{theorem-33}

TODO: Cover & Thomas Theorem 2.4.1.

Chain Rules

Theorem: Chain Rule for Entropy \@{theorem-34}

TODO: Cover & Thomas Theorem 2.5.1.

Definition: Conditional Mutual Information \@{conditional-mutual-information}

TODO: Cover & Thomas, Section 2.5.

Theorem: Chain Rule for Mutual Information \@{theorem-36}

TODO: Cover & Thomas Theorem 2.5.2.

Definition: Conditional Relative Entropy \@{conditional-relative-entropy}

TODO: Cover & Thomas, Section 2.5.

Theorem: Chain Rule for Relative Entropy \@{theorem-38}

TODO: Cover & Thomas Theorem 2.5.3.

Inequalities

Theorem: Gibbs' Inequality \@{gibbs-inequality}

For discrete probability distributions p and q that share a support X,

D(p||q)0,

with equality iff p=q. Equivalently, cross-entropy is never less than entropy: H(p,q)H(p), with equality iff q=p.

Proof \@{proof-of-gibbs-inequality}

Because Log is Concave, by Jensen's Inequality we have that

Ep[logqipi]log(Ep[qipi])=log(i[piqipi])=log(iqi)=log1=0.

Then, since Ep[logqipi]=D(p||q), we have that D(p||q)0.

Now, note that if p=q, qipi=1 and D(p||q)=0. Conversely, suppose D(p||q)=0. Since log is strictly @concave, it is not @affine, and Jensen's Inequality condition for equality gives us that qipi=c. Now, iqi=icpi=1, and since p is a probability distribution, c=1, and therefore pi=qi and p=q.

Corollary: Nonnegativity of Mutual Information \@{corollary-41}

TODO: Cover & Thomas, corollary to Theorem 2.6.3.

Corollary: Nonnegativity of Conditional Relative Entropy \@{corollary-42}

TODO: Cover & Thomas, corollary to Theorem 2.6.3.

TODO: Cover & Thomas, corollary to Theorem 2.6.3.

Referenced by (1 direct)

Direct references:

Theorem \@{theorem-44}

A random variable has the most entropy when the elements of its alphabet are all equally likely to occur.

Proof \@{proof-of-theorem-44}

We will use a @Lagrangian function of entropy to show this. Let

L(p,λ)=i[pilnpi]λ[(ipi)1].

Then, for any pi we want

Lpi=lnpi1λ=0pi=e1λ.

But, this means pi doesn't depend on i, and so is the same for each i and therefore pi=1n.

It remains to show that this extreme of H is a maximum. This follows from the facts that the domain is a @convex, compact set and that the entropy function is strictly @concave. TODO: more details on these.

Theorem \@{theorem-46}

The uncertainty of Y is never increased by knowledge of X. It will be decreased unless X and Y are independent events, in which case it is not changed.

Proof \@{proof-of-theorem-46}

From Let X and Y be discrete random... and Chain rule for joint entropy, we have

H(X)+H(Y)H(X,Y)=H(X)+H(Y|X),

hence H(Y)H(Y|X).

Theorem \@{joint-entropy-is-less-than-or-equal-to-entropy-of-parts}

Let X and Y be discrete random variables with alphabets X and Y, and let p(x,y) be the probability of the joint occurrence of X=x and Y=y.

The entropy of the joint event (the joint entropy), H(X,Y), is less than or equal to the sum of the individual entropies, i.e.

H(X,Y)H(X)+H(Y),

with equality iff X and Y are independent, that is, iff p(x,y)=p(x)p(y).

Proof \@{proof-of-joint-entropy-is-less-than-or-equal-to-entropy-of-parts}

The entropy of the joint event is

H(X,Y)=x,yp(x,y)logp(x,y).

This is just treating each possible pair of individual outcomes as its own outcome, i.e. we have |X|×|Y| possible outcomes. Writing p(x)=yp(x,y) and p(y)=xp(x,y) for the marginals (the argument names the distribution), we have

H(X)=x,yp(x,y)logyp(x,y),H(Y)=x,yp(x,y)logxp(x,y).

So,

H(X)+H(Y)H(X,Y)=x,yp(x,y)logyp(x,y)x,yp(x,y)logxp(x,y)+x,yp(x,y)logp(x,y)=x,yp(x,y)(logp(x,y)logyp(x,y)logxp(x,y))=x,yp(x,y)(logp(x,y)logp(x)logp(y))=x,yp(x,y)(logp(x,y)p(x)p(y))=x,yp(x,y)(logp(x)p(y)p(x,y))

Now, let's define a new random variable for convenience, Z=p(X)p(Y)p(X,Y). We now have that

H(X)+H(Y)H(X,Y)=x,yp(x,y)(logp(x)p(y)p(x,y))=x,yp(x,y)(logZ)=E[logZ].

Now, by Jensen's Inequality, because Log is Concave, we have that E[logZ]logE[Z]. Now,

E[Z]=x,yp(x,y)p(x)p(y)p(x,y)=x,yp(x)p(y)=(xp(x))(yp(y))=11=1. Therefore logE[Z]=log1=0, and we have that E[logZ]0E[logZ]0, and

H(X)+H(Y)H(X,Y)0H(X,Y)H(X)H(Y)H(X,Y)H(X)+H(Y).

Now, for the equality part. Suppose H(X)+H(Y)=H(X,Y). Then, E[logZ]=0, and recalling that E[Z]=1, E[logZ]=logE[Z]=0. In Jensen's Inequality, equality holds only if our function is @affine or if Z is constant; since log is @affine on no interval, Z must be constant, and since E[Z]=1, Z=p(x)p(y)p(x,y)=1p(x)p(y)=p(x,y).

Now, suppose p(x)p(y)=p(x,y). Then Z=1 and

H(X)+H(Y)H(X,Y)=x,yp(x,y)(log1)=0,

so H(X)+H(Y)=H(X,Y).

Referenced by (1 direct)

Direct references:

Theorem: Doubly stochastic maps increase entropy \@{theorem-50}

Take a @doubly-stochastic matrix A and probability vector p, let q=Ap. Then H(q)H(p), with equality iff q is a @rearrangement of p.

Proof \@{proof-of-theorem-50}

Note that qi=jAijpj, by the definition of vector matrix multiplication. Now we'll define a couple of joint distributions:

rij=Aijpj,sij=Aijqi.

Now we find the relative-entropy from s to r:

D(r||s)=i,jrijlogrijsij=i,jAijpjlogAijpjAijqi=i,jAijpjlogpjqi=i,jAijpj(logpjlogqi)=i,jAijpjlogpji,jAijpjlogqi

Now, addressing the first term on the RHS of the last line:

i,jAijpjlogpj=j[pjlogpjiAij]=j[pjlogpj1]=jpjlogpj=H(p).

And the second term on the RHS of the last line:

i,jAijpjlogqi=i[logqijAijpj]=i[logqiqi]=H(q).

So, we end up with D(r||s)=H(q)H(p). Since D(r||s)0 by Gibbs' Inequality, we have H(q)H(p)0, which implies that H(q)H(p), which is what we wanted to show.

Now, the equivalence case. If q is just a rearrangement of p, then obviously it has the same entropy as we can just re-index to recover p. Now assume H(p)=H(q). Then, H(q)H(p)=0D(r||s)=0r=sAijpj=Aijqipj=qi whenever Aij>0. Now, for each value c appearing in p or q, let

Jc={j:pj=c},Ic={i:qi=c},

that is Jc is the set of indices of p where pj=c, and similarly with Ic and q. Now, consider row iIc. For any Aij>0, we have pj=qi, so jJc, i.e. every nonzero entry of row i lies in a column of Jc, so the columns jJc have the entire mass of row i. Similarly, for column jJc, for nonzero Aij, qi=pj=c, so iIc, and the rows Ic contain all of column j's mass. Taking 1S as the @indicator-vector of a set S, we have that

A1Jc=1Ic,

that is, rows in Ic sum to 1 over the columns Jc, while rows outside Ic have no mass in the columns Jc at all. Now we count the mass:

|Ic|=11Iccount entries via dot product=1(A1Jc)identity from above=(1A)1Jcassociativity=11Jccolumn-stochasticity=|Jc|count entries via dot product.

Therefore, |Ic|=|Jc| for all c, so each c appears equally often in p and in q, and q is therefore a rearrangement of p.

Intuition \@{theorem-50-intuition}

Averaging (well, replacing each probability with a convex combination of all the probabilities in a way that retains their summing to 1) the probabilities in p can only bring them closer to each other (if it doesn't just rearrange them), which increases entropy.

Log Sum Inequality and Its Applications

Theorem: Log Sum Inequality \@{theorem-53}

TODO: Cover & Thomas Theorem 2.7.1.

Theorem: Convexity of Relative Entropy \@{theorem-54}

TODO: Cover & Thomas Theorem 2.7.2.

Theorem: Concavity of Entropy \@{theorem-55}

TODO: Cover & Thomas Theorem 2.7.3.

Data-Processing Inequality

Definition: Markov Chain \@{markov-chain}

TODO: Cover & Thomas, Section 2.8.

Theorem: Data-Processing Inequality \@{theorem-57}

TODO: Cover & Thomas Theorem 2.8.1.

Corollary: Processing Cannot Increase Information \@{corollary-58}

TODO: Cover & Thomas, corollary to Theorem 2.8.1.

Sufficient Statistics

Definition: Sufficient Statistic \@{sufficient-statistic}

TODO: Cover & Thomas, Section 2.9.

Theorem: Characterization of Sufficiency \@{theorem-60}

TODO: Cover & Thomas, Section 2.9.

Definition: Minimal Sufficient Statistic \@{minimal-sufficient-statistic}

TODO: Cover & Thomas, Section 2.9.

Fano's Inequality

Theorem: Fano's Inequality \@{theorem-62}

TODO: Cover & Thomas Theorem 2.10.1.

Corollary: Weak Form of Fano's Inequality \@{corollary-63}

TODO: Cover & Thomas, Section 2.10.