Documentation

CslibFrontier.Probability.Entropy.Continuity

Continuity of conditional entropy #

Conditional entropy and conditional mutual information are uniformly continuous in statistical distance, with a modulus that does not depend on the alphabet of the observation. For joint laws P and Q of an observation Y and a hidden value X : α with dist P Q ≤ ε, |H(X | Y)_P - H(X | Y)_Q| ≤ ε log₂ |α| + (1 + ε) h₂(ε / (1 + ε)), where h₂ is the binary entropy in bits. This is the classical case of the Alicki–Fannes–Winter bound in the form of Winter [Win16]. Bounds of this kind move entropy estimates between statistically close real and simulated views, as in information-theoretic lower bounds for garbled circuits [JRR25].

The proof is Winter's. Write P + d Δ⁻ = Q + d Δ⁺ with d = dist P Q, where Δ⁺ and Δ⁻ are the normalized positive and negative parts of P - Q, and compare both sides through the mixture that tosses a coin with bias d / (1 + d). Conditional entropy is concave (sum_mul_conditionalEntropy_le_conditionalEntropy_bind) and fails to be convex by at most the entropy of the coin (conditionalEntropy_bind_le); the coin contributes the modulus.

Main definitions #

Main results #

References #

Mixtures #

theorem Cslib.Probability.PMF.sum_mul_conditionalEntropy_le_conditionalEntropy_bind {ι : Type u_1} {α : Type u_3} {β : Type u_4} [Fintype ι] [Finite β] [Finite α] (p : PMF ι) (R : ι → PMF (β × α)) :
∑ i : ι, (p i).toReal * conditionalEntropy (R i) ≤ conditionalEntropy (p.bind R)

Concavity of conditional entropy: the conditional entropy of a mixture of joint laws is at least the average conditional entropy of its components.

theorem Cslib.Probability.PMF.conditionalEntropy_bind_le {ι : Type u_1} {α : Type u_3} {β : Type u_4} [Fintype ι] [Finite β] [Finite α] (p : PMF ι) (R : ι → PMF (β × α)) :
conditionalEntropy (p.bind R) ≤ ∑ i : ι, (p i).toReal * conditionalEntropy (R i) + entropy p

A mixture of joint laws has at most the average conditional entropy of its components plus the entropy of the mixing law.

The modulus #

The modulus (1 + ε) h₂(ε / (1 + ε)) of the continuity bound, in bits. It equals (1 + ε) log₂ (1 + ε) - ε log₂ ε for ε > 0.

Winter's coupling #

Continuity #

theorem Cslib.Probability.PMF.abs_conditionalEntropy_sub_le {α : Type u_3} {β : Type u_4} [Fintype β] [Fintype α] {P Q : PMF (β × α)} {ε : ℝ} (h : dist P Q ≤ ε) :

Continuity of conditional entropy [Win16]: for joint laws P and Q of an observation and a hidden value X : α with dist P Q ≤ ε, |H(X | Y)_P - H(X | Y)_Q| ≤ ε log₂ |α| + (1 + ε) h₂(ε / (1 + ε)). The bound does not depend on the observation's alphabet.

theorem Cslib.Probability.PMF.sub_le_conditionalEntropy_of_dist_le {α : Type u_3} {β : Type u_4} [Fintype β] [Fintype α] {P Q : PMF (β × α)} {ε t : ℝ} (hdist : dist P Q ≤ ε) (ht : t ≤ conditionalEntropy Q) :

Transfer of a lower bound on conditional entropy to a law at statistical distance at most ε: if t ≤ H(X | Y)_Q and dist P Q ≤ ε, then t - ε log₂ |α| - (1 + ε) h₂(ε / (1 + ε)) ≤ H(X | Y)_P.

theorem Cslib.Probability.PMF.abs_condMutualInfo_sub_le {α : Type u_3} {β : Type u_4} {γ : Type u_5} [Fintype γ] [Fintype α] [Fintype β] {P Q : PMF (γ × α × β)} {ε : ℝ} (h : dist P Q ≤ ε) :

Continuity of conditional mutual information: for joint laws P and Q of (C, A, B) with dist P Q ≤ ε, |I(A; B | C)_P - I(A; B | C)_Q| ≤ ε log₂ |A| + 2 (1 + ε) h₂(ε / (1 + ε)).