Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 1 result · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 1 also cleared it.

Finite-Alphabet Entropy and Divergence

1 · Prerequisites

2 · Summary

This page fixes the finite-alphabet conventions for natural-log nats and bits, conditional entropy, mutual information, and conditional mutual information. It proves the support-aware log-sum and finite KL equality results, identifies the finite sum with the library's measurable KL under its stated AC interface, and derives the entropy and information chain rules, finite Fano bounds, and Markov data processing. Every sum is finite, zero-support cases are explicit, and no proof subtracts two infinite values.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Information units and logarithm-base convention

Definition

Write ln⁡ for the natural logarithm log⁡ of The natural logarithm as the inverse of the exponential function. Unless a base is displayed, every information quantity on this page uses ln⁡ and is measured in nats. For a base b>1 and t>0, define log⁡bt:=ln⁡tln⁡b. The denominator is positive: b>1, ln⁡ is strictly increasing, and ln⁡1=0 by Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm. A base-b entropy or divergence is obtained by replacing each ln⁡ in the finite formulas below by log⁡b; use 0log⁡b0:=0 and assign +∞ to a positive numerator over a zero denominator. The case b=2 measures bits; b=e gives nats.

Remarks

All entropies, mutual informations, and conditional mutual informations in this finite-alphabet page are finite. A finite KL divergence can be +∞ only when the numerator law has positive mass where the reference law has zero mass. The unit-conversion theorem proves that every base-b version is the natural-log value divided by ln⁡b; no expression subtracts two infinite quantities.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Marginals and positive-mass conditionals of a finite joint law are probability vectors

Statement

Let U,V be finite nonempty alphabets and let pUV(u,v)≥0 satisfy ∑u,vpUV(u,v)=1. Define pU(u)=∑vpUV(u,v) and pV(v)=∑upUV(u,v). Then both marginals are probability vectors. For each v with pV(v)>0, the conditional vector pU∣v(u):=pUV(u,v)/pV(v) is a probability vector; likewise for conditioning on positive-mass u. Consequently, if pUVW is a finite joint pmf, then for every w with pW(w)>0, pUV∣w and its two marginals are probability vectors.

Facts & Assumptions

Given: Finite nonempty alphabets U,V and a joint pmf pUV.

[F1]

Finite distributions, entropy, divergence, and stochastic matrices: a finite probability vector has nonnegative coordinates whose sum is 1.

[F2]

Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule: for finite sets S,T and a real array as,t, the sum over S×T equals either iterated sum, and finite sums are invariant under bijective reindexing.

Proof

1.1givenF1F2algebra

Every marginal coordinate is nonnegative because it is a finite sum of nonnegative entries of pUV. By [F2], ∑upU(u)=∑u∑vpUV(u,v)=∑(u,v)pUV(u,v)=1, and the same calculation with the order reversed gives ∑vpV(v)=1. Thus both marginals are probability vectors by [F1].

2.1givenF1step 1.1algebra∎

Fix v with pV(v)>0. Each ratio pUV(u,v)/pV(v) is nonnegative, and ∑upU∣v(u)=(∑upUV(u,v))/pV(v)=pV(v)/pV(v)=1. Hence pU∣v is a probability vector by [F1]. The same argument with u fixed gives pV∣u. If pUVW is a joint pmf and pW(w)>0, first apply this argument to the pair of finite alphabets U×V and W; then apply step 1.1 to the resulting conditional pmf on U×V. This gives the last assertion.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite KL divergence agrees with measurable-space KL

Statement

Assume AC only for the interface to the published general definition Kullback–Leibler divergence. Let p,q be probability vectors on a finite set S, and let P(A)=∑i∈Api, Q(A)=∑i∈Aqi on P(S). Then the measurable-space divergence D(P∥Q) equals the finite KL sum ∑i:pi>0piln⁡(pi/qi), with value +∞ exactly when some pi>0=qi.

Facts & Assumptions

Given: AC, a finite set S, and probability vectors p,q on S.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function. Here AC is assumed only when invoking the current published measurable KL definition; no selection is used to construct the finite density below.

[F1]

Finite distributions, entropy, divergence, and stochastic matrices: a finite KL sum uses 0ln⁡0=0 and is +∞ if pi>0=qi for some coordinate.

[F2]

Finite probability spaces are exactly finite full-power-set probability spaces: on a finite set, nonnegative weights summing to one define a probability measure on the full power set by P(A)=∑i∈Api.

[F3]

Absolute continuity of a signed or complex measure with respect to a positive measure: P≪Q means every measurable Q-null set is P-null.

[F4]

The Radon-Nikodym derivative as an almost-everywhere equivalence class: for P≪Q, a Radon–Nikodym derivative is a measurable function class satisfying P(A)=∫Ar dQ for every measurable A.

[F5]

Expectation agrees with the published finite weighted sum: on a finite probability space, the expectation of a real function is the sum of its values weighted by the outcome probabilities.

[F6]

Kullback–Leibler divergence: if P≪̸Q, then D(P∥Q)=+∞.

[F7]

Kullback–Leibler divergence: in the absolutely continuous case, use an RN density r=dP/dQ, set ℓ=0 on {r=0} and ℓ=ln⁡r on {r>0}.

[F8]

Kullback–Leibler divergence: the measurable KL is D(P∥Q)=∫ℓ dP in the absolutely continuous case.

[F9]

Finite probability spaces, outcome weights, events, and event probabilities: a finite probability space has a finite outcome set with nonnegative weights summing to one, and every subset is an event.

Proof

1.1givenF1F2F3F6F9

By [F9], the finite vectors define probability spaces on (S,P(S)), with every singleton measurable; [F2] gives their event weights. If pi>0=qi, then P({i})>0=Q({i}), so [F3] gives P≪̸Q. The general definition [F6] and finite convention [F1] both give +∞.

1.2F2F3F4F5givenalgebra

Suppose pi=0 whenever qi=0. If Q(A)=0, the finite sum ∑i∈Aqi=0 and nonnegativity force qi=0 for every i∈A; hence pi=0 for those i and P(A)=0. Thus P≪Q by [F3]. Define ri=pi/qi when qi>0 and ri=0 when qi=0. Since every subset of S is measurable, this finite function is measurable. For every A⊆S, [F5] gives ∫Ar dQ=∑i∈Ariqi=∑i∈Api=P(A), so [F4] identifies r as a Radon–Nikodym derivative. It is explicitly constructed; no choice is used in this step.

2.1A1F1F5F7F8step 1.2algebra

Under the AC interface assumption [A1], substitute the density from step 1.2 into [F8], using the logarithm convention [F7]. Applying [F5] to ℓ(i)=ln⁡ri for ri>0 and ℓ(i)=0 for ri=0 gives D(P∥Q)=∑i:pi>0piln⁡ri=∑i:pi>0piln⁡(pi/qi); coordinates with pi=0 contribute 0 by [F1].

3.1givenstep 1.1step 2.1∎

Step 1.1 handles support failure, while step 2.1 proves equality with the finite sum when p is supported by q. These cases exhaust the finite vectors in the Statement.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite log-sum inequality with support and equality cases

Statement

Let (ai)i=1n,(bi)i=1n be finite nonnegative real vectors, with A=∑iai and B=∑ibi. Interpret ∑ai>0ailn⁡(ai/bi) as +∞ if some ai>0=bi; otherwise zero coordinates contribute 0. Interpret Aln⁡(A/B) as 0 if A=0 and as +∞ if A>0=B. Then

∑ai>0ailn⁡aibi≥Aln⁡AB.

When A,B>0, equality holds exactly when ai=(A/B)bi for every i. If A>0=B, both sides are +∞ and no finite equality characterization is asserted.

Facts & Assumptions

Given: Finite nonnegative vectors a,b, and A=∑iai, B=∑ibi.

[F1]

Information units and logarithm-base convention: logarithms are natural by default, 0ln⁡0=0, and a positive numerator over zero denominator contributes +∞.

[F2]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: ln⁡ is continuous and strictly increasing on (0,∞) and ln⁡1=0.

[F6]

The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a): if f is continuous on [u,v] and differentiable on (u,v), some c∈(u,v) satisfies f(v)−f(u)=f′(c)(v−u).

[F7]

Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval: strict convexity means f(λx+(1−λ)y)<λf(x)+(1−λ)f(y) for x≠y and 0<λ<1.

[F8]

Finite Jensen inequality for a convex function and nonnegative weights summing to one: for finitely many points in an interval and nonnegative weights summing to one, a convex function at the weighted mean is at most the weighted mean of its values.

Proof

1.1F2F3F4F5F6F7algebra

Define f(0)=0 and f(t)=tln⁡t for t>0. On (0,∞), [F3] and [F4] give f′(t)=ln⁡t+1, which is strictly increasing by [F2]; [F2] and [F5] also give continuity of f on every positive compact interval. If 0<u<v<w, [F6] on [u,v] and [v,w] gives secant slopes f′(c1) and f′(c2) with c1<v<c2; strict increase makes the first slope smaller, which rearranges to the strict convexity inequality at v. For an endpoint 0<y and 0<λ<1, f(λy)=λf(y)+λyln⁡λ<λf(y)+(1−λ)f(0) since ln⁡λ<0 by [F2]. Thus f is strictly convex on [0,∞).

1.2givenF1casesalgebra

If A=0, nonnegativity forces all ai=0, so both sides are 0. If A>0=B, all bi=0 and at least one ai>0, so both sides are +∞. If A,B>0 but some ai>0=bi, the left side is +∞ while the right side is finite. It remains to handle A,B>0 with ai=0 whenever bi=0.

2.1F1F8step 1.1algebra

For the remaining case set J={i:bi>0}, λi=bi/B, and xi=ai/bi for i∈J. These weights are positive and sum to one, and ∑i∈Jλixi=A/B. By [F8] and the convexity proved in step 1.1, Bf(A/B)≤∑i∈Jbif(ai/bi). Expanding f turns this into the desired inequality, including coordinates with ai=0<bi because f(0)=0.

2.2F7F8step 1.1choosealgebra

If all xi are equal, their weighted mean is A/B and Jensen is an equality; together with ai=0 when bi=0, this is exactly ai=(A/B)bi for every coordinate. Conversely, suppose they are not all equal, so ∣J∣≥2 and 0<λj<1 for every j. For each j∈J, let μi=λi/(1−λj) for i≠j and yj=∑i≠jμixi. Some j has xj≠yj: otherwise xj=(A/B−λjxj)/(1−λj) for every j, forcing each xj=A/B. Fix such a j. Then A/B=λjxj+(1−λj)yj; strict convexity from step 1.1 gives f(A/B)<λjf(xj)+(1−λj)f(yj). By [F8] on the normalized remaining weights, f(yj)≤∑i≠jμif(xi), making the total Jensen inequality strict.

3.1step 1.2step 2.1step 2.2∎

Steps 1.2–2.2 prove the inequality in every extended-real support case and, when A,B>0, prove equality exactly at proportional vectors.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite conditional entropy

Definition

Let pXY be a joint probability vector on finite alphabets X×Y. It is the weight function of the canonical finite probability space from Finite probability spaces, outcome weights, events, and event probabilities; its coordinate maps are finite random elements in the sense of Random elements and real random variables. Write pY(y)=∑xpXY(x,y). For each y with pY(y)>0, set pX∣y(x)=pXY(x,y)/pY(y); this is a probability vector by Marginals and positive-mass conditionals of a finite joint law are probability vectors. Define the conditional entropy in nats by

H(X∣Y):=∑y:pY(y)>0pY(y)H(pX∣y),

where H(p)=−∑xp(x)ln⁡p(x) is the finite entropy of Finite distributions, entropy, divergence, and stochastic matrices. Terms for zero-mass y are omitted. The base-b version replaces ln⁡ by log⁡b.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite mutual information

Definition

Let pXY be a joint probability vector on finite alphabets X×Y, with marginals pX(x):=∑ypXY(x,y) and pY(y):=∑xpXY(x,y). The marginals are probability vectors by Marginals and positive-mass conditionals of a finite joint law are probability vectors. The joint vector is the outcome-weight function of the canonical finite probability space from Finite probability spaces, outcome weights, events, and event probabilities; its coordinate maps are finite random elements in the sense of Random elements and real random variables. Define mutual information in nats by

I(X;Y):=D(pXY∥pX⊗pY)=∑(x,y):pXY(x,y)>0pXY(x,y)ln⁡pXY(x,y)pX(x)pY(y),

where D is the finite KL convention of Finite distributions, entropy, divergence, and stochastic matrices and (pX⊗pY)(x,y):=pX(x)pY(y). Every ratio in the displayed sum is positive and finite: if pXY(x,y)>0, then each marginal sum is at least that positive entry. The sum is over finite support, so I(X;Y) is finite. The base-b version replaces ln⁡ by log⁡b.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite conditional mutual information

Definition

Let pXYZ be a joint probability vector on finite alphabets and write pZ(z) for its marginal. It is the law of finite coordinate random elements on the canonical finite probability space from Finite probability spaces, outcome weights, events, and event probabilities and Random elements and real random variables. For each z with pZ(z)>0, the conditional law pXY∣z and its marginals pX∣z,pY∣z are probability vectors by Marginals and positive-mass conditionals of a finite joint law are probability vectors. Define conditional mutual information in nats by

I(X;Y∣Z):=∑z:pZ(z)>0pZ(z)D(pXY∣z∥pX∣z⊗pY∣z),

using the finite KL convention of Finite distributions, entropy, divergence, and stochastic matrices, where (pX∣z⊗pY∣z)(x,y):=pX∣z(x)pY∣z(y). A positive conditional joint mass forces both conditional marginals to be positive, so each displayed KL term is finite. Zero-mass conditioning values contribute no term. The base-b version replaces ln⁡ by log⁡b inside the conditional KL sums.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite KL divergence is nonnegative with equality exactly at equal laws

Statement

For finite probability vectors p,q on the same alphabet, D(p∥q)≥0, and D(p∥q)=0 if and only if p=q. If pi>0=qi for some coordinate, then D(p∥q)=+∞.

Facts & Assumptions

Given: Finite probability vectors p,q on a common alphabet.

[F1]

Finite distributions, entropy, divergence, and stochastic matrices: D(p∥q)=∑i:pi>0piln⁡(pi/qi), with +∞ if pi>0=qi for some i.

[F2]

Finite log-sum inequality with support and equality cases: for nonnegative vectors a,b with positive sums A,B, ∑ai>0ailn⁡(ai/bi)≥Aln⁡(A/B), with equality exactly when ai=(A/B)bi at every coordinate.

Proof

1.1givenF1F2

If pi>0=qi for some i, [F1] gives D(p∥q)=+∞, so nonnegativity holds and equality to zero is impossible. Otherwise pi=0 whenever qi=0; apply [F2] to ai=pi, bi=qi. Both sums equal 1, and its left side is D(p∥q), so D(p∥q)≥0.

2.1F1F2step 1.1algebra∎

In the absolutely continuous case, [F2] says equality holds exactly when pi=(1/1)qi=qi for every coordinate. Conversely, if p=q, every positive-support term in [F1] is piln⁡1=0, so D(p∥q)=0. Together with step 1.1 this proves the iff statement, including zero coordinates.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite information quantities convert by the logarithm base

Statement

For any b>1, define each base-b finite information quantity by replacing ln⁡ with log⁡b in its defining finite formula. Then

Hb(p)=H(p)ln⁡b,Db(p∥q)=D(p∥q)ln⁡b,

where the second equality is in [0,+∞] and +∞/ln⁡b:=+∞. The same conversion holds for finite conditional entropy, mutual information, and conditional mutual information. In particular, values in bits equal nats divided by ln⁡2.

Facts & Assumptions

Given: A base b>1 and finite probability vectors or finite joint probability laws.

[F1]

Information units and logarithm-base convention: log⁡bt=ln⁡(t)/ln⁡(b) for t>0, ln⁡b>0, and zero-mass terms use 0log⁡b0=0.

[F2]

Finite distributions, entropy, divergence, and stochastic matrices: finite entropy and KL use finite sums; a support failure gives KL value +∞.

[F3]

Finite conditional entropy: H(X∣Y) is a finite weighted sum of entropies of positive-mass conditional pmfs.

[F4]

Finite mutual information: I(X;Y) is a finite sum over positive joint support.

[F5]

Finite conditional mutual information: I(X;Y∣Z) is a finite weighted sum of conditional KL values over positive-mass z.

Proof

1.1givenF1F2algebra

By [F1], ln⁡b>0, so division by ln⁡b preserves order and sends +∞ to +∞. For entropy, replacing each ln⁡pi by log⁡bpi=ln⁡pi/ln⁡b factors the same positive scalar out of the finite sum; zero terms remain zero by [F1]. The identical termwise calculation applies to every finite KL sum when p is supported by q.

2.1F1F3F4F5step 1.1algebra∎

If pi>0=qi, both base conventions set the KL value to +∞, agreeing with the extended-real equation. Conditional entropy is a finite weighted sum of the entropy terms from step 1.1 by [F3]; mutual information is a finite KL sum by [F4]; conditional mutual information is a finite weighted sum of conditional KL sums by [F5]. Factoring 1/ln⁡b from each of these finite sums proves all remaining conversions.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite conditional mutual information identities and equality

Statement

For finite X,Y,Z,

I(X;Y∣Z)=H(X∣Z)+H(Y∣Z)−H(X,Y∣Z)≥0.

Equality holds if and only if, for every z with pZ(z)>0, the conditional joint pmf factors as pXY∣z=pX∣zpY∣z; this is conditional independence given Z.

Facts & Assumptions

Given: A joint pmf pXYZ on finite alphabets; all entropies and conditional mutual information use the nats convention.

[F1]

Finite conditional mutual information: I(X;Y∣Z)=∑z:pZ(z)>0pZ(z)D(pXY∣z∥pX∣z⊗pY∣z).

[F2]

Finite conditional entropy: H(U∣Z)=∑z:pZ(z)>0pZ(z)H(pU∣z), with zero-mass conditioning values omitted.

[F3]

Finite distributions, entropy, divergence, and stochastic matrices: H(r)=−∑ri>0riln⁡ri, with 0ln⁡0=0.

[F4]

Finite KL divergence is nonnegative with equality exactly at equal laws: for finite probability vectors r,s, D(r∥s)≥0, with equality exactly when r=s.

[F5]

Marginals and positive-mass conditionals of a finite joint law are probability vectors: each positive-mass conditional joint vector and its marginals are probability vectors.

Proof

1.1F1F3F5algebra

Fix z with pZ(z)>0. By [F5], pXY∣z and its marginals are pmfs. If pXY∣z(x,y)>0, then both marginals are positive at x,y. Expanding [F1] and collecting terms using [F3] gives D(pXY∣z∥pX∣z⊗pY∣z)=H(pX∣z)+H(pY∣z)−H(pXY∣z); zero coordinates contribute 0, so no logarithm of zero is taken.

2.1F1F2F4step 1.1algebra∎

Multiply the identity in step 1.1 by pZ(z) and sum over positive-mass z. By [F1] and [F2], this gives the stated entropy identity. Each conditional KL is nonnegative by [F4], and every weight in the sum is positive. Hence the total is zero exactly when each conditional KL is zero, which by [F4] is exactly pXY∣z=pX∣z⊗pY∣z for every positive-mass z.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite entropy and mutual-information chain rules

Statement

For finite X,Y,Z with a joint pmf,

H(X,Y∣Z)=H(X∣Z)+H(Y∣X,Z),

and

I(X;Y,Z)=I(X;Z)+I(X;Y∣Z).

In particular, I(X;Y)=H(X)−H(X∣Y)=H(Y)−H(Y∣X). All terms are finite.

Facts & Assumptions

Given: A joint probability vector pXYZ on finite alphabets.

[F1]

Finite conditional entropy: H(U∣V)=∑v:pV(v)>0pV(v)H(pU∣v), with zero-mass conditioning values omitted.

[F2]

Finite mutual information: I(U;V)=∑pUV(u,v)>0pUV(u,v)ln⁡[pUV(u,v)/(pU(u)pV(v))].

[F3]

Finite conditional mutual information identities and equality: I(X;Y∣Z)=H(X∣Z)+H(Y∣Z)−H(X,Y∣Z).

[F4]

Marginals and positive-mass conditionals of a finite joint law are probability vectors: conditional pmfs are formed by division by positive marginal mass and are probability vectors.

[F5]

Finite distributions, entropy, divergence, and stochastic matrices: H(p)=−∑pi>0piln⁡pi, with 0ln⁡0=0.

[F6]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: for positive x,y, ln⁡(xy)=ln⁡x+ln⁡y and ln⁡(x/y)=ln⁡x−ln⁡y.

Proof

1.1F1F4F5F6givenalgebra

Fix z with pZ(z)>0 and write qxy=pXY∣z(x,y), qx=∑yqxy; for qx>0 define qy∣x=qxy/qx. By [F4], these are pmfs and qxy=qxqy∣x on positive support. On that support both factors are positive, so the product law [F6] gives −∑qxy>0qxyln⁡qxy=−∑qx>0∑y:qy∣x>0qxqy∣x(ln⁡qx+ln⁡qy∣x). For every qx>0, ∑y:qy∣x>0qy∣x=1. Thus the terms involving ln⁡qx sum to −∑qx>0qxln⁡qx, and the remaining terms are ∑qx>0qx(−∑qy∣x>0qy∣xln⁡qy∣x), exactly H(qX)+∑xqxH(qY∣x) by [F5]. Weighting this equality by pZ(z) and summing over positive-mass z using [F1] proves H(X,Y∣Z)=H(X∣Z)+H(Y∣X,Z). Zero atoms are omitted from the displayed logarithmic sums.

1.2F1F2F4F5F6algebra

Every positive joint atom has positive marginals by [F4]; applying the quotient and product laws [F6] to [F2] gives I(U;V)=∑puv>0puv(ln⁡puv−ln⁡pU(u)−ln⁡pV(v)). Grouping the finite sums by u,v, using [F4] to know the marginals, and applying [F5] yields I(U;V)=H(U)+H(V)−H(U,V). Also, [F1] and pU∣v=pUV/pV on positive support give H(U∣V)=−∑puv>0puvln⁡(puv/pV(v))=H(U,V)−H(V). Thus I(U;V)=H(U)−H(U∣V), and exchanging U,V gives the other form. All sums are finite.

2.1F1F2F3step 1.1step 1.2algebra∎

Apply step 1.1 and [F3] to get I(X;Y∣Z)=H(Y∣Z)−H(Y∣X,Z). By step 1.2, H(Y,Z)=H(Z)+H(Y∣Z) and H(X,Y,Z)=H(Z)+H(X,Y∣Z)=H(X,Z)+H(Y∣X,Z). Therefore I(X;Y,Z)=H(X)+H(Y,Z)−H(X,Y,Z)=I(X;Z)+I(X;Y∣Z). Every entropy is a finite sum, so no extended-real subtraction occurs.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Data processing for a finite Markov chain, with equality condition

Statement

Let X,Y,Z have a joint pmf on finite alphabets and suppose that, for every y with pY(y)>0,

pXZ∣y(x,z)=pX∣y(x)pZ∣y(z).

This is the finite Markov condition X→Y→Z. Then

I(X;Z)≤I(X;Y),

with equality if and only if I(X;Y∣Z)=0, equivalently X and Y are conditionally independent given every positive-mass value of Z.

Facts & Assumptions

Given: A finite joint pmf pXYZ satisfying the stated Markov factorization.

[F1]

Finite entropy and mutual-information chain rules: I(X;Y,Z)=I(X;Y)+I(X;Z∣Y)=I(X;Z)+I(X;Y∣Z).

[F2]

Finite conditional mutual information identities and equality: finite CMI is nonnegative and vanishes exactly at conditional independence on each positive-mass conditioning value.

Proof

1.1givenF2algebra

For each y with pY(y)>0, the hypothesis makes pXZ∣y=pX∣y⊗pZ∣y. The corresponding conditional KL term in the definition of I(X;Z∣Y) is therefore D(pXZ∣y∥pX∣y⊗pZ∣y)=0, so the finite weighted sum gives I(X;Z∣Y)=0.

2.1F1F2step 1.1algebra∎

Equating the two expansions in [F1] and using step 1.1 gives I(X;Y)−I(X;Z)=I(X;Y∣Z). This is nonnegative by [F2], proving data processing. The difference vanishes exactly when I(X;Y∣Z)=0, and [F2] identifies that equality case with conditional independence of X,Y given each positive-mass z.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite-alphabet Fano inequality

Statement

Let X take values in an alphabet X of size m≥2, let Y be finite, and let X^ be an estimator in the same alphabet generated from Y, so the joint pmf factors as pXYX^=pXYpX^∣Y. Put Pe=P[X^≠X] and define

h2(t):=−tln⁡t−(1−t)ln⁡(1−t),0ln⁡0:=0.

Then

H(X∣Y)≤h2(Pe)+Peln⁡(m−1)≤ln⁡2+Peln⁡m.

For m=1, X is constant and H(X∣Y)=0.

Facts & Assumptions

Given: A finite joint pmf of X,Y,X^ with pXYX^=pXYpX^∣Y and ∣X∣=m≥1.

[F1]

Data processing for a finite Markov chain, with equality condition: if X→Y→X^, then I(X;X^)≤I(X;Y).

[F2]

Finite entropy and mutual-information chain rules: I(X;Y)=H(X)−H(X∣Y) and finite conditional entropy obeys the chain rule.

[F3]

Finite KL divergence is nonnegative with equality exactly at equal laws: finite KL divergence is nonnegative, with equality iff its two probability vectors agree.

[F5]

Finite distributions, entropy, divergence, and stochastic matrices: H(r)=−∑ri>0riln⁡ri, with 0ln⁡0=0.

Proof

1.1givenF1F2F5algebracases

If m=1, then X is constant and H(X∣Y)=0. Hence assume m≥2. The factorization in the hypotheses is the Markov condition X→Y→X^. By [F1], I(X;X^)≤I(X;Y); subtracting from the finite value H(X) and using [F2] gives H(X∣Y)≤H(X∣X^).

1.2F2F5givenalgebra

Set E=1{X≠X^}. Since E is determined by (X,X^), [F2] gives H(X∣X^)=H(E∣X^)+H(X∣E,X^). The law of E is Bernoulli with mass Pe at 1, so [F5] gives H(E)=h2(Pe).

2.1F2F3step 1.2algebra

The finite MI identity in [F2] gives H(E)−H(E∣X^)=I(E;X^). By [F3], this MI, which is KL between the joint law and product marginals, is nonnegative. Thus H(E∣X^)≤h2(Pe).

2.2F3step 1.2givenalgebra

On E=0, X=X^, so the conditional entropy of X given (E,X^) is zero. On E=1 and a fixed value of X^, at most m−1 values of X remain. For any pmf r on at most k=m−1 points, pad by zeros to a k-vector and compare with the uniform vector uk: [F3] gives 0≤D(r∥uk)=ln⁡k−H(r), so H(r)≤ln⁡(m−1). Averaging these conditional entropies yields H(X∣E,X^)≤Peln⁡(m−1).

3.1step 1.1step 1.2step 2.1step 2.2algebra

Combining steps 1.2, 2.1, and 2.2 gives H(X∣X^)≤h2(Pe)+Peln⁡(m−1); step 1.1 then gives the stated sharp bound.

4.1F3F4F5givenstep 3.1algebra∎

Since D((Pe,1−Pe)∥(1/2,1/2))=ln⁡2−h2(Pe)≥0 by [F3], h2(Pe)≤ln⁡2. Also m−1≤m and [F4] makes ln⁡(m−1)≤ln⁡m, so step 3.1 implies the weaker bound. If Pe=0 or 1, zero-probability conditional branches above are omitted and h2(Pe)=0 by convention.

CorollaryStatement: AI-adaptedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Fano bound for erasure and out-of-alphabet estimates

Statement

Let X have a finite alphabet X of size m≥1, let Y be finite, and let X^ be any finite estimate output generated from Y, with an output alphabet that may contain symbols outside X. Assume X→Y→X^, and set Pe=P[X^≠X]. Use h2 as defined in Finite-alphabet Fano inequality. Then

H(X∣Y)≤h2(Pe)+Peln⁡m.

If X is uniform on X, then

(1−Pe)ln⁡m≤I(X;Y)+h2(Pe).

Facts & Assumptions

Given: A finite joint pmf with pXYX^=pXYpX^∣Y, finite X of size m≥1, and an arbitrary finite estimate alphabet.

[F1]

Finite-alphabet Fano inequality: h2(t)=−tln⁡t−(1−t)ln⁡(1−t) with 0ln⁡0=0.

[F2]

Data processing for a finite Markov chain, with equality condition: for X→Y→X^, I(X;X^)≤I(X;Y).

[F3]

Finite entropy and mutual-information chain rules: I(X;Y)=H(X)−H(X∣Y) and finite conditional entropy satisfies the chain rule.

[F5]

Finite mutual information: I(X;Y)=D(pXY∥pX⊗pY).

[F6]

Finite distributions, entropy, divergence, and stochastic matrices: H(p)=−∑pi>0piln⁡pi.

Proof

1.1givenF2F3F5F7casesalgebra

If m=1, then X is constant, so H(X∣Y)=0 and I(X;Y)=0 because pXY=pX⊗pY; also h2(Pe)≥0 since ln⁡t≤0 for 0<t≤1 by [F7], with the zero term set to 0. Thus both claims hold. Assume m≥2 below. From [F2] and [F3], H(X∣Y)≤H(X∣X^).

1.2F1F3F4F5F6givenalgebra

Define E=1{X≠X^}. It is determined by (X,X^), so [F3]'s entropy chain rule gives H(X∣X^)=H(E∣X^)+H(X∣E,X^). Also H(E)=h2(Pe) by [F1] and [F6]. The finite MI identity [F3] gives H(E∣X^)=H(E)−I(E;X^), and [F4]–[F5] make this MI nonnegative, so H(E∣X^)≤h2(Pe).

2.1F4F6step 1.2givenalgebra

On E=0, X=X^ and the conditional entropy is zero. On E=1, for each fixed estimator output the message X has at most m possible values. Any pmf r on at most m points has H(r)≤ln⁡m: pad it by zeros to m coordinates and compare with the uniform pmf um; [F4] gives 0≤D(r∥um)=ln⁡m−H(r) by [F6]. Averaging the two branches yields H(X∣E,X^)≤Peln⁡m.

3.1F1F3F6step 1.1step 1.2step 2.1algebra∎

Combining steps 1.1, 1.2, and 2.1 proves H(X∣Y)≤h2(Pe)+Peln⁡m. For uniform X, [F6] gives H(X)=ln⁡m; subtracting the conditional-entropy bound from H(X) and using [F3] gives (1−Pe)ln⁡m≤I(X;Y)+h2(Pe). The formulas remain valid for Pe=0 or 1 because zero-probability branches are omitted and [F1] fixes the endpoints of h2.

5 · Examples, counterexamples and false statements

None yet.

Sources