The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V22. Affine, Euclidean and convex geometry

Mathlib.Geometry.Euclidean.Angle.Unoriented.Projection

4 declarations. Mathlib docs · Source

theorem EuclideanGeometry.angle_self_orthogonalProjection E0 #

∀ {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} {s : AffineSubspace ℝ P}
  [inst_4 : s.direction.HasOrthogonalProjection] (h : p' ∈ s),
  EuclideanGeometry.angle p (↑((EuclideanGeometry.orthogonalProjection s) p)) p' = Real.pi / 2

theorem EuclideanGeometry.angle_orthogonalProjection_self E0 #

∀ {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} {s : AffineSubspace ℝ P}
  [inst_4 : s.direction.HasOrthogonalProjection] (h : p' ∈ s),
  EuclideanGeometry.angle p' (↑((EuclideanGeometry.orthogonalProjection s) p)) p = Real.pi / 2

theorem EuclideanGeometry.dist_orthogonalProjection_eq_sin_mul_dist E1 #

∀ {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) {q : P} {s : AffineSubspace ℝ P} [inst_4 : s.direction.HasOrthogonalProjection]
  (h : q ∈ s),
  dist p ↑((EuclideanGeometry.orthogonalProjection s) p) =
    Real.sin (EuclideanGeometry.angle p q ↑((EuclideanGeometry.orthogonalProjection s) p)) * dist p q

theorem EuclideanGeometry.dist_orthogonalProjection_eq_sin_mul_dist_of_collinear E1 #

∀ {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) {q r : P} {s : AffineSubspace ℝ P}
  [inst_4 : s.direction.HasOrthogonalProjection] (hq : q ∈ s),
  r ∈ s →
    Collinear ℝ {↑((EuclideanGeometry.orthogonalProjection s) p), q, r} →
      q ≠ r →
        dist p ↑((EuclideanGeometry.orthogonalProjection s) p) = Real.sin (EuclideanGeometry.angle p q r) * dist p q