The areas / V22. Affine, Euclidean and convex geometry
Mathlib.Geometry.Euclidean.Angle.Unoriented.TriangleInequality
4 declarations. Mathlib docs · Source
theorem InnerProductGeometry.angle_le_angle_add_angle E2 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (x y z : V),
InnerProductGeometry.angle x z ≤ InnerProductGeometry.angle x y + InnerProductGeometry.angle y z
Triangle inequality for angles between vectors.
theorem InnerProductGeometry.angle_eq_angle_add_add_angle_add_of_mem_span E1 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] {x y z : V},
y ≠ 0 →
y ∈ Submodule.span NNReal {x, z} →
InnerProductGeometry.angle x z = InnerProductGeometry.angle x y + InnerProductGeometry.angle y z
The triangle inequality is an equality if the middle vector is a nonnegative linear combination
of the other two vectors. See angle_add_angle_eq_pi_of_angle_eq_pi for the other equality case.
theorem InnerProductGeometry.angle_eq_angle_add_angle_iff E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] {x y z : V},
y ≠ 0 →
(InnerProductGeometry.angle x z = InnerProductGeometry.angle x y + InnerProductGeometry.angle y z ↔
InnerProductGeometry.angle x z = Real.pi ∨ y ∈ Submodule.span NNReal {x, z})
The triangle inequality on vectors x, y, z is an equality if and only if
angle x z = π, or y is a nonnegative linear combination of x and z.
theorem EuclideanGeometry.angle_le_angle_add_angle E2 #
∀ {V : Type u_2} {P : Type u_3} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
[inst_3 : NormedAddTorsor V P] (p p₁ p₂ p₃ : P),
EuclideanGeometry.angle p₁ p p₃ ≤ EuclideanGeometry.angle p₁ p p₂ + EuclideanGeometry.angle p₂ p p₃
Triangle inequality for angles in Euclidean geometry.