EuclideanGeometry.law_cos
∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
[inst_3 : NormedAddTorsor V P] (p₁ p₂ p₃ : P),
dist p₁ p₃ * dist p₁ p₃ =
dist p₁ p₂ * dist p₁ p₂ + dist p₃ p₂ * dist p₃ p₂ -
2 * dist p₁ p₂ * dist p₃ p₂ * Real.cos (EuclideanGeometry.angle p₁ p₂ p₃)Alias of EuclideanGeometry.dist_sq_eq_dist_sq_add_dist_sq_sub_two_mul_dist_mul_dist_mul_cos_angle.
Law of cosines (cosine rule), angle-at-point form.
- Defined in
- Mathlib.Geometry.Euclidean.Triangle
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 194 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Realstatement · cited by 25,697
- NormedAddCommGroupstatement · cited by 15,752
- InnerProductSpacestatement · cited by 3,523
- MetricSpacestatement · cited by 1,684
- Dist.diststatement · cited by 1,539
- NormedAddTorsorstatement · cited by 1,325
- Real.cosstatement · cited by 424
- EuclideanGeometry.anglestatement · cited by 187
Cited by5
Results whose statement or proof uses this declaration.
- EuclideanGeometry.dist_sq_mul_dist_add_dist_sq_mul_distproof · cited by 2
- EuclideanGeometry.dist_mul_of_eq_angle_of_dist_mulproof · cited by 1
- Similar.angle_eqproof · cited by 1
- EuclideanGeometry.side_angle_sideproof · cited by 1
- EuclideanGeometry.similar_of_side_angle_sideproof · cited by 0