Appendix A.1, Property (2): chain rule for mutual information
ProvedGoodViews.mutualInfo_chain_ruleLet be finitely-valued random variables on a finite probability space. Then
where is the joint random variable.
This is property (2), the chain rule, of the paper's recap of mutual information (Appendix A.1), used in the proofs of Propositions A.1-A.3.
import Mathlib import Definitions.Def_GoodViews_Basic open Finset
namespace GoodViews
theorem mutualInfo_chain_rule {S α β γ : Type} [Fintype S] [Fintype α] [Fintype β]
[Fintype γ] (P : S → ℝ) (hP : IsPMF P) (A : S → α) (B : S → β) (C : S → γ) :
mutualInfo P A (fun ω => (B ω, C ω)) = mutualInfo P A B + condMutualInfo P A C B := by sorry
end GoodViewsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite sample space, and let be a function assumed to be a probability mass function on . That is:
This is the only hypothesis. It forces to be nonempty.
Let be arbitrary finite types. Let , and be arbitrary functions, viewed as random variables. No independence, measurability or other condition is imposed on them.
Definitions used. For a random variable with finite codomain:
- Its law is
- Its entropy (natural logarithm, with the convention ) is
- Joint entropies such as are the entropy of the single random variable . Its values are pairs, and the sum runs over the full finite product type.
- The mutual information is defined as
- The conditional mutual information is defined as
Here denotes the nested pair .
Claim. The theorem asserts the following identity of real numbers:
Here is the pair-valued random variable .
Unfolded form. Written out in entropies, the left side is:
The right side is:
Note that the left side involves the pairs and . The conditional term on the right uses the orderings and instead.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.