AFTD Auto-Formalizing Theoretical Domains

mutual_f_information_const_mul

theoremverified

The mutual f-information is homogeneous in the generator: for any real a, f : ℝ → ℝ and p : X → Y → ℝ on finite types, Ĩ_{a f}(p) = a Ĩ_f(p).

Statement

theorem mutual_f_information_const_mul {X Y : Type*} [Fintype X] [Fintype Y] (a : ℝ) (f : ℝ → ℝ)
    (p : X → Y → ℝ) :
    mutual_f_information (fun t => a * f t) p = a * mutual_f_information f 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 1

The proof, explained

The theorem states that scaling the generator function $f$ by a real scalar $a$ scales the mutual $f$-information by $a$. Unfolding the definition expresses both sides as double sums over $X$ and $Y$. Distributing $a$ across the sums reduces the claim to showing that the corresponding summands are equal, which follows from the associativity and commutativity of real multiplication.

  1. Unfolding the definition and distributing the scalar factor $a$ into the double sum reduces the goal to an equality between two double sums.

    Unfolding `mutual_f_information` replaces both sides with double sums over the finite types $X$ and $Y$. On the right-hand side, the scalar factor $a$ is pushed inside the sums using `Finset.mul_sum`, which distributes multiplication over finite sums.

    line 4

    uses Finset.mul_sum

      simp only [mutual_f_information, Finset.mul_sum]
  2. The two double sums are identical term by term.

    Using sum congruence (`Finset.sum_congr`) on the outer sum over $X$ and then on the inner sum over $Y$, it suffices to verify that the summands match for each $(x, y) \in X \times Y$. For fixed $x$ and $y$, letting $M = \sum_{x'} (\sum_{y'} p(x, y')) p(x', y)$ and $T = f(p(x, y) / M)$, the left summand is $M \cdot (a \cdot T)$ and the right summand is $a \cdot (M \cdot T)$. Ring arithmetic (`ring`) closes the goal because multiplication in $\mathbb{R}$ is associative and commutative.

    line 5

    uses Finset.sum_congr

      exact Finset.sum_congr rfl (fun x _ => Finset.sum_congr rfl (fun y _ => by ring))
Finset.mul_sum
Multiplication by a scalar distributes over a finite sum: $a \sum_{i \in s} f(i) = \sum_{i \in s} a f(i)$.
Finset.sum_congr
Two finite sums over the same index set are equal if their summands agree at every element.

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

theorem mutual_f_information_const_mul {X Y : Type*} [Fintype X] [Fintype Y] (a : ℝ) (f : ℝ → ℝ)    (p : X → Y → ℝ) :    mutual_f_information (fun t => a * f t) p = a * mutual_f_information f p := by  simp only [mutual_f_information, Finset.mul_sum]  exact Finset.sum_congr rfl (fun x _ => Finset.sum_congr rfl (fun y _ => by ring))
See it in the graphDiscuss this resultChallenge it