Positive combinations (Lemma 4.2.1(b))
ProvedBertsekasDP.kconvex_combinationLemma 4.2.1(b). Let be -convex and be -convex, with and . Then for all scalars and the positive combination is -convex:
So the class of -convex functions is closed under positive linear combinations, with the constants combining by the very same combination. This is what makes -convexity usable inside a dynamic programming recursion, where each stage forms sums of a current cost and a discounted or weighted cost-to-go: the fixed-cost parameter propagates linearly rather than degrading uncontrollably.
Formalization Note The coefficients are only required to be strictly positive; they need not sum to , so the statement covers arbitrary positive combinations, not merely convex ones.
import Mathlib import Definitions.Def_BertsekasKConvex
namespace BertsekasDP
theorem kconvex_combination (K L α ρ : ℝ) (g₁ g₂ : ℝ → ℝ)
(hK : 0 ≤ K) (hL : 0 ≤ L) (hα : 0 < α) (hρ : 0 < ρ)
(h₁ : BertsekasKConvex K g₁) (h₂ : BertsekasKConvex L g₂) :
BertsekasKConvex (α * K + ρ * L) (fun y => α * g₁ y + ρ * g₂ y) := by sorry
end BertsekasDPRead-back
What the Lean code literally says, in plain math · claude-fable-5
Let be real numbers and functions. Assume: ; ; ; ; satisfies the bundle's -convexity property (for all , , : ); and satisfies the same property with constant . The conclusion is that the function satisfies the bundle's property with constant , i.e. for all , , :
The coefficients are only required to be strictly positive; they are not required to sum to , so this covers arbitrary positive linear combinations, not only convex combinations.
Confirmed by the mission captain (proposal self-audit).