Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Last display of p. 23 — the constraint of (33) as O(K)\mathcal O(K)O(K) linear constraints

Proved
WassTwoStage.LP1.constraint_decomposition

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

dualitylinear-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

Let T∈RM×KT\in\mathbb R^{M\times K}T∈RM×K (the matrix T(x)T(x)T(x) at a fixed first-stage decision), W∈RM×N2W\in\mathbb R^{M\times N_2}W∈RM×N2​, q∈RN2q\in\mathbb R^{N_2}q∈RN2​, w+,w−>0w_+,w_->0w+​,w−​>0 and λ≥0\lambda\ge 0λ≥0, and assume the recourse is sufficiently expensive: some p≥0p\ge 0p≥0 satisfies W⊤p=qW^\top p = qW⊤p=q. With ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​ the dual norm of the gauge (31) and eke_kek​ the kkk-th unit vector of RK\mathbb R^KRK,

∥T⊤p∥∗≤λ  ∀p∈R+M:W⊤p=q\|T^\top p\|_*\le\lambda\ \ \forall p\in\mathbb R^M_+ : W^\top p = q∥T⊤p∥∗​≤λ  ∀p∈R+M​:W⊤p=q   ⟺   sup⁡p≥0W⊤p=qek⊤T⊤p/w+≤λ  and  sup⁡p≥0W⊤p=q−ek⊤T⊤p/w−≤λ∀k∈[K]\iff\ \sup_{\substack{p\ge0\\ W^\top p=q}} e_k^\top T^\top p/w_+ \le \lambda\ \text{ and }\ \sup_{\substack{p\ge0\\ W^\top p=q}} -e_k^\top T^\top p/w_- \le\lambda\quad\forall k\in[K]⟺ p≥0W⊤p=q​sup​ek⊤​T⊤p/w+​≤λ  and  p≥0W⊤p=q​sup​−ek⊤​T⊤p/w−​≤λ∀k∈[K]   ⟺   ∀k∈[K] ∃ϕk,ψk∈RN2: q⊤ϕk≤λ, q⊤ψk≤λ, Tek/w+≤Wϕk, −Tek/w−≤Wψk.\iff\ \forall k\in[K]\ \exists\phi_k,\psi_k\in\mathbb R^{N_2}:\ q^\top\phi_k\le\lambda,\ q^\top\psi_k\le\lambda,\ Te_k/w_+\le W\phi_k,\ -Te_k/w_-\le W\psi_k.⟺ ∀k∈[K] ∃ϕk​,ψk​∈RN2​: q⊤ϕk​≤λ, q⊤ψk​≤λ, Tek​/w+​≤Wϕk​, −Tek​/w−​≤Wψk​.

The suprema are over the dual recourse polyhedron and may be +∞+\infty+∞. This is the step that turns problem (33) into the linear program (32).

Formalization Note Both equivalences are stated as a conjunction of two biconditionals. The suprema are extended reals. The statement is made for an arbitrary matrix TTT, which covers every value T(x)T(x)T(x).

Preamble
import Mathlib
import Definitions.Def_WassTwoStage_LP1_Gauge

open Matrix
Formal statement
namespace WassTwoStage.LP1

/-- The decomposition of the last constraint of (33), Hanasusanto–Kuhn, arXiv:1609.07505v3,
§4.1, last display of p. 23 (with the justification on p. 24). Here `T` stands for `T(x)` at a fixed
first-stage decision, `λ ≥ 0`, `w₊, w₋ > 0`, and the recourse is sufficiently expensive
(`p ≥ 0`, `Wᵀp = q` is feasible). Then
`‖Tᵀp‖_* ≤ λ` for all `p ∈ ℝ^M_+` with `Wᵀp = q`
⟺ for all `k`: `sup_{p ≥ 0, Wᵀp = q} e_kᵀTᵀp / w₊ ≤ λ` and `sup_{p ≥ 0, Wᵀp = q} −e_kᵀTᵀp / w₋ ≤ λ`
⟺ for all `k` there are `φ_k, ψ_k ∈ ℝ^{N₂}` with `qᵀφ_k ≤ λ`, `qᵀψ_k ≤ λ`, `Te_k / w₊ ≤ Wφ_k`
and `−Te_k / w₋ ≤ Wψ_k`. -/
theorem constraint_decomposition {K M N₂ : ℕ} (T : Matrix (Fin M) (Fin K) ℝ)
    (W : Matrix (Fin M) (Fin N₂) ℝ) (q : Fin N₂ → ℝ) (wp wm lam : ℝ)
    (hwp : 0 < wp) (hwm : 0 < wm) (hlam : 0 ≤ lam)
    (hrec : ∃ p : Fin M → ℝ, 0 ≤ p ∧ Wᵀ *ᵥ p = q) :
    ((∀ p : Fin M → ℝ, 0 ≤ p → Wᵀ *ᵥ p = q → dualGauge wp wm (Tᵀ *ᵥ p) ≤ (lam : EReal)) ↔
      ∀ k : Fin K,
        (⨆ (p : Fin M → ℝ) (_ : 0 ≤ p ∧ Wᵀ *ᵥ p = q), (((Tᵀ *ᵥ p) k / wp : ℝ) : EReal))
            ≤ (lam : EReal) ∧
        (⨆ (p : Fin M → ℝ) (_ : 0 ≤ p ∧ Wᵀ *ᵥ p = q), ((-(Tᵀ *ᵥ p) k / wm : ℝ) : EReal))
            ≤ (lam : EReal)) ∧
    ((∀ k : Fin K,
        (⨆ (p : Fin M → ℝ) (_ : 0 ≤ p ∧ Wᵀ *ᵥ p = q), (((Tᵀ *ᵥ p) k / wp : ℝ) : EReal))
            ≤ (lam : EReal) ∧
        (⨆ (p : Fin M → ℝ) (_ : 0 ≤ p ∧ Wᵀ *ᵥ p = q), ((-(Tᵀ *ᵥ p) k / wm : ℝ) : EReal))
            ≤ (lam : EReal)) ↔
      ∀ k : Fin K, ∃ phi psi : Fin N₂ → ℝ,
        q ⬝ᵥ phi ≤ lam ∧ q ⬝ᵥ psi ≤ lam ∧
        (1 / wp) • (T *ᵥ Pi.single k 1) ≤ W *ᵥ phi ∧
        -((1 / wm) • (T *ᵥ Pi.single k 1)) ≤ W *ᵥ psi) := by sorry

end WassTwoStage.LP1
Source
Hanasusanto, Kuhn, Conic Programming Reformulations of Two-Stage Distributionally Robust Linear Programs over Wasserstein Balls, arXiv:1609.07505v3, §4.1, proof of Theorem 6, last display of p. 23 and first sentence of p. 24
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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