MathFin
Map / Probability · Analysis and convexity / MathFin.Probability.Analysis.FiniteMeasureCauchySchwarz

Cauchy–Schwarz in expectation

MathFin.Probability.Analysis.FiniteMeasureCauchySchwarzMSC 60E15MSC 28A25 source

The real L² inequality ∫|f·g| ≤ √(∫ f²)·√(∫ g²), read off Mathlib's Hölder inequality integral_mul_norm_le_Lp_mul_Lq at exponents 2, 2, and its cases against the constant 1: (∫ f)² ≤ ν(univ)·∫ f² on a finite measure, and ∫|f| ≤ √(∫ f²) on a probability measure. Mathlib's L² Cauchy–Schwarz is stated for inner products of Lp classes, and Jensen (ConvexOn.map_integral_le) gives only the probability case of the second, so the real forms are assembled once here.

Consumed by the drift L² energy bound (DriftProcessPredictable, at ν = timeMeasure.restrict), the SDE-uniqueness drift estimate (SDEUniqueness, at ν = volume.restrict (Ioc 0 s)), and the L¹ bounds of the adapted quadratic variation (AdaptedQuadraticVariation).

The same inequality at the centred variables X − E X, Y − E Y is Cauchy–Schwarz for the covariance, cov(X, Y) ≤ √Var X · √Var Y (covariance_le_sqrt_mul_sqrt). Expanding Var(X + Y) makes the standard deviation subadditive (sqrt_variance_add_le). Mathlib has the covariance calculus but neither inequality. Consumed by the standard-deviation principle and the Gaussian VaR subadditivity.

Main results

  • integral_abs_mul_le_sqrt_mul_sqrt: ∫|f·g| ≤ √(∫ f²)·√(∫ g²) for f, g in L²(ν).
  • sq_integral_le_measureReal_mul: (∫ f)² ≤ ν(univ)·∫ f² on a finite measure.
  • integral_abs_le_sqrt_integral_sq: ∫|f| ≤ √(∫ f²) on a probability measure.
  • covariance_le_sqrt_mul_sqrt: cov(X, Y) ≤ √Var X · √Var Y for X, Y in L²(P).
  • sqrt_variance_add_le: √Var(X + Y) ≤ √Var X + √Var Y for X, Y in L²(P).

References

Tags

Cauchy–Schwarz inequality, Hölder inequality, covariance bound, standard deviation subadditivity, L2 bound, MSC 60E15, MSC 28A25

Import neighbourhood

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

Corpus entries

qrm-covariance-cauchy-schwarz · quantitative_risk_management.json · full statement
Cauchy–Schwarz Inequality for Covariance

For square-integrable X, Y on a probability space: cov(X, Y) ≤ √Var X · √Var Y.

Declarations 5

theoremMathFin.integral_abs_mul_le_sqrt_mul_sqrtsource
∀ {α : Type u_1} {m : MeasurableSpace α} {ν : Measure α} {f g : α → ℝ}, MemLp f 2 ν → MemLp g 2 ν → ∫ (a : α), |f a * g a| ∂ν ≤ √(∫ (a : α), f a ^ 2 ∂ν) * √(∫ (a : α), g a ^ 2 ∂ν)

Cauchy–Schwarz in expectation: ∫|f·g| ≤ √(∫ f²)·√(∫ g²), Hölder at exponents 2, 2.

theoremMathFin.sq_integral_le_measureReal_mulsource
∀ {α : Type u_1} {m : MeasurableSpace α} {ν : Measure α} [IsFiniteMeasure ν] {f : α → ℝ}, MemLp f 2 ν → (∫ (a : α), f a ∂ν) ^ 2 ≤ (ν Set.univ).toReal * ∫ (a : α), f a ^ 2 ∂ν

Cauchy–Schwarz on a finite measure: (∫ f)² ≤ ν(univ)·∫ f², the case g ≡ 1.

theoremMathFin.integral_abs_le_sqrt_integral_sqsource
∀ {α : Type u_1} {m : MeasurableSpace α} {ν : Measure α} [IsProbabilityMeasure ν] {f : α → ℝ}, MemLp f 2 ν → ∫ (a : α), |f a| ∂ν ≤ √(∫ (a : α), f a ^ 2 ∂ν)

∫|f| ≤ √(∫ f²) on a probability measure, the case g ≡ 1.

theoremMathFin.covariance_le_sqrt_mul_sqrtsource
∀ {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {X Y : Ω → ℝ}, MemLp X 2 P → MemLp Y 2 P → covariance X Y P ≤ √(variance X P) * √(variance Y P)

Cauchy–Schwarz for covariance: cov(X, Y) ≤ √Var X · √Var Y, the inequality integral_abs_mul_le_sqrt_mul_sqrt for the centred variables.

theoremMathFin.sqrt_variance_add_lesource
∀ {Ω : Type u_2} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {X Y : Ω → ℝ}, MemLp X 2 P → MemLp Y 2 P → √(variance (fun ω => X ω + Y ω) P) ≤ √(variance X P) + √(variance Y P)

The standard deviation is subadditive: sd(X + Y) ≤ sd(X) + sd(Y).