NLA-lib Explorer

EuclideanSpace.norm_toLp_sq_eq_sum_sq

Library · theorem

The squared Euclidean norm of a real coordinate vector is the sum of the squared coordinates, \|\mathbf{x}\|^2 = \sum_i \mathbf{x}_i^2: EuclideanSpace.real_norm_sq_eq stated for x : n → ℝ.

EuclideanSpace.norm_toLp_sq_eq_sum_sq.{u_2} {n : Type u_2} [Fintype n] (x : n → ℝ) :
  ‖WithLp.toLp 2 x‖ ^ 2 = ∑ i, x i ^ 2

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.