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.Bisector

8 declarations. Mathlib docs · Source

theorem EuclideanGeometry.dist_orthogonalProjection_eq_iff_angle_eq 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} {s₁ s₂ : AffineSubspace ℝ P} [inst_4 : s₁.direction.HasOrthogonalProjection]
  [inst_5 : s₂.direction.HasOrthogonalProjection] (hp'₁ : p' ∈ s₁) (hp'₂ : p' ∈ s₂),
  dist p ↑((EuclideanGeometry.orthogonalProjection s₁) p) = dist p ↑((EuclideanGeometry.orthogonalProjection s₂) p) ↔
    EuclideanGeometry.angle p p' ↑((EuclideanGeometry.orthogonalProjection s₁) p) =
      EuclideanGeometry.angle p p' ↑((EuclideanGeometry.orthogonalProjection s₂) p)

A point p is equidistant to two affine subspaces if and only if the angles at a point p' in their intersection between p and its orthogonal projections onto the subspaces are equal.

theorem EuclideanGeometry.dist_orthogonalProjection_eq_of_oangle_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p' : P} {s₁ s₂ : AffineSubspace ℝ P} (hp'₁ : p' ∈ s₁) (hp'₂ : p' ∈ s₂),
  ↑((EuclideanGeometry.orthogonalProjection s₁) p) ≠ p' →
    ↑((EuclideanGeometry.orthogonalProjection s₂) p) ≠ p' →
      EuclideanGeometry.oangle (↑((EuclideanGeometry.orthogonalProjection s₁) p)) p' p =
          EuclideanGeometry.oangle p p' ↑((EuclideanGeometry.orthogonalProjection s₂) p) →
        dist p ↑((EuclideanGeometry.orthogonalProjection s₁) p) =
          dist p ↑((EuclideanGeometry.orthogonalProjection s₂) p)

A point p is equidistant to two affine subspaces (typically lines, for this version of the lemma) if the oriented angles at a point p' in their intersection between p and its orthogonal projections onto the subspaces are equal.

theorem EuclideanGeometry.oangle_eq_of_dist_orthogonalProjection_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p' : P} {s₁ s₂ : AffineSubspace ℝ P} (hp'₁ : p' ∈ s₁) (hp'₂ : p' ∈ s₂),
  ↑((EuclideanGeometry.orthogonalProjection s₁) p) ≠ ↑((EuclideanGeometry.orthogonalProjection s₂) p) →
    dist p ↑((EuclideanGeometry.orthogonalProjection s₁) p) = dist p ↑((EuclideanGeometry.orthogonalProjection s₂) p) →
      EuclideanGeometry.oangle (↑((EuclideanGeometry.orthogonalProjection s₁) p)) p' p =
        EuclideanGeometry.oangle p p' ↑((EuclideanGeometry.orthogonalProjection s₂) p)

The oriented angles at a point p' in their intersection between p and its orthogonal projections onto two affine subspaces (typically lines, for this version of the lemma) are equal if p is equidistant to the two subspaces.

theorem EuclideanGeometry.dist_orthogonalProjection_eq_iff_oangle_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p' : P} {s₁ s₂ : AffineSubspace ℝ P} (hp'₁ : p' ∈ s₁) (hp'₂ : p' ∈ s₂),
  ↑((EuclideanGeometry.orthogonalProjection s₁) p) ≠ ↑((EuclideanGeometry.orthogonalProjection s₂) p) →
    ↑((EuclideanGeometry.orthogonalProjection s₁) p) ≠ p' →
      ↑((EuclideanGeometry.orthogonalProjection s₂) p) ≠ p' →
        (dist p ↑((EuclideanGeometry.orthogonalProjection s₁) p) =
            dist p ↑((EuclideanGeometry.orthogonalProjection s₂) p) ↔
          EuclideanGeometry.oangle (↑((EuclideanGeometry.orthogonalProjection s₁) p)) p' p =
            EuclideanGeometry.oangle p p' ↑((EuclideanGeometry.orthogonalProjection s₂) p))

A point p is equidistant to two affine subspaces (typically lines, for this version of the lemma) if and only if the oriented angles at a point p' in their intersection between p and its orthogonal projections onto the subspaces are equal.

theorem EuclideanGeometry.dist_orthogonalProjection_eq_of_two_zsmul_oangle_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p' : P} {s₁ s₂ : AffineSubspace ℝ P} (hp'₁ : p' ∈ s₁) (hp'₂ : p' ∈ s₂),
  ↑((EuclideanGeometry.orthogonalProjection s₁) p) ≠ p' →
    ↑((EuclideanGeometry.orthogonalProjection s₂) p) ≠ p' →
      2 • EuclideanGeometry.oangle (↑((EuclideanGeometry.orthogonalProjection s₁) p)) p' p =
          2 • EuclideanGeometry.oangle p p' ↑((EuclideanGeometry.orthogonalProjection s₂) p) →
        dist p ↑((EuclideanGeometry.orthogonalProjection s₁) p) =
          dist p ↑((EuclideanGeometry.orthogonalProjection s₂) p)

A point p is equidistant to two affine subspaces (typically lines, for this version of the lemma) if twice the oriented angles at a point p' in their intersection between p and its orthogonal projections onto the subspaces are equal.

theorem EuclideanGeometry.dist_orthogonalProjection_line_eq_of_two_zsmul_oangle_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p₁ p₂ p₃ : P},
  p₁ ≠ p₂ →
    p₁ ≠ p₃ →
      2 • EuclideanGeometry.oangle p₂ p₁ p = 2 • EuclideanGeometry.oangle p p₁ p₃ →
        dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₂]) p) =
          dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₃]) p)

A point p is equidistant to two lines p₁ p₂ and p₁ p₃ if the oriented angles at p₁ are equal modulo π.

theorem EuclideanGeometry.two_zsmul_oangle_eq_of_dist_orthogonalProjection_line_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p₁ p₂ p₃ : P},
  AffineIndependent ℝ ![p₁, p₂, p₃] →
    dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₂]) p) =
        dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₃]) p) →
      2 • EuclideanGeometry.oangle p₂ p₁ p = 2 • EuclideanGeometry.oangle p p₁ p₃

If a point p is equidistant to two different lines p₁ p₂ and p₁ p₃, the oriented angles at p₁ are equal modulo π.

theorem EuclideanGeometry.dist_orthogonalProjection_line_eq_iff_two_zsmul_oangle_eq 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] [inst_4 : Fact (Module.finrank ℝ V = 2)] [inst_5 : Module.Oriented ℝ V (Fin 2)]
  {p p₁ p₂ p₃ : P},
  AffineIndependent ℝ ![p₁, p₂, p₃] →
    (dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₂]) p) =
        dist p ↑((EuclideanGeometry.orthogonalProjection line[ℝ, p₁, p₃]) p) ↔
      2 • EuclideanGeometry.oangle p₂ p₁ p = 2 • EuclideanGeometry.oangle p p₁ p₃)

A point p is equidistant to two different lines p₁ p₂ and p₁ p₃ if and only if the oriented angles at p₁ are equal modulo π.