§2.1, p. 546 — Condition C.1 is equivalent to
ProvedWorstCaseVaR.KnownMoments.quadratic_form_nonneg_iff_posSemidefLet be a symmetric real matrix and let be the associated quadratic function on . Then
This is Condition C.1 in the proof of Theorem 1: finiteness of the dual function of the moment problem requires everywhere, and this lemma turns that requirement into a semidefinite constraint.
Formalization Note. ranges over EuclideanSpace ℝ (Fin n); is indexed by Fin n ⊕ Fin 1 and assumed symmetric (IsSymm), as the paper's .
import Mathlib import Definitions.Def_WorstCaseVaR_KnownMoments_Basic open MeasureTheory Matrix open scoped InnerProductSpace
namespace WorstCaseVaR.KnownMoments
/-- Condition C.1 (p. 546): for a symmetric `(n+1) × (n+1)` matrix `M`, the quadratic function
`l(x) = [xᵀ 1] M [xᵀ 1]ᵀ` is nonnegative for every `x ∈ ℝⁿ` iff `M ⪰ 0`. -/
theorem quadratic_form_nonneg_iff_posSemidef {n : ℕ}
(M : Matrix (Fin n ⊕ Fin 1) (Fin n ⊕ Fin 1) ℝ) (hM : M.IsSymm) :
(∀ x : EuclideanSpace ℝ (Fin n), 0 ≤ quadFn M ⇑x) ↔ M.PosSemidef := by sorry
end WorstCaseVaR.KnownMoments
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and let be a real symmetric matrix. Its indices are those of plus one extra index . For , let be with appended in the coordinate, and let
The statement asserts the equivalence
Here means is symmetric and for every , including vectors whose coordinate is or any other value.
Degenerate cases. If , then is a matrix and for the only point . Both sides reduce to . No other degenerate case applies: every quantity is defined without division or truncation.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.