The law of sines
ProvedFamousTheorems.law_of_sinesThe law of sines. In any triangle in a real inner product space (or Euclidean affine space),
where is the angle at vertex . For a nondegenerate triangle this is the familiar .
Together with the law of cosines, the law of sines is the basic tool for solving triangles. It is used in surveying, navigation and astronomy, and it is equivalent to the fact that all three ratios equal the diameter of the circumcircle.
Formalization note. Mathlib's EuclideanGeometry.sin_angle_mul_dist_eq_sin_angle_mul_dist. EuclideanGeometry.angle p₁ p₂ p₃ is the unoriented angle at p₂. The statement is in product form, so it also holds for degenerate triangles, where the quotient form would divide by zero.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem law_of_sines {V P : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P]
(p₁ p₂ p₃ : P) :
Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) * dist p₂ p₃ =
Real.sin (EuclideanGeometry.angle p₃ p₁ p₂) * dist p₃ p₁ := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `EuclideanGeometry.sin_angle_mul_dist_eq_sin_angle_mul_dist`. Proof here reduces to that Mathlib result.