MathFin
Map / Choice · Portfolio choice / MathFin.Choice.Portfolio.PosSemidefCauchySchwarz

Cauchy–Schwarz for positive semidefinite forms, and the mean–standard-deviation tradeoff

MathFin.Choice.Portfolio.PosSemidefCauchySchwarzMSC 91G10MSC 90C25JEL G11 source

The Cauchy–Schwarz inequality for the semi-inner product ⟨u, v⟩ = u ⬝ᵥ (Sig *ᵥ v) induced by a positive semidefinite matrix Sig over ι → ℝ, and its application to the tradeoff form of the Markowitz mean–variance problem.

  • posSemidef_cauchySchwarz: for Sig positive semidefinite, |x ⬝ᵥ (Sig *ᵥ y)| ≤ √(x ⬝ᵥ (Sig *ᵥ x)) · √(y ⬝ᵥ (Sig *ᵥ y)). The form is degenerate when Sig is singular, and the bound holds all the same. It is Mathlib's Cauchy–Schwarz for bilinear forms nonnegative on the diagonal, applied to Matrix.toBilin'.
  • pricedReturn_le_of_kkt: if x1 satisfies the KKT stationarity, dual-feasibility and complementary-slackness conditions of the risk-penalized QP min -μ ⬝ᵥ x + (t₁/2) · x ⬝ᵥ (Sig *ᵥ x) (with Sig PSD and t₁ ≥ 0; the KKT machinery is that of MathFin.Choice.Portfolio.ConvexQPKKT), then x1 maximizes the mean–standard-deviation objective μ ⬝ᵥ y - t₁·√(x1 ⬝ᵥ (Sig *ᵥ x1)) · √(y ⬝ᵥ (Sig *ᵥ y)) over every feasible y. Stationarity, rearranged to μ = t₁ • Sig *ᵥ x1 + ∑ u k • a k, turns the return gap into t₁ · (Q - X) plus the complementary-slackness terms (nonpositive at any feasible y, by kkt_complementary_term_nonneg), and Cauchy–Schwarz bounds the bilinear term Q.

KKT necessity (that an optimal solution is a KKT point) is not proved; the module certifies candidates, as MathFin.Choice.Portfolio.ConvexQPKKT does.

Main definitions

  • pricedReturn: the return μ ⬝ᵥ y minus the charge t₁ · √(x1 ⬝ᵥ (Sig *ᵥ x1)) · √(y ⬝ᵥ (Sig *ᵥ y)), with the price of risk calibrated on the benchmark x1.

Main results

  • posSemidef_cauchySchwarz: for a positive semidefinite matrix Sig, |x ⬝ᵥ (Sig *ᵥ y)| ≤ √(x ⬝ᵥ (Sig *ᵥ x)) · √(y ⬝ᵥ (Sig *ᵥ y)).
  • pricedReturn_le_of_kkt: a point x1 satisfying the KKT stationarity, dual-feasibility and complementary-slackness conditions of the risk-penalized quadratic program (with Sig positive semidefinite and t₁ ≥ 0) maximizes pricedReturn over every feasible y. It certifies a candidate; KKT necessity is not proved.

References

Tags

Cauchy-Schwarz inequality, mean-standard deviation tradeoff, positive semidefinite form, Markowitz, KKT conditions, risk aversion, MSC 91G10, MSC 90C25, JEL G11

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-mean-variance-kkt-mean-sd-tradeoff · portfolio_and_performance.json · full statement
A Mean–Variance KKT Point Maximizes the Mean–Standard-Deviation Objective

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.

Declarations 3

theoremMathFin.posSemidef_cauchySchwarzsource
∀ {ι : 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.

defMathFin.pricedReturnsource
{ι : Type u_1} → [Fintype ι] → (ι → ℝ) → ℝ → Matrix ι ι ℝ → (ι → ℝ) → (ι → ℝ) → ℝ

The priced return of y at the price of risk t₁ · √(x1 ⬝ᵥ (Sig *ᵥ x1)) calibrated on the benchmark x1: the return μ ⬝ᵥ y minus the charge t₁ · √(x1 ⬝ᵥ (Sig *ᵥ x1)) · √(y ⬝ᵥ (Sig *ᵥ y)) — the price t₁ · √(x1 ⬝ᵥ (Sig *ᵥ x1)) per unit of the holder's own risk √(y ⬝ᵥ (Sig *ᵥ y)). Maximizing it over a feasible set is the risk-adjusted (tradeoff) form of portfolio selection.

theoremMathFin.pricedReturn_le_of_kktsource
∀ {ι : Type u_1} [Fintype ι] {Sig : Matrix ι ι ℝ} {κ : Type u_2} [Fintype κ] {μ : ι → ℝ}, Sig.PosSemidef → ∀ {t₁ : ℝ}, 0 ≤ t₁ → ∀ {a : κ → ι → ℝ} {b : κ → ℝ} {x1 : ι → ℝ} {u : κ → ℝ}, (∀ (k : κ), 0 ≤ u k) → -μ + t₁ • Sig.mulVec x1 = -∑ k, u k • a k → (∀ (k : κ), u k * (a k ⬝ᵥ x1 - b k) = 0) → ∀ {y : ι → ℝ}, (∀ (k : κ), a k ⬝ᵥ y ≤ b k) → pricedReturn μ t₁ Sig x1 y ≤ pricedReturn μ t₁ Sig x1 x1

A mean–variance KKT point maximizes the mean–standard-deviation objective at the price of risk t₁·√(x1'Σx1): if x1 satisfies the KKT stationarity, dual feasibility and complementary-slackness conditions of the risk-penalized QP min −μ ⬝ᵥ x + (t₁/2) · x ⬝ᵥ (Sig *ᵥ x), with Sig positive semidefinite and t₁ ≥ 0, then for every feasible competitor y

pricedReturn μ t₁ Sig x1 y ≤ pricedReturn μ t₁ Sig x1 x1.

Stationarity, rearranged to μ = t₁ • Sig *ᵥ x1 + ∑ u k • a k, turns the return gap into t₁ · (Q − X) plus the complementary-slackness terms (nonpositive at any feasible y), and Cauchy–Schwarz for the PSD form bounds Q. x1's own primal feasibility is not assumed: complementary slackness alone forces u k = 0 at every k where a k ⬝ᵥ x1 > b k, as for kkt_sufficient in MathFin.Choice.Portfolio.ConvexQPKKT.