NLA-lib Explorer

EuclideanSpace.abs_dotProduct_sub_le_of_componentwise

Library · theorem

The componentwise dot-product bound gives the norm-relative projection defect, with no assumption on the norms of its two operands. [Higham2002, §3.1].

EuclideanSpace.abs_dotProduct_sub_le_of_componentwise.{u_2} {n : Type u_2} [Fintype n] {e α : ℝ}
  {x y : n → ℝ} (he : 0 ≤ e) (h : |x ⬝ᵥ y - α| ≤ e * ∑ i, |x i * y i|) :
  |x ⬝ᵥ y - α| ≤ e * ‖WithLp.toLp 2 x‖ * ‖WithLp.toLp 2 y‖

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.