NLA-lib Explorer

EuclideanSpace.norm_toLp_sq_eq_dotProduct_self

Library · theorem

Over \mathbb{R}, the squared Euclidean norm of a coordinate vector is \|\mathbf{x}\|^2 = \mathbf{x}^{\mathsf{T}}\mathbf{x}.

EuclideanSpace.norm_toLp_sq_eq_dotProduct_self.{u_2} {n : Type u_2} [Fintype n] (x : n → ℝ) :
  ‖WithLp.toLp 2 x‖ ^ 2 = x ⬝ᵥ x

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.