Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, duality step (only if): strong duality with attainment for the worst-case problem

Proved
PhiDivRobust.Counterpart.strong_duality

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

lagrangian-dualityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimizationstrong-duality

Let ϕ\phiϕ be a φ-divergence function and let a∈Rna\in\mathbb R^na∈Rn, B∈Rn×mB\in\mathbb R^{n\times m}B∈Rn×m, β∈R\beta\in\mathbb Rβ∈R, C∈Rk×mC\in\mathbb R^{k\times m}C∈Rk×m, d∈Rkd\in\mathbb R^kd∈Rk, q∈Rmq\in\mathbb R^mq∈Rm with qi>0q_i>0qi​>0 for all iii, and ρ>0\rho>0ρ>0 be such that q∈Uq\in Uq∈U, where

U={p∈Rm∣p≥0, Cp≤d, Iϕ(p,q)≤ρ}.U=\{p\in\mathbb R^m\mid p\ge0,\ Cp\le d,\ I_\phi(p,q)\le\rho\}.U={p∈Rm∣p≥0, Cp≤d, Iϕ​(p,q)≤ρ}.

Let x∈Rnx\in\mathbb R^nx∈Rn satisfy (a+Bp)⊤x≤β(a+Bp)^\top x\le\beta(a+Bp)⊤x≤β for all p∈Up\in Up∈U. Then there exist λ≥0\lambda\ge0λ≥0 and η∈Rk\eta\in\mathbb R^kη∈Rk, η≥0\eta\ge0η≥0, such that

g(λ,η)≤β,g(\lambda,\eta)\le\beta,g(λ,η)≤β,

where g(λ,η)=sup⁡p≥0L(p,λ,η)g(\lambda,\eta)=\sup_{p\ge0}L(p,\lambda,\eta)g(λ,η)=supp≥0​L(p,λ,η) is the dual objective function of the worst-case problem.

The point qqq is regular in the paper's sense (Cq≤dCq\le dCq≤d and Iϕ(q,q)=0<ρI_\phi(q,q)=0<\rhoIϕ​(q,q)=0<ρ), and this is what the paper invokes for the absence of a duality gap and for the attainment of the dual minimum; it is the heart of Theorem 1.

Formalization Note The conclusion is the existence of a dual pair, i.e. the paper's "the min is attained" form, not the weaker inf⁡λ,η≥0g≤β\inf_{\lambda,\eta\ge0} g\le\betainfλ,η≥0​g≤β. q>0q>0q>0 replaces the printed q≥0q\ge0q≥0.

Preamble
import Mathlib
import Definitions.Def_PhiDivRobust_Counterpart_IsPhiDivergenceFunction
import Definitions.Def_PhiDivRobust_Counterpart_uncertaintySet
import Definitions.Def_PhiDivRobust_Counterpart_dualFunction
open Matrix
Formal statement
namespace PhiDivRobust.Counterpart

/-- Ben-Tal et al. 2013, p. 347, proof of Theorem 1, duality step, the "only if" direction (strong
duality with attainment): since `q ∈ U` makes `U` regular (`Cq ≤ d`, `I_φ(q, q) = 0 < ρ`), if `x`
satisfies the robust constraint (11) over (12), then `g(λ, η) ≤ β` for some `λ ≥ 0` and `η ≥ 0`. -/
theorem strong_duality {n m k : ℕ} (φ : ℝ → EReal) (hφ : IsPhiDivergenceFunction φ)
    (a : Fin n → ℝ) (B : Matrix (Fin n) (Fin m) ℝ) (β : ℝ) (C : Matrix (Fin k) (Fin m) ℝ)
    (d : Fin k → ℝ) (q : Fin m → ℝ) (ρ : ℝ) (hq : ∀ i, 0 < q i) (hρ : 0 < ρ)
    (hqU : q ∈ uncertaintySet φ C d q ρ) (x : Fin n → ℝ)
    (h : ∀ p ∈ uncertaintySet φ C d q ρ, (a + B *ᵥ p) ⬝ᵥ x ≤ β) :
    ∃ lam : ℝ, ∃ η : Fin k → ℝ, 0 ≤ lam ∧ 0 ≤ η ∧
      dualFunction φ a B C d q ρ x lam η ≤ (β : EReal) := by sorry

end PhiDivRobust.Counterpart
Source
Ben-Tal, den Hertog, De Waegenaere, Melenberg, Rennen, Robust Solutions of Optimization Problems Affected by Uncertain Probabilities, Management Sci. 59(2), 2013, p. 347, proof of Theorem 1, duality step (bottom of the left column to the top of the right column), the 'only if' direction
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Hypotheses.

  • n,m,k∈Nn, m, k \in \mathbb{N}n,m,k∈N.
  • φ:R→R‾\varphi : \mathbb{R}\to\overline{\mathbb{R}}φ:R→R is a φ-divergence function: it is never −∞-\infty−∞, is finite on (0,∞)(0,\infty)(0,∞), satisfies φ(1)=0\varphi(1)=0φ(1)=0, and is convex on [0,∞)[0,\infty)[0,∞) in the extended-real sense.
  • a,x∈Rna, x\in\mathbb{R}^na,x∈Rn, a real n×mn\times mn×m matrix BBB, and β∈R\beta\in\mathbb{R}β∈R.
  • A real k×mk\times mk×m matrix CCC and d∈Rkd\in\mathbb{R}^kd∈Rk.
  • q∈Rmq\in\mathbb{R}^mq∈Rm with qi>0q_i>0qi​>0 for every iii, and ρ>0\rho>0ρ>0.
  • qqq lies in the uncertainty set
U={p∈Rm:p≥0, Cp≤d, Iφ(p,q)≤ρ},U=\{p\in\mathbb{R}^m : p\ge0,\ Cp\le d,\ I_\varphi(p,q)\le\rho\},U={p∈Rm:p≥0, Cp≤d, Iφ​(p,q)≤ρ},

where Iφ(p,q)=∑iqiφ(pi/qi)I_\varphi(p,q)=\sum_i q_i\varphi(p_i/q_i)Iφ​(p,q)=∑i​qi​φ(pi​/qi​) in R‾\overline{\mathbb{R}}R. Given the other hypotheses, this amounts exactly to Cq≤dCq\le dCq≤d componentwise.

  • (a+Bp)⊤x≤β(a+Bp)^\top x\le\beta(a+Bp)⊤x≤β for every p∈Up\in Up∈U.

Claim. There exist a real λ≥0\lambda\ge 0λ≥0 and a vector η∈Rk\eta\in\mathbb{R}^kη∈Rk with η≥0\eta\ge0η≥0 componentwise such that

g(λ,η)=sup⁡p≥0([(a+Bp)⊤x+ρλ+η⊤(d−Cp)]−λ Iφ(p,q))  ≤  βg(\lambda,\eta) = \sup_{p\ge 0}\Big(\big[(a+Bp)^\top x+\rho\lambda+\eta^\top(d-Cp)\big]-\lambda\,I_\varphi(p,q)\Big) \;\le\; \betag(λ,η)=p≥0sup​([(a+Bp)⊤x+ρλ+η⊤(d−Cp)]−λIφ​(p,q))≤β

in R‾\overline{\mathbb{R}}R. The supremum is over componentwise nonnegative p∈Rmp\in\mathbb{R}^mp∈Rm. The claim asserts that some admissible pair (λ,η)(\lambda,\eta)(λ,η) attains a dual value at most β\betaβ, not merely that the infimum over such pairs is at most β\betaβ.

Degenerate cases:

  • m=0m=0m=0. The positivity of qqq is vacuous and q∈Uq\in Uq∈U means 0≤d0\le d0≤d. UUU is then the one-point set of the empty vector. The hypothesis becomes a⊤x≤βa^\top x\le\betaa⊤x≤β, and the claim becomes the existence of λ≥0\lambda\ge0λ≥0 and η≥0\eta\ge0η≥0 with a⊤x+ρλ+η⊤d≤βa^\top x+\rho\lambda+\eta^\top d\le\betaa⊤x+ρλ+η⊤d≤β.
  • k=0k=0k=0. η\etaη is the empty vector and the constraints Cp≤dCp\le dCp≤d disappear.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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