Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 7.5 — Q(x,ξ)Q(x,\xi)Q(x,ξ) is convex polyhedral in xxx on K2K_2K2​, concave polyhedral in qqq, convex polyhedral in (p,T)(p,T)(p,T)

Proved
Wets1974.Stability.recourse_polyhedral

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

convex-analysisp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1recoursestochastic-programming

Consider the recourse function Q(x,ξ)=min⁡{q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0}Q(x,\xi)=\min\{q(\xi)y\mid Wy=p(\xi)-T(\xi)x,\ y\ge0\}Q(x,ξ)=min{q(ξ)y∣Wy=p(ξ)−T(ξ)x, y≥0} of a stochastic program with fixed recourse WWW, the support Ξ~\tilde\XiΞ~ of the law μ\muμ of ξ\xiξ, and the induced constraint set K2K_2K2​ (Corollary 4.5). Then:

  1. In xxx. For each ξ∈Ξ~\xi\in\tilde\Xiξ∈Ξ~, either x↦Q(x,ξ)x\mapsto Q(x,\xi)x↦Q(x,ξ) is a finite convex polyhedral function on K2K_2K2​ (a maximum of finitely many affine functions of xxx there), or Q(x,ξ)=−∞Q(x,\xi)=-\inftyQ(x,ξ)=−∞ for every x∈K2x\in K_2x∈K2​.
  2. In qqq. Fix xxx, ppp and TTT with p−Tx∈pos⁡Wp-Tx\in\operatorname{pos}Wp−Tx∈posW. Then q↦Qq\mapsto Qq↦Q is a finite concave polyhedral function (a minimum of finitely many affine functions of qqq) on
pos⁡(WT,−WT,I)={q∣q≥πW for some π∈Rmˉ},\operatorname{pos}(W^T,-W^T,I)=\{q \mid q\ge \pi W \text{ for some } \pi\in\mathbb R^{\bar m}\},pos(WT,−WT,I)={q∣q≥πW for some π∈Rmˉ},

the set of cost vectors for which the dual of the recourse problem is feasible (Corollary 7.4). 3. In (p,T)(p,T)(p,T). Fix qqq and xxx. On the set {(p,T)∣p−Tx∈pos⁡W}\{(p,T) \mid p-Tx\in\operatorname{pos}W\}{(p,T)∣p−Tx∈posW}, either (p,T)↦Q(p,T)\mapsto Q(p,T)↦Q is a finite convex polyhedral function (a maximum of finitely many affine functions of (p,T)(p,T)(p,T)), or it is identically −∞-\infty−∞.

Part 1 is what Theorem 7.6 uses to obtain the convexity of the expected recourse Q\mathcal QQ and its finite-or-−∞-\infty−∞ dichotomy; parts 2 and 3 describe the dependence on the random data.

Formalization Note In parts 2 and 3, QQQ is the platform's KallMayer.Recourse.PointwiseRecourse W T p q x evaluated at arbitrary data (q,p,T)(q,p,T)(q,p,T). Parts 1 and 3 are stated as the dichotomy of Corollary 7.3, which is what "polyhedral" means for a function that may take the value −∞-\infty−∞; part 2 is stated as Corollary 7.4, the corollary the paper's proof invokes for it (the primal problem is feasible by hypothesis, so the +∞+\infty+∞ branch of Corollary 7.4 does not occur). The paper remarks (p. 329) that the proposition extends to all x∈Rnx\in\mathbb R^nx∈Rn under the ±∞\pm\infty±∞ conventions; the printed statement, on K2K_2K2​ and for ξ∈Ξ~\xi\in\tilde\Xiξ∈Ξ~, is what is formalized.

Preamble
import Mathlib
import Definitions.Def_Wets1974_Stability_Model
Formal statement
namespace Wets1974.Stability

open MeasureTheory Matrix

/-- Proposition 7.5, p. 329: `Q(x, ξ)` is a convex polyhedral function of `x` on `K₂` for each
`ξ ∈ Ξ̃`; it is concave polyhedral in `q(ξ)` and convex polyhedral in `(p(ξ), T(ξ))`.
Parts (a) and (c) are stated as the dichotomy of Corollary 7.3 (finite polyhedral, or `−∞`
throughout); part (b) as Corollary 7.4 (finite concave polyhedral on `pos (Wᵀ, −Wᵀ, I)`, the
primal problem being feasible). -/
theorem recourse_polyhedral {n nb mb : ℕ} (μ : Measure (DataSpace n nb mb))
    (W : Matrix (Fin mb) (Fin nb) ℝ) :
    -- (a) in `x` on `K₂`, for each `ξ` in the support `Ξ̃` of `μ`
    (∀ ξ ∈ μ.support,
      IsFiniteConvexPolyhedralOn (fun x => Q W x ξ) (K2 μ W) ∨
        ∀ x ∈ K2 μ W, Q W x ξ = ⊥) ∧
    -- (b) in `q`, for fixed `x` and `(p, T)` with `p − T x ∈ pos W`: finite concave polyhedral
    -- on `pos (Wᵀ, −Wᵀ, I) = {q | ∃ π, π W ≤ q}` (Corollary 7.4)
    (∀ (x : Fin n → ℝ) (p : Fin mb → ℝ) (T : Matrix (Fin mb) (Fin n) ℝ),
      p - T *ᵥ x ∈ posW W →
      IsFiniteConcavePolyhedralOn
        (fun q : Fin nb → ℝ => KallMayer.Recourse.PointwiseRecourse W T p q x)
        {q | ∃ π : Fin mb → ℝ, ∀ j, (W.transpose *ᵥ π) j ≤ q j}) ∧
    -- (c) in `(p, T)`, for fixed `q` and `x`, on `{(p, T) | p − T x ∈ pos W}`
    (∀ (x : Fin n → ℝ) (q : Fin nb → ℝ),
      IsFiniteConvexPolyhedralOn
          (fun ζ : PTSpace n mb =>
            KallMayer.Recourse.PointwiseRecourse W (Matrix.of ζ.2) ζ.1 q x)
          {ζ | ζ.1 - Matrix.of ζ.2 *ᵥ x ∈ posW W} ∨
        ∀ ζ : PTSpace n mb, ζ.1 - Matrix.of ζ.2 *ᵥ x ∈ posW W →
          KallMayer.Recourse.PointwiseRecourse W (Matrix.of ζ.2) ζ.1 q x = ⊥) := by sorry

end Wets1974.Stability
Source
Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3), 1974, p. 329, Proposition 7.5
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me