Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, duality step (if): g(λ, η) ≤ β for some λ, η ≥ 0 implies the robust constraint (11)

Proved
PhiDivRobust.Counterpart.weak_duality

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

lagrangian-dualityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

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. If there are λ≥0\lambda\ge0λ≥0 and η∈Rk\eta\in\mathbb R^kη∈Rk, η≥0\eta\ge0η≥0, with g(λ,η)≤βg(\lambda,\eta)\le\betag(λ,η)≤β, where ggg is the dual objective function of the worst-case problem, then

(a+Bp)⊤x≤βfor all p∈U.(a+Bp)^\top x\le\beta\qquad\text{for all } p\in U.(a+Bp)⊤x≤βfor all p∈U.

This is the weak-duality half of the paper's statement that xxx satisfies (11) if and only if g(λ,η)≤βg(\lambda,\eta)\le\betag(λ,η)≤β for some λ≥0\lambda\ge0λ≥0 and η≥0\eta\ge0η≥0.

Formalization Note The hypotheses are the standing assumptions of Theorem 1, with q>0q>0q>0 in place of the printed q≥0q\ge0q≥0; this direction does not need all of them.

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 "if" direction (weak duality):
if `g(λ, η) ≤ β` for some `λ ≥ 0` and `η ≥ 0`, then `x` satisfies the robust constraint (11)
over the uncertainty region (12). -/
theorem weak_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 : ∃ lam : ℝ, ∃ η : Fin k → ℝ, 0 ≤ lam ∧ 0 ≤ η ∧
      dualFunction φ a B C d q ρ x lam η ≤ (β : EReal)) :
    ∀ p ∈ uncertaintySet φ C d q ρ, (a + B *ᵥ p) ⬝ᵥ x ≤ β := 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 '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\ge 0,\ 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. Since q>0q>0q>0, φ(1)=0\varphi(1)=0φ(1)=0 and ρ>0\rho>0ρ>0, this hypothesis amounts exactly to Cq≤dCq \le dCq≤d componentwise.

  • There exist a real λ≥0\lambda \ge 0λ≥0 and a vector η∈Rk\eta\in\mathbb{R}^kη∈Rk with η≥0\eta \ge 0η≥0 componentwise such that g(λ,η)≤βg(\lambda,\eta)\le\betag(λ,η)≤β in R‾\overline{\mathbb{R}}R. Here
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)g(λ,η)=p≥0sup​([(a+Bp)⊤x+ρλ+η⊤(d−Cp)]−λIφ​(p,q))

is a supremum in R‾\overline{\mathbb{R}}R over componentwise nonnegative p∈Rmp\in\mathbb{R}^mp∈Rm.

Claim. For every p∈Up \in Up∈U,

(a+Bp)⊤x≤β.(a + Bp)^\top x \le \beta.(a+Bp)⊤x≤β.

Degenerate cases:

  • m=0m = 0m=0. The positivity of qqq is vacuous. The hypothesis q∈Uq\in Uq∈U becomes 0≤d0\le d0≤d, and UUU is the one-point set of the empty vector. The claim is then a⊤x≤βa^\top x\le\betaa⊤x≤β.
  • k=0k = 0k=0. Cq≤dCq \le dCq≤d and η≥0\eta\ge0η≥0 are vacuous.
  • Dual value +∞+\infty+∞. If every admissible (λ,η)(\lambda,\eta)(λ,η) gives g=+∞g = +\inftyg=+∞, the existential hypothesis fails and nothing is asserted.
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