NLA-lib Explorer

Euclidean norms of coordinate vectors

Library · Source module

Euclidean norms of coordinate vectors

Bridges between the Euclidean norm \|\mathbf{x}\| (‖WithLp.toLp 2 x‖) of a vector x : n → 𝕜 and the pairing \mathbf{x}^{\mathsf{H}}\mathbf{x} (star x ⬝ᵥ x), the Cauchy–Schwarz inequality for the dot product, the behaviour of that norm under conjugation, reindexing, extension by zero, concatenation and scaling by \lvert k \rvert^{-1/2}, and the Lipschitz condition for the Euclidean norm read on coordinate vectors. Componentwise arithmetic envelopes give normwise update, dot-product and normalization error bounds. Upstream candidates for Mathlib.Analysis.InnerProductSpace.PiL2.

Main results

* EuclideanSpace.norm_le_norm_toLp: the sup norm is at most the Euclidean norm. * EuclideanSpace.norm_toLp_add_le, EuclideanSpace.norm_toLp_sub_le: triangle inequalities on coordinate vectors. * EuclideanSpace.inner_toLp_toLp_eq_star_dotProduct: the inner product is \langle \mathbf{x}, \mathbf{y} \rangle = \mathbf{x}^{\mathsf{H}}\mathbf{y}. * EuclideanSpace.norm_toLp_sq_eq_re_star_dotProduct: \|\mathbf{x}\|^2 = \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{x}). * EuclideanSpace.star_dotProduct_self_eq_coe_norm_sq: \mathbf{x}^{\mathsf{H}}\mathbf{x} = \|\mathbf{x}\|^2 in \Bbbk. * EuclideanSpace.abs_dotProduct_le_norm: Cauchy–Schwarz over \mathbb{R}. * EuclideanSpace.norm_toLp_star: \|\overline{\mathbf{x}}\| = \|\mathbf{x}\|. * EuclideanSpace.norm_toLp_comp_equiv: \|(\mathbf{x}_{e(i)})_i\| = \|\mathbf{x}\| for a bijection e. * EuclideanSpace.norm_toLp_comp_le_of_injective: \|(\mathbf{y}_{e(i)})_i\| \le \|\mathbf{y}\| for an injection e. * EuclideanSpace.norm_toLp_extend_zero: extending by zero along an injection keeps the norm. * EuclideanSpace.norm_toLp_sumElim_sq: \left\|\begin{bmatrix} \mathbf{x} \\ \mathbf{y} \end{bmatrix}\right\|^2 = \|\mathbf{x}\|^2 + \|\mathbf{y}\|^2. * EuclideanSpace.norm_toLp_sq_eq_sum_sq: \|\mathbf{x}\|^2 = \sum_i \mathbf{x}_i^2 over \mathbb{R}. * EuclideanSpace.norm_toLp_inv_sqrt_card_smul_sq: \|\lvert k \rvert^{-1/2} \mathbf{v}\|^2 = \|\mathbf{v}\|^2 / \lvert k \rvert. * EuclideanSpace.lipschitzWith_ofLp_iff: Lipschitz on EuclideanSpace ℝ n as an inequality on n → ℝ. * EuclideanSpace.norm_sub_add_smul_le_of_componentwise: a componentwise update envelope. * EuclideanSpace.abs_dotProduct_sub_le_of_componentwise: a dot-product error envelope. * EuclideanSpace.normalization_bounds_of_self_dot_sqrt_div: norm and normalization errors from self-dot, square-root and component-division envelopes, including a zero norm.

Declarations