NLA-lib Explorer

EuclideanSpace.abs_dotProduct_le_norm

Library · theorem

Cauchy–Schwarz for the dot product: over \mathbb{R}, \lvert \mathbf{x}^{\mathsf{T}}\mathbf{y} \rvert \le \|\mathbf{x}\| \|\mathbf{y}\| with Euclidean norms. The coordinate form of abs_real_inner_le_norm. [HornJohnson2013, Theorem 5.1.4] (locator to check).

EuclideanSpace.abs_dotProduct_le_norm.{u_2} {n : Type u_2} [Fintype n] (x y : n → ℝ) :
  |x ⬝ᵥ y| ≤ ‖WithLp.toLp 2 x‖ * ‖WithLp.toLp 2 y‖

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.