p. 554 — the Gaussian tail φ(γ) = 1 − Φ((γ + wᵀx̂)/√(wᵀΓw))
ProvedWorstCaseVaR.Entropy.gaussian_tail_eqLet be a Gaussian distribution on with positive definite covariance , let be nonzero and . Then the -probability that the portfolio loses at least is
where is the standard normal cumulative distribution function.
This is the only place where the Gaussian reference distribution enters the proof of Theorem 9: the worst-case probability depends on only through .
Formalization Note The probability is the real-valued measure measureReal of the loss set.
import Mathlib import Definitions.Def_WorstCaseVaR_Entropy_Basic
namespace WorstCaseVaR.Entropy
/-- p. 554: under the reference Gaussian `P₀ = 𝒩(x̂, Γ)` with `Γ ≻ 0` and `w ≠ 0`,
`φ(γ) := Prob{γ ≤ -xᵀw} = 1 - Φ((γ + wᵀx̂)/√(wᵀΓw))`. -/
theorem gaussian_tail_eq {n : ℕ} (xhat w : Returns n) (Γ : Matrix (Fin n) (Fin n) ℝ)
(hΓ : Γ.PosDef) (hw : w ≠ 0) (γ : ℝ) :
(refGaussian xhat Γ).real (lossSet w γ) = gaussianTail xhat Γ w γ := 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 real matrix that is positive definite: symmetric, with for all . Assume , and let .
Conclusion. The measure, as a real number, that the library's multivariate Gaussian gives to the loss set is
Here is the standard normal CDF and .
Degenerate cases. For the only vector is , so the hypothesis cannot hold and the statement is vacuous. For , positive definiteness together with makes . The square-root and division conventions (value ) are therefore never triggered. The left side is the real value of the set's measure, which is converted to only if the measure were infinite.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.