NLA-lib Explorer

EuclideanSpace.norm_toLp_sumElim_sq

Library · theorem

Pythagoras for concatenated coordinate vectors: the squared Euclidean norm of the concatenation of \mathbf{x} and \mathbf{y} (Sum.elim x y) is the sum of their squared Euclidean norms, \left\|\begin{bmatrix} \mathbf{x} \\ \mathbf{y} \end{bmatrix}\right\|^2 = \|\mathbf{x}\|^2 + \|\mathbf{y}\|^2. [HornJohnson2013, §5.1] (locator to check).

EuclideanSpace.norm_toLp_sumElim_sq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] {m : Type u_3} [Fintype m] (x : m → 𝕜) (y : n → 𝕜) :
  ‖WithLp.toLp 2 (x ⊕ᵥ y)‖ ^ 2 = ‖WithLp.toLp 2 x‖ ^ 2 + ‖WithLp.toLp 2 y‖ ^ 2

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.InnerProductSpace.PiL2.