Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 — with valid, tight and finite cuts, SND finds an optimal solution of (2.1) after finitely many iterations, almost surely

Proved
SDDiP.Conv.theorem_2

by mikedeng1 · Oct 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

almost-sure-convergencecutting-planesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1sddpstochastic-integer-programming

Consider the multistage stochastic mixed integer linear program (2.1) with binary state variables on a finite scenario tree, under (A1) and nodal feasibility for binary parent states. Run the stochastic nested decomposition algorithm (Algorithm 1) with

  1. sampling with replacement of M≥1M\ge 1M≥1 scenarios per iteration, independently across draws and iterations, according to {pn:n∈ST}\{p_n : n\in S_T\}{pn​:n∈ST​};
  2. lower bounds LnL_nLn​ that under-estimate the expected cost-to-go functions, Ln≤QnL_n\le\mathcal Q_nLn​≤Qn​ on {0,1}d\{0,1\}^d{0,1}d, so that the initial approximation ψn1=Ln\psi^1_n = L_nψn1​=Ln​ is an under-approximation;
  3. cuts generated in the backward step that are valid (3.4), tight (3.5) and finite;
  4. a solver of the nodal problems satisfying (A3), i.e. a deterministic map that returns an optimal solution of every nodal problem.

Then with probability one the forward step of the SND algorithm defines an optimal solution of (2.1) after a finite number of iterations: almost surely there is an iteration i0i_0i0​ such that for every i≥i0i\ge i_0i≥i0​ the forward tree solution {(xni,yni)}n∈T\{(x^i_n, y^i_n)\}_{n\in\mathcal T}{(xni​,yni​)}n∈T​ of (3.6) is an optimal solution of

min⁡{∑n∈Tpnfn(xn,yn):(xa(n),xn,yn)∈Xn, xn∈{0,1}d  ∀n∈T}.\min\Big\{\sum_{n\in\mathcal T} p_n f_n(x_n, y_n) : (x_{a(n)}, x_n, y_n)\in X_n,\ x_n\in\{0,1\}^d\ \ \forall n\in\mathcal T\Big\}.min{n∈T∑​pn​fn​(xn​,yn​):(xa(n)​,xn​,yn​)∈Xn​, xn​∈{0,1}d  ∀n∈T}.

This is the convergence theorem of the paper: any cut family with the three properties (for instance integer optimality cuts or the Lagrangian cuts of §4.3) makes SND, and its stage-wise independent special case SDDiP, exact for multistage stochastic integer programs with binary states.

Formalization Note "After a finite number of iterations" is read as "from some iteration on, in every iteration" (∀ᶠ i in atTop), which is what the proof establishes (K=sup⁡{i:the forward solution is not optimal}K = \sup\{i : \text{the forward solution is not optimal}\}K=sup{i:the forward solution is not optimal} is finite almost surely) and is stronger than "at some iteration". Finiteness of cuts is one finite set for the whole run, as the proof uses it. The cut generator may depend on the sample path, and validity, tightness and finiteness are required along every sample path.

Preamble
import Mathlib
import Definitions.Def_SDDiP_Conv_SND
Formal statement
namespace SDDiP.Conv

open StochasticProg.Multistage MeasureTheory Filter

/-- Theorem 2, p. 474 (Zou–Ahmed–Sun, *Stochastic dual dynamic integer programming*, Math. Program. 175
(2019)): if the sampling in the forward step is done with replacement, the cuts generated in the
backward step are valid, tight and finite, and the nodal problems are solved by a deterministic solver
returning optimal solutions (A3), then with probability one the forward step of the SND algorithm
defines an optimal solution of the multistage stochastic program (2.1) after finitely many iterations,
and from then on in every iteration. -/
theorem theorem_2 {H d ℓ M : ℕ} (D : Model H d ℓ) (hM : 0 < M) (L : D.T.Node → ℝ)
    (hL : ∀ n x, ¬ D.IsLeaf n → L n ≤ D.Qcal n x)
    (sol : D.Solver) (hsol : D.IsOptimalSolver sol)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (S : ℕ → Ω → Fin M → D.Leaf) (hS : D.IsSampling P S)
    (κ : Ω → ℕ → D.T.Node → Cut d)
    (hvalid : ∀ ω, D.ValidCuts (fun i => S i ω) (κ ω))
    (htight : ∀ ω, D.TightCuts L sol (fun i => S i ω) (κ ω))
    (hfin : ∀ ω, D.FiniteCuts (fun i => S i ω) (κ ω)) :
    ∀ᵐ ω ∂P, ∀ᶠ i in atTop, D.IsOptimal (D.forwardSol L sol (fun i => S i ω) (κ ω) i) := by sorry

end SDDiP.Conv
Source
Zou, Ahmed, Sun, Stochastic dual dynamic integer programming, Math. Program. 175 (2019), p. 474, Theorem 2
Human review
  • Endorsed by Shuze Chen · Oct 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 11, 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