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

26 declarations. Mathlib docs · Source

def AffineSubspace.perpBisector 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 → AffineSubspace ℝ P

Perpendicular bisector of a segment in a Euclidean affine space.

theorem AffineSubspace.mem_perpBisector_iff_inner_eq_zero' 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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ inner ℝ (p₂ -ᵥ p₁) (c -ᵥ midpoint ℝ p₁ p₂) = 0

A point c belongs the perpendicular bisector of [p₁, p₂] iff p₂ -ᵥ p₁ is orthogonal to c -ᵥ midpoint ℝ p₁ p₂.

theorem AffineSubspace.mem_perpBisector_iff_inner_eq_zero 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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ inner ℝ (c -ᵥ midpoint ℝ p₁ p₂) (p₂ -ᵥ p₁) = 0

A point c belongs the perpendicular bisector of [p₁, p₂] iff c -ᵥ midpoint ℝ p₁ p₂ is orthogonal to p₂ -ᵥ p₁.

theorem AffineSubspace.mem_perpBisector_iff_inner_pointReflection_vsub_eq_zero 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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ inner ℝ ((Equiv.pointReflection c) p₁ -ᵥ p₂) (p₂ -ᵥ p₁) = 0

theorem AffineSubspace.mem_perpBisector_pointReflection_iff_inner_eq_zero 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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ ((Equiv.pointReflection p₂) p₁) ↔ inner ℝ (c -ᵥ p₂) (p₁ -ᵥ p₂) = 0

theorem AffineSubspace.midpoint_mem_perpBisector 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₂ : P), midpoint ℝ p₁ p₂ ∈ AffineSubspace.perpBisector p₁ p₂

theorem AffineSubspace.perpBisector_nonempty 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₂ : P}, (↑(AffineSubspace.perpBisector p₁ p₂)).Nonempty

instance AffineSubspace.instNonemptySubtypeMemRealPerpBisector 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}, Nonempty ↥(AffineSubspace.perpBisector p₁ p₂)

theorem AffineSubspace.direction_perpBisector 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), (AffineSubspace.perpBisector p₁ p₂).direction = (ℝ ∙ (p₂ -ᵥ p₁))ᗮ

theorem AffineSubspace.mem_perpBisector_iff_inner_eq_inner 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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ inner ℝ (c -ᵥ p₁) (p₂ -ᵥ p₁) = inner ℝ (c -ᵥ p₂) (p₁ -ᵥ p₂)

theorem AffineSubspace.mem_perpBisector_iff_inner_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] {c p₁ p₂ : P},
  c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ inner ℝ (c -ᵥ p₁) (p₂ -ᵥ p₁) = dist p₁ p₂ ^ 2 / 2

theorem AffineSubspace.mem_perpBisector_iff_dist_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] {c p₁ p₂ : P}, c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ dist c p₁ = dist c p₂

theorem AffineSubspace.mem_perpBisector_iff_dist_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] {c p₁ p₂ : P}, c ∈ AffineSubspace.perpBisector p₁ p₂ ↔ dist p₁ c = dist p₂ c

theorem AffineSubspace.perpBisector_comm 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₂ : P), AffineSubspace.perpBisector p₁ p₂ = AffineSubspace.perpBisector p₂ p₁

theorem AffineSubspace.right_mem_perpBisector 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₂ ∈ AffineSubspace.perpBisector p₁ p₂ ↔ p₁ = p₂

theorem AffineSubspace.left_mem_perpBisector 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₁ ∈ AffineSubspace.perpBisector p₁ p₂ ↔ p₁ = p₂

theorem AffineSubspace.perpBisector_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), AffineSubspace.perpBisector p p = ⊤

theorem AffineSubspace.perpBisector_eq_top 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}, AffineSubspace.perpBisector p₁ p₂ = ⊤ ↔ p₁ = p₂

theorem AffineSubspace.perpBisector_ne_bot 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}, AffineSubspace.perpBisector p₁ p₂ ≠ ⊥

theorem EuclideanGeometry.dist_lt_of_sbtw_of_inner_eq_zero 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] {a b c p : P}, Sbtw ℝ a b c → inner ℝ (p -ᵥ a) (b -ᵥ a) = 0 → dist p b < dist p c

If b is strictly between a and c, and p -ᵥ a is orthogonal to b -ᵥ a, then p is closer to b than to c.

theorem EuclideanGeometry.dist_le_of_wbtw_of_inner_eq_zero 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] {a b c p : P}, Wbtw ℝ a b c → inner ℝ (p -ᵥ a) (c -ᵥ a) = 0 → dist p b ≤ dist p c

If b is weakly between a and c, and p -ᵥ a is orthogonal to c -ᵥ a, then p is at least as close to b as to c.

theorem EuclideanGeometry.dist_lt_of_sbtw_of_mem_perpBisector 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] {a b c p : P}, Sbtw ℝ a b c → p ∈ AffineSubspace.perpBisector a b → dist p b < dist p c

If p lies on the perpendicular bisector of ab and b is strictly between a and c, then p is closer to b than to c.

theorem EuclideanGeometry.dist_le_of_wbtw_of_mem_perpBisector 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] {a b c p : P},
  Wbtw ℝ a b c → a ≠ b → p ∈ AffineSubspace.perpBisector a b → dist p b ≤ dist p c

If p lies on the perpendicular bisector of ab and b is weakly between a and c, then p is at least as close to b as to c.

theorem EuclideanGeometry.inner_vsub_vsub_of_dist_eq_of_dist_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] {c₁ c₂ p₁ p₂ : P},
  dist p₁ c₁ = dist p₂ c₁ → dist p₁ c₂ = dist p₂ c₂ → inner ℝ (c₂ -ᵥ c₁) (p₂ -ᵥ p₁) = 0

Suppose that c₁ is equidistant from p₁ and p₂, and the same applies to c₂. Then the vector between c₁ and c₂ is orthogonal to that between p₁ and p₂. (In two dimensions, this says that the diagonals of a kite are orthogonal.)

theorem Isometry.preimage_perpBisector 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] {V' : Type u_3} {P' : Type u_4} [inst_4 : NormedAddCommGroup V']
  [inst_5 : InnerProductSpace ℝ V'] [inst_6 : MetricSpace P'] [inst_7 : NormedAddTorsor V' P'] {f : P → P'},
  Isometry f → ∀ (p₁ p₂ : P), f ⁻¹' ↑(AffineSubspace.perpBisector (f p₁) (f p₂)) = ↑(AffineSubspace.perpBisector p₁ p₂)

theorem Isometry.mapsTo_perpBisector 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] {V' : Type u_3} {P' : Type u_4} [inst_4 : NormedAddCommGroup V']
  [inst_5 : InnerProductSpace ℝ V'] [inst_6 : MetricSpace P'] [inst_7 : NormedAddTorsor V' P'] {f : P → P'},
  Isometry f →
    ∀ (p₁ p₂ : P), Set.MapsTo f ↑(AffineSubspace.perpBisector p₁ p₂) ↑(AffineSubspace.perpBisector (f p₁) (f p₂))