The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Convex.TriangleEquality
5 declarations. Mathlib docs · Source
theorem norm_sum_eq_of_pairwise_sameRay E1 #
∀ {ι : Type u_1} {s : Finset ι} {E : Type u_2} [inst : SeminormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {v : ι → E},
(↑s).Pairwise (Function.onFun (SameRay ℝ) v) → ‖∑ i ∈ s, v i‖ = ∑ i ∈ s, ‖v i‖
If the summands pairwise lie on a common closed ray, the norm of their sum is the sum of their norms.
theorem sum_ne_zero_of_pairwise_sameRay E1 #
∀ {ι : Type u_1} {s : Finset ι} {i : ι} {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
{v : ι → E}, (↑s).Pairwise (Function.onFun (SameRay ℝ) v) → i ∈ s → v i ≠ 0 → ∑ j ∈ s, v j ≠ 0
theorem norm_sum_eq_iff_pairwise_sameRay E1 #
∀ {ι : Type u_1} {s : Finset ι} {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
[StrictConvexSpace ℝ E] {v : ι → E}, ‖∑ i ∈ s, v i‖ = ∑ i ∈ s, ‖v i‖ ↔ (↑s).Pairwise (Function.onFun (SameRay ℝ) v)
Triangle equality for a finite sum: the norm of the sum equals the sum of the norms exactly when the summands pairwise lie on a common closed ray.
theorem normalize_eq_of_pairwise_sameRay E1 #
∀ {ι : Type u_1} {s : Finset ι} {i : ι} {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
{v : ι → E},
(↑s).Pairwise (Function.onFun (SameRay ℝ) v) →
i ∈ s → v i ≠ 0 → NormedSpace.normalize (v i) = NormedSpace.normalize (∑ j ∈ s, v j)
If the summands pairwise lie on a common closed ray and one of them is nonzero, then it has the same normalization as the sum.
theorem norm_sum_eq_iff_exists_smul E1 #
∀ {ι : Type u_1} {s : Finset ι} {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E]
[StrictConvexSpace ℝ E] {v : ι → E}, ‖∑ i ∈ s, v i‖ = ∑ i ∈ s, ‖v i‖ ↔ ∃ c, ∀ i ∈ s, v i = ‖v i‖ • c
Triangle equality: the norm of a finite sum equals the sum of the norms exactly when every summand is a nonnegative real multiple of a single vector.