Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Edmundson–Madansky upper bound for a random vector with independent components on a box

Proved
NumStochOpt.Bounds.edmundson_madansky_independent_components

by mikedeng1 · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

boundsedmundson-madanskyp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1stochastic-programming

Let ξ=(ξ1,…,ξm)\xi=(\xi_1,\dots,\xi_m)ξ=(ξ1​,…,ξm​) be a random vector on a probability space (Ω,P)(\Omega,P)(Ω,P) whose components are independent, with ξj∈[aj,bj]\xi_j\in[a_j,b_j]ξj​∈[aj​,bj​] almost surely, aj<bja_j<b_jaj​<bj​, and expectations ξj0=Eξj\xi^0_j=E\xi_jξj0​=Eξj​. Let ξ^\hat\xiξ^​ be the discrete random vector with independent components ξ^j\hat\xi_jξ^​j​ distributed on {aj,bj}\{a_j,b_j\}{aj​,bj​} according to (2.32):

P{ξ^j=aj}=bj−ξj0bj−aj,P{ξ^j=bj}=ξj0−ajbj−aj.P\{\hat\xi_j=a_j\}=\frac{b_j-\xi^0_j}{b_j-a_j},\qquad P\{\hat\xi_j=b_j\}=\frac{\xi^0_j-a_j}{b_j-a_j}.P{ξ^​j​=aj​}=bj​−aj​bj​−ξj0​​,P{ξ^​j​=bj​}=bj​−aj​ξj0​−aj​​.

ξ^\hat\xiξ^​ takes values only at the 2m2^m2m vertices of the rectangle Ξ=×j=1m[aj,bj]\Xi=\times_{j=1}^m[a_j,b_j]Ξ=×j=1m​[aj​,bj​]. If φ\varphiφ is convex on Ξ\XiΞ, then

Eφ(ξ)  ≤  Eφ(ξ^)=∑v(∏j=1mpj(vj))φ(v),E\varphi(\xi)\;\le\;E\varphi(\hat\xi)=\sum_{v}\Big(\prod_{j=1}^m p_j(v_j)\Big)\varphi(v),Eφ(ξ)≤Eφ(ξ^​)=v∑​(j=1∏m​pj​(vj​))φ(v),

the sum over the vertices v=(v1,…,vm)v=(v_1,\dots,v_m)v=(v1​,…,vm​) of Ξ\XiΞ, where pj(aj)p_j(a_j)pj​(aj​) and pj(bj)p_j(b_j)pj​(bj​) are the two probabilities above.

With φ=Q(x,⋅)\varphi=Q(x,\cdot)φ=Q(x,⋅), convex in (h,T)(h,T)(h,T) by property (b), this is the multivariate form of the upper bound (2.33) on the expected recourse cost, and applied blockwise it gives the partitioned bound (2.37).

Formalization Note The book states the result for φ=Q(x,⋅)\varphi=Q(x,\cdot)φ=Q(x,⋅); it is stated here for any function convex on the box, with the explicit vertex weights instead of a random vector ξ^\hat\xiξ^​. Independence of the components is essential: for dependent components with the same means the inequality fails in general. The components are indexed by a finite type; aj<bja_j<b_jaj​<bj​ excludes the division by zero in (2.32).

Preamble
import Mathlib
import Definitions.Def_NumStochOpt_Bounds_EdmundsonMadansky

open MeasureTheory
Formal statement
namespace NumStochOpt.Bounds

/-- The Edmundson–Madansky bound for independent components, p. 46 (with (2.32)–(2.33)). Let
`ξ = (ξ_j)_{j ∈ ι}` have independent components, `ξ_j ∈ [a_j, b_j]` almost surely with
`a_j < b_j`, and means `ξ⁰_j = E ξ_j`. If `φ` is convex on the box `Ξ = ×_j [a_j, b_j]`, then
`E φ(ξ) ≤ Σ_v (∏_j p_j(v_j)) φ(v)`, the sum over the vertices `v` of `Ξ`, where `p_j(a_j) =
(b_j − ξ⁰_j)/(b_j − a_j)` and `p_j(b_j) = (ξ⁰_j − a_j)/(b_j − a_j)`. -/
theorem edmundson_madansky_independent_components {Ω ι : Type*} [MeasurableSpace Ω]
    [Fintype ι] [DecidableEq ι] (P : Measure Ω) [IsProbabilityMeasure P] (ξ : Ω → ι → ℝ)
    (hmeas : ∀ j, AEMeasurable (fun ω => ξ ω j) P)
    (hind : ProbabilityTheory.iIndepFun (fun j ω => ξ ω j) P)
    (a b : ι → ℝ) (hab : ∀ j, a j < b j)
    (hsupp : ∀ᵐ ω ∂P, ∀ j, ξ ω j ∈ Set.Icc (a j) (b j))
    (φ : (ι → ℝ) → ℝ) (hφ : ConvexOn ℝ (Set.pi Set.univ fun j => Set.Icc (a j) (b j)) φ) :
    ∫ ω, φ (ξ ω) ∂P ≤ emUpperBound a b (fun j => ∫ ω, ξ ω j ∂P) φ := by sorry

end NumStochOpt.Bounds
Source
P. Kall, A. Ruszczyński, K. Frauendorfer, "Approximation Techniques in Stochastic Programming", in Ermoliev & Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer 1988, Ch. 2, p. 46, Edmundson-Madansky inequality for independent components (with (2.32)-(2.33))
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by iris · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me