p. 554 — the dual constraint is equivalent to γ ≥ κ(ε, d)√(wᵀΓw) − wᵀx̂
ProvedWorstCaseVaR.Entropy.dual_constraint_iffLet , nonzero, , and , and let . Then there exists with
if and only if
where is the risk factor of Eq. (45).
This is the last step of the proof of Theorem 9: it inverts the constraint "worst-case probability at most " into an explicit lower bound on the loss level .
Formalization Note The paper states the loss level as ; at every is feasible and the equivalence fails, so is assumed. The equivalence also needs : for the supremum in (45) is approached only as , so the left side means while the right side means , and the two differ at one value of . Theorem 9 itself holds for .
import Mathlib import Definitions.Def_WorstCaseVaR_Entropy_Basic
namespace WorstCaseVaR.Entropy
/-- End of the proof of Theorem 9, p. 554: for `d > 0` and `0 < ε < 1`, there is `λ > 0` with
`λd + λ log((e^{1/λ} - 1)φ(γ) + 1) ≤ ε` if and only if `γ ≥ κ(ε, d)√(wᵀΓw) - wᵀx̂`. -/
theorem dual_constraint_iff {n : ℕ} (xhat w : Returns n) (Γ : Matrix (Fin n) (Fin n) ℝ)
(hΓ : Γ.PosDef) (hw : w ≠ 0) (ε d : ℝ) (hε0 : 0 < ε) (hε1 : ε < 1) (hd : 0 < d) (γ : ℝ) :
(∃ lam > 0, dualValue d (gaussianTail xhat Γ w γ) lam ≤ ε) ↔
kappaEntropy ε d * Real.sqrt (quadForm Γ w) - inner ℝ w xhat ≤ γ := 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, and assume . Let be real numbers with and , and let .
Ingredients.
- Gaussian tail:
- Risk factor: , where:
- , which is if ;
- , which is if the set of values is unbounded above.
Conclusion.
Degenerate cases. For the hypothesis cannot hold, so the statement is vacuous. For the hypotheses give , so the tail involves no default square-root or division values. Since , the logarithm's argument exceeds . The statement itself contains no hypothesis that lies in . If it did not, would be the default , and the right-hand side would read .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.