The triangle inequality for angles
ProvedFamousTheorems.angle_triangle_inequalityThe triangle inequality for angles. For all points in a Euclidean affine space,
The inequality says that the angle between vectors is a metric on the unit sphere, the great-circle distance. It is essentially Euclid's Proposition XI.20: of the three plane angles forming a solid angle, any two together exceed the third.
Formalization note. Mathlib's EuclideanGeometry.angle_le_angle_add_angle. ∠ a b c is the unoriented angle at , valued in . The statement holds for all points, including degenerate ones, with Mathlib's convention that the angle involving a zero vector is .
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
open EuclideanGeometry
theorem angle_triangle_inequality {V P : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P]
(p p₁ p₂ p₃ : P) : ∠ p₁ p p₃ ≤ ∠ p₁ p p₂ + ∠ p₂ p p₃ := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `EuclideanGeometry.angle_le_angle_add_angle`. Proof here reduces to that Mathlib result.