p. 554 — the worst-case probability is the infimum of the dual over λ > 0
ProvedWorstCaseVaR.Entropy.worst_case_probability_dualLet with , let be nonzero, and . Write , , and for the probability distributions on with . Then the worst-case probability equals the dual value:
This is the strong-duality step of the proof of Theorem 9 (the paper cites Smith 1995 for it); it reduces the infinite-dimensional worst case over distributions to a scalar minimisation.
Formalization Note Both sides are encoded without Lean's sSup/sInf: the statement asserts a real number that is the least upper bound of and the greatest lower bound of the dual values over . Probabilities are real-valued (measureReal).
import Mathlib import Definitions.Def_WorstCaseVaR_Entropy_Basic
namespace WorstCaseVaR.Entropy
/-- p. 554: the worst-case probability `sup_{P : KL(P, P₀) ≤ d} P{γ ≤ -xᵀw}` equals the
infimum over `λ > 0` of `λd + λ log((e^{1/λ} - 1)φ(γ) + 1)`, where `φ(γ) = P₀{γ ≤ -xᵀw}`. -/
theorem worst_case_probability_dual {n : ℕ} (xhat w : Returns n) (Γ : Matrix (Fin n) (Fin n) ℝ)
(hΓ : Γ.PosDef) (hw : w ≠ 0) (d : ℝ) (hd : 0 ≤ d) (γ : ℝ) :
∃ θ : ℝ,
IsLUB {p | ∃ P ∈ klBall xhat Γ d, P.real (lossSet w γ) = p} θ ∧
IsGLB (dualValue d ((refGaussian xhat Γ).real (lossSet w γ)) '' Set.Ioi 0) θ := by sorry
end WorstCaseVaR.Entropy
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses. Let and let . Let be a positive definite real matrix. Assume and , and let .
Notation. is the library's multivariate Gaussian with mean and covariance , and . Set as a real number.
Conclusion. There exists a real number with both of the following properties:
- is the least upper bound in of the set
Here is unless and is -integrable, in which case it is .
- is the greatest lower bound in of the set
These are genuine suprema and infima: the order-theoretic least upper and greatest lower bounds. No default value is involved.
Degenerate cases. For the hypothesis cannot hold, so the statement is vacuous. is allowed; the first set then comes from probability measures with .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.