Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property (e) — the expected recourse function is finite and convex

Proved
NumStochOpt.Bounds.property_e_expected_recourse_finite_convex

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

convexityp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1stochastic-programmingtwo-stage-recourse

Let WWW have complete recourse, let (Ω,P)(\Omega,P)(Ω,P) be a probability space and let ξ(ω)=(q(ω),h(ω),T(ω))\xi(\omega)=(q(\omega),h(\omega),T(\omega))ξ(ω)=(q(ω),h(ω),T(ω)) be random data whose every component has a finite second moment. Assume that q(ω)q(\omega)q(ω) is dual feasible for every ω\omegaω (some uuu with WTu≤q(ω)W^Tu\le q(\omega)WTu≤q(ω)). Then:

  1. Q(x,ξ(ω))Q(x,\xi(\omega))Q(x,ξ(ω)) is finite for every xxx and every ω\omegaω;
  2. ω↦Q(x,ξ(ω))\omega\mapsto Q(x,\xi(\omega))ω↦Q(x,ξ(ω)) is integrable for every xxx;
  3. the expected recourse function
Q(x)=∫ΩQ(x,ξ(ω)) P(dω)\mathcal Q(x)=\int_\Omega Q(x,\xi(\omega))\,P(d\omega)Q(x)=∫Ω​Q(x,ξ(ω))P(dω)

is convex on Rn1\mathbb R^{n_1}Rn1​.

Together with properties (a)–(d) this makes the two-stage problem (2.11) a finite convex program over the first-stage feasible set.

Formalization Note The book writes QQQ for both Q(x,ξ)Q(x,\xi)Q(x,ξ) and Q(x)\mathcal Q(x)Q(x); in Lean they are recourseCost and expectedRecourse. The book states convexity "in KKK"; under the standing complete-recourse assumption K=K1K=K_1K=K1​, and the statement is made on all of Rn1\mathbb R^{n_1}Rn1​. The book's hypothesis of finite second moments is kept as stated (componentwise), although first moments would suffice.

Preamble
import Mathlib
import Definitions.Def_NumStochOpt_Bounds_RecourseCost

open MeasureTheory Matrix
Formal statement
namespace NumStochOpt.Bounds

/-- Property (e), p. 40: with complete recourse, `q(ω)` dual feasible for every `ω`, and random
data `ξ(ω) = (q(ω), h(ω), T(ω))` with finite second moments, the recourse cost is finite, its
expectation exists, and the expected recourse function `Q(x) = ∫ Q(x, ξ(ω)) P(dω)` is convex. -/
theorem property_e_expected_recourse_finite_convex {Ω ι κ ν : Type*} [MeasurableSpace Ω]
    [Fintype ι] [Fintype κ] [Fintype ν] (P : Measure Ω) [IsProbabilityMeasure P]
    (W : Matrix ι κ ℝ) (hW : CompleteRecourse W)
    (q : Ω → κ → ℝ) (h : Ω → ι → ℝ) (T : Ω → Matrix ι ν ℝ)
    (hq2 : ∀ k, MemLp (fun ω => q ω k) 2 P) (hh2 : ∀ i, MemLp (fun ω => h ω i) 2 P)
    (hT2 : ∀ i j, MemLp (fun ω => T ω i j) 2 P)
    (hdual : ∀ ω, DualFeasible W (q ω)) :
    (∀ (x : ν → ℝ) (ω : Ω), recourseCost W (q ω) (h ω) (T ω) x ≠ ⊤ ∧
        recourseCost W (q ω) (h ω) (T ω) x ≠ ⊥) ∧
      (∀ x : ν → ℝ, Integrable (fun ω => (recourseCost W (q ω) (h ω) (T ω) x).toReal) P) ∧
      ConvexOn ℝ Set.univ (expectedRecourse P W q h T) := 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. 40, property (e) (standing assumptions pp. 39-40)
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).

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