Appendix A.1, Property (1): nonnegativity of mutual information
ProvedGoodViews.mutualInfo_nonnegLet be finitely-valued random variables on a finite probability space. Then
This is property (1) of the paper's recap of mutual information (Appendix A.1, citing Cover and Thomas), used throughout the proofs of Propositions A.1-A.3.
import Mathlib import Definitions.Def_GoodViews_Basic open Finset
namespace GoodViews
theorem mutualInfo_nonneg {S α β γ : Type} [Fintype S] [Fintype α] [Fintype β] [Fintype γ]
(P : S → ℝ) (hP : IsPMF P) (A : S → α) (B : S → β) (C : S → γ) :
0 ≤ mutualInfo P A B ∧ 0 ≤ condMutualInfo P A B C := by sorry
end GoodViewsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let , , , be arbitrary finite types. is the sample space, and are the value spaces of three random variables. Let be a function of probability weights, and assume it is a probability mass function (hypothesis ):
This hypothesis forces to be nonempty. Let , and be arbitrary functions, viewed as random variables on . No further conditions are placed on , , .
Definitions used. The law of a random variable (with finite) is
Its Shannon entropy uses the natural logarithm, with the convention :
Joint entropies such as or are the entropies of the paired or tripled random variables and .
The mutual information is defined as
The conditional mutual information is defined as
Assertion. Under these assumptions, both of the following hold:
The statement holds for every choice of finite value spaces and every choice of functions , , . This includes:
- constant random variables;
- value spaces containing values taken with probability zero;
- cases where , , coincide or are functions of one another.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.