Let Σ be positive semidefinite, t₁ ≥ 0, and let x₁ satisfy the KKT stationarity, dual-feasibility and complementary-slackness conditions of the risk-penalized problem min −μ·x + (t₁/2)·x'Σx subject to linear constraints a_k·x ≤ b_k. Then for every feasible y, μ·y − t₁√(x₁'Σx₁)·√(y'Σy) ≤ μ·x₁ − t₁·x₁'Σx₁: x₁ maximizes the mean–standard-deviation objective at the price of risk t₁√(x₁'Σx₁). KKT necessity is not proved.
∀ {ι : Type u_1} [Fintype ι] {Sig : Matrix ι ι ℝ}, Sig.PosSemidef → ∀ (x y : ι → ℝ), |x ⬝ᵥ Sig.mulVec y| ≤ √(x ⬝ᵥ Sig.mulVec x) * √(y ⬝ᵥ Sig.mulVec y)Cauchy–Schwarz for a positive semidefinite bilinear form: for Sig PSD,
|x ⬝ᵥ (Sig *ᵥ y)| ≤ √(x ⬝ᵥ (Sig *ᵥ x)) · √(y ⬝ᵥ (Sig *ᵥ y)).
The form ⟨u, v⟩ = u ⬝ᵥ (Sig *ᵥ v) is a semi-inner product only (degenerate when Sig is singular). This is Mathlib's Cauchy–Schwarz for a bilinear form that is nonnegative on the diagonal (LinearMap.BilinForm.apply_mul_apply_le_of_forall_zero_le), applied to Matrix.toBilin' Sig, with symmetry of Sig matching the two cross terms.