Documentation

Mathlib.Geometry.Euclidean.Angle.Unoriented.TriangleInequality

The Triangle Inequality for Angles #

This file contains the proof that angles obey the triangle inequality.

Triangle inequality for angles between vectors.

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 EuclideanGeometry.angle_le_angle_add_angle {V : Type u_2} {P : Type u_3} [NormedAddCommGroup V] [InnerProductSpace V] [MetricSpace P] [NormedAddTorsor V P] (p p₁ p₂ p₃ : P) :
angle p₁ p p₃ angle p₁ p p₂ + angle p₂ p p₃

Triangle inequality for angles in Euclidean geometry.