AFTD Auto-Formalizing Theoretical Domains

mutual_f_information_subadditive_add_mul

theoremverifiedformalization

If f₁ and f₂ are subadditive generators for mutual f-information (mutual_f_information_subadditive, i.e. Ĩ_f(X; YZ) ≤ Ĩ_f(X; Y) + Ĩ_f(X; Z) for all finite Markov chains Y → X → Z) and a, b ≥ 0 are reals, then t ↦ a f₁(t) + b f₂(t) is a subadditive generator.

Statement

theorem mutual_f_information_subadditive_add_mul (f₁ f₂ : ℝ → ℝ) (a b : ℝ) (ha : 0 ≤ a)
    (hb : 0 ≤ b) (h₁ : mutual_f_information_subadditive f₁)
    (h₂ : mutual_f_information_subadditive f₂) :
    mutual_f_information_subadditive (fun t => a * f₁ t + b * f₂ t)
Formalizes
arXiv:2610.21231 (On the subadditivity of mutual f-information), Sec. II, the remark after Corollary 1 (nonnegative combinations of subadditive generators are subadditive).
Verified
19 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
  • mutual_f_information_subadditiveA function f is a subadditive generator for mutual f-information if for all finite random variables X, Y, Z forming a Markov chain Y -> X…
  • mutual_f_information_addThe 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) +…
  • 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}…
  • mutual_f_information_const_mulThe mutual f-information is homogeneous in the generator: for any real a, f : ℝ → ℝ and p : X → Y → ℝ on finite types, Ĩ_{a f}(p) = a…

Read back from the Lean

For any functions f₁, f₂ : ℝ → ℝ and any real numbers a, b : ℝ, if 0 ≤ a, 0 ≤ b, and both f₁ and f₂ satisfy mutual_f_information_subadditive, then their linear combination fun t => a * f₁ t + b * f₂ t also satisfies mutual_f_information_subadditive.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The theorem establishes that any non-negative linear combination of subadditive generators for mutual f-information is also a subadditive generator. The argument first proves that mutual f-information is linear in the generator function, decomposing Ĩ_{a f₁ + b f₂} into a Ĩ_{f₁} + b Ĩ_{f₂}. Multiplying the subadditivity inequalities for f₁ and f₂ by the non-negative weights a and b and summing the results directly proves the claim.

  1. Fix finite sets X, Y, Z, a probability distribution pX on X, and Markov transition kernels PY and PZ.

    Unfolding the definition of subadditivity (mutual_f_information_subadditive), we introduce arbitrary finite types X, Y, Z, a prior distribution pX on X satisfying pX ≥ 0 and ∑ pX = 1, and conditional distributions PY and PZ with non-negative entries summing to 1 on each row.

    line 5

      intro X Y Z _ _ _ pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1
  2. The subadditivity inequalities hold for both f₁ and f₂ on the given distributions.

    Applying the hypotheses h₁ and h₂ that f₁ and f₂ are subadditive generators to the distributions (pX, PY, PZ) produces the inequalities e₁ : Ĩ_{f₁}(X; YZ) ≤ Ĩ_{f₁}(X; Y) + Ĩ_{f₁}(X; Z) and e₂ : Ĩ_{f₂}(X; YZ) ≤ Ĩ_{f₂}(X; Y) + Ĩ_{f₂}(X; Z).

    lines 6–7

      have e₁ := h₁ X Y Z pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1
      have e₂ := h₂ X Y Z pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1
  3. Mutual f-information is linear in the generator function: Ĩ_{a f₁ + b f₂}(X; W) = a Ĩ_{f₁}(X; W) + b Ĩ_{f₂}(X; W) for any finite W and joint distribution kernel qq.

    For an arbitrary finite type W and joint distribution qq, we split the sum inside the generator using mutual_f_information_add and then pull out the scalar coefficients a and b using mutual_f_information_const_mul.

    lines 8–13

    uses mutual_f_information_add, mutual_f_information_const_mul

      have hlin : ∀ {WW : Type} [Fintype WW] (qq : X → WW → ℝ),
          mutual_f_information (fun t => a * f₁ t + b * f₂ t) qq =
            a * mutual_f_information f₁ qq + b * mutual_f_information f₂ qq := by
        intro WW _ qq
        rw [mutual_f_information_add (fun t => a * f₁ t) (fun t => b * f₂ t),
          mutual_f_information_const_mul, mutual_f_information_const_mul]
  4. The subadditivity goal for a f₁ + b f₂ is rewritten into linear combinations of mutual informations under f₁ and f₂.

    Rewriting with the linearity lemma hlin on the joint term (X; YZ) and the two marginal terms (X; Y) and (X; Z) replaces each occurrence of Ĩ_{a f₁ + b f₂} with a Ĩ_{f₁} + b Ĩ_{f₂}.

    line 14

      rw [hlin, hlin, hlin]
  5. The subadditivity inequality for a f₁ + b f₂ holds.

    Multiplying e₁ by a ≥ 0 and e₂ by b ≥ 0 (via mul_le_mul_of_nonneg_left) yields non-negative multiples of each inequality. Adding these two inequalities and regrouping terms completes the proof by linear arithmetic.

    line 15

    uses mul_le_mul_of_nonneg_left

      nlinarith [mul_le_mul_of_nonneg_left e₁ ha, mul_le_mul_of_nonneg_left e₂ hb]
mutual_f_information_add
The mutual f-information with respect to a sum of generator functions f + h is the sum of the mutual informations with respect to f and h.
mutual_f_information_const_mul
Multiplying a generator function f by a constant scalar c multiplies the mutual f-information by c.
mul_le_mul_of_nonneg_left
Multiplying both sides of an inequality b ≤ c on the left by a non-negative element a preserves the inequality: a * b ≤ a * c.

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_subadditive_add_mul (f₁ f₂ : ℝ → ℝ) (a b : ℝ) (ha : 0 ≤ a)    (hb : 0 ≤ b) (h₁ : mutual_f_information_subadditive f₁)    (h₂ : mutual_f_information_subadditive f₂) :    mutual_f_information_subadditive (fun t => a * f₁ t + b * f₂ t) := by  intro X Y Z _ _ _ pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1  have e₁ := h₁ X Y Z pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1  have e₂ := h₂ X Y Z pX PY PZ hX0 hX1 hY0 hY1 hZ0 hZ1  have hlin : ∀ {WW : Type} [Fintype WW] (qq : X → WW → ℝ),      mutual_f_information (fun t => a * f₁ t + b * f₂ t) qq =        a * mutual_f_information f₁ qq + b * mutual_f_information f₂ qq := by    intro WW _ qq    rw [mutual_f_information_add (fun t => a * f₁ t) (fun t => b * f₂ t),      mutual_f_information_const_mul, mutual_f_information_const_mul]  rw [hlin, hlin, hlin]  nlinarith [mul_le_mul_of_nonneg_left e₁ ha, mul_le_mul_of_nonneg_left e₂ hb]
See it in the graphDiscuss this resultChallenge it