Documentation

CslibFrontier.Probability.MutualInformation.DirectSum

Direct Sum for Mutual Information and Binary Statistical Distance Bound #

This module establishes two finite information-theoretic inequalities for discrete probability distributions (PMF):

  1. Direct sum for mutual information: if (W₁, …, Wₙ) follows an independent product distribution PMF.pi p, then the mutual information with any correlated variable T satisfies ∑ i, I(W i; T) ≤ I(W; T).
  2. Binary mutual information vs. statistical distance: for a uniform bit B indexing two output distributions P₀, P₁, the mutual information between B and the channel output T satisfies dist(P₀, P₁)² / 2 ≤ I(B; T).

Main results #

theorem Cslib.Probability.MutualInformation.condMutualInfo_eq_sum_mutualInfo {Ω : Type u_1} {α : Type u_2} {β : Type u_3} {γ : Type u_4} [Fintype γ] [Finite α] [Finite β] (ν : PMF Ω) (C : Ω → γ) (A : Ω → α) (B : Ω → β) :
PMF.condMutualInfo (PMF.map (fun (ω : Ω) => (C ω, A ω, B ω)) ν) = ∑ c : γ, ((PMF.map C ν) c).toReal * PMF.mutualInfo (PMF.map (fun (ω : Ω) => (A ω, B ω)) (PMF.conditionalSnd (PMF.map (fun (ω : Ω) => (C ω, ω)) ν) c))

Conditional mutual information I(A; B | C) equals the expectation over c ~ C of the mutual information of (A, B) conditioned on C = c.

theorem Cslib.Probability.MutualInformation.mutualInfo_add_le_of_indep {Ω : Type u_1} {α : Type u_2} {β : Type u_3} {τ : Type u_5} [Finite α] [Finite β] [Finite τ] (ν : PMF Ω) (A : Ω → α) (B : Ω → β) (T : Ω → τ) (hind : PMF.mutualInfo (PMF.map (fun (ω : Ω) => (A ω, B ω)) ν) = 0) :
PMF.mutualInfo (PMF.map (fun (ω : Ω) => (A ω, T ω)) ν) + PMF.mutualInfo (PMF.map (fun (ω : Ω) => (B ω, T ω)) ν) ≤ PMF.mutualInfo (PMF.map (fun (ω : Ω) => ((A ω, B ω), T ω)) ν)

Superadditivity of mutual information for independent sources: if I(A; B) = 0, then I(A; T) + I(B; T) ≤ I((A, B); T).

theorem Cslib.Probability.MutualInformation.mutualInfo_pi_ge_sum {Ω : Type u_1} {τ : Type u_5} {n : ℕ} {δ : Fin n → Type u_6} [∀ (i : Fin n), Finite (δ i)] [Finite τ] (ν : PMF Ω) (W : Ω → (i : Fin n) → δ i) (T : Ω → τ) (p : (i : Fin n) → PMF (δ i)) (hW : PMF.map W ν = PMF.pi p) :
∑ i : Fin n, PMF.mutualInfo (PMF.map (fun (ω : Ω) => (W ω i, T ω)) ν) ≤ PMF.mutualInfo (PMF.map (fun (ω : Ω) => (W ω, T ω)) ν)

Direct sum for mutual information: if the law of W : Ω → ∀ i : Fin n, δ i is an independent product PMF.pi p, then ∑ i, I(W i; T) ≤ I(W; T).

theorem Cslib.Probability.MutualInformation.dist_sq_div_two_le_mutualInfo_bool {τ : Type u_5} [Fintype τ] (P₀ P₁ : PMF τ) :
dist P₀ P₁ ^ 2 / 2 ≤ PMF.mutualInfo ((PMF.uniformOfFintype Bool).bind fun (b : Bool) => PMF.map (fun (x : τ) => (b, x)) (if b = true then P₁ else P₀))

Binary mutual information vs. statistical distance: for a uniform bit B and output channel false ↦ P₀, true ↦ P₁, dist(P₀, P₁)² / 2 ≤ I(B; T).