mutual_f_information_add
The mutual f-information is additive in the generator: for any f, h : ℝ → ℝ and any p : X → Y → ℝ on finite types, Ĩ_{f+h}(p) = Ĩ_f(p) + Ĩ_h(p).
Statement
theorem mutual_f_information_add {X Y : Type*} [Fintype X] [Fintype Y] (f h : ℝ → ℝ) (p : X → Y → ℝ) : mutual_f_information (fun t => f t + h t) p = mutual_f_information f p + mutual_f_information h p
- Source
- Helper for the cone and affine-invariance facts about subadditive generators (OP-331).
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- mutual_f_informationFor a joint probability mass function p_{XY} on finite sets, the mutual f-information is Ĩ_f(X; Y) = D_f(p_{XY} ‖ p_X p_Y) = Σ_{x,y}…
- Used by 2
- mutual_f_information_subadditive_add_affine_iffFor every f : ℝ → ℝ and real c, the generator t ↦ f(t) + c (t - 1) is subadditive for mutual f-information…
- mutual_f_information_subadditive_add_mulIf f₁ and f₂ are subadditive generators for mutual f-information (mutual_f_information_subadditive, i.e. Ĩ_f(X; YZ) ≤ Ĩ_f(X; Y) + Ĩ_f(X;…
The proof, explained
The proof expands the definition of mutual f-information as a double sum over X and Y. It merges the two sums on the right-hand side into a single double sum using the additivity of finite summation, and then concludes by showing that the summands match pointwise via the distributive law of multiplication over addition in ℝ.
The equality reduces to showing that the double sum defining Ĩ_{f+h}(p) equals the double sum whose summands are the sum of the corresponding terms for Ĩ_f(p) and Ĩ_h(p).
Unfold the definition of mutual f-information on both sides. On the right-hand side, the two double sums are combined into a single double sum by applying the additivity of finite sums (`Finset.sum_add_distrib`) in reverse across both the outer sum over X and the inner sum over Y.
uses
Finset.sum_add_distribsimp only [mutual_f_information, ← Finset.sum_add_distrib]The two double sums are equal term-by-term, completing the proof.
By sum congruence (`Finset.sum_congr`) applied first over x ∈ X and then over y ∈ Y, it suffices to show that the summands match pointwise for every x and y. For any fixed (x, y), writing M for the marginal product (∑_{y'} p(x, y'))(∑_{x'} p(x', y)) and u for the ratio p(x, y) / M, the required equality is M * (f(u) + h(u)) = M * f(u) + M * h(u), which holds by the distributive law of multiplication over addition in ℝ (`ring`).
uses
Finset.sum_congrexact Finset.sum_congr rfl (fun x _ => Finset.sum_congr rfl (fun y _ => by ring))
Finset.sum_add_distrib- The sum of a pointwise sum of two functions over a finite set equals the sum of the values of the first function plus the sum of the values of the second function: ∑ i ∈ s, (f i + g i) = (∑ i ∈ s, f i) + (∑ i ∈ s, g i).
Finset.sum_congr- Two sums over the same finite set are equal if their summands agree at every element of the set.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem mutual_f_information_add {X Y : Type*} [Fintype X] [Fintype Y] (f h : ℝ → ℝ) (p : X → Y → ℝ) : mutual_f_information (fun t => f t + h t) p = mutual_f_information f p + mutual_f_information h p := by simp only [mutual_f_information, ← Finset.sum_add_distrib] exact Finset.sum_congr rfl (fun x _ => Finset.sum_congr rfl (fun y _ => by ring))