The areas / V22. Affine, Euclidean and convex geometry
Mathlib.Geometry.Euclidean.Angle.Incenter
23 declarations. Mathlib docs · Source
Angles and incenters and excenters.
This file proves lemmas relating incenters and excenters of a simplex to angle bisection.
theorem Affine.Simplex.ExcenterExists.angle_excenter_touchpoint_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] {n : ℕ} [inst_4 : NeZero n] {s : Affine.Simplex ℝ P n} {signs : Finset (Fin (n + 1))},
s.ExcenterExists signs →
∀ {p : P} {i₁ i₂ : Fin (n + 1)},
p ∈ affineSpan ℝ (Set.range (s.faceOpposite i₁).points) →
p ∈ affineSpan ℝ (Set.range (s.faceOpposite i₂).points) →
EuclideanGeometry.angle (s.excenter signs) p (s.touchpoint signs i₁) =
EuclideanGeometry.angle (s.excenter signs) p (s.touchpoint signs i₂)
An excenter of a simplex bisects the angle at a point shared between two faces, as measured between that excenter and its touchpoints on those faces.
theorem Affine.Simplex.angle_incenter_touchpoint_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] {n : ℕ} [inst_4 : NeZero n] {s : Affine.Simplex ℝ P n} {p : P} {i₁ i₂ : Fin (n + 1)},
p ∈ affineSpan ℝ (Set.range (s.faceOpposite i₁).points) →
p ∈ affineSpan ℝ (Set.range (s.faceOpposite i₂).points) →
EuclideanGeometry.angle s.incenter p (s.touchpoint ∅ i₁) =
EuclideanGeometry.angle s.incenter p (s.touchpoint ∅ i₂)
The incenter of a simplex bisects the angle at a point shared between two faces, as measured between the incenter and its touchpoints on those faces.
theorem Affine.Simplex.exists_excenterExists_and_eq_excenter_of_forall_angle_orthogonalProjectionSpan_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] {n : ℕ} [inst_4 : NeZero n] {s : Affine.Simplex ℝ P n} {p : P},
p ∈ affineSpan ℝ (Set.range s.points) →
∀ {i₁ : Fin (n + 1)},
(∀ (i₂ : Fin (n + 1)),
i₂ ≠ i₁ →
∃ p' ∈ affineSpan ℝ (Set.range (s.faceOpposite i₁).points),
p' ∈ affineSpan ℝ (Set.range (s.faceOpposite i₂).points) ∧
EuclideanGeometry.angle p p' ↑((s.faceOpposite i₁).orthogonalProjectionSpan p) =
EuclideanGeometry.angle p p' ↑((s.faceOpposite i₂).orthogonalProjectionSpan p)) →
∃ signs, s.ExcenterExists signs ∧ p = s.excenter signs
Given a face of a simplex, if a point bisects the angle between that face and each other face, as measured at points shared between those faces between that point and its projections onto the faces, that point is an excenter of the simplex.
theorem Affine.Triangle.dist_orthogonalProjectionSpan_faceOpposite_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] [hd2 : Fact (Module.finrank ℝ V = 2)] [inst_4 : Module.Oriented ℝ V (Fin 2)]
{t : Affine.Triangle ℝ P} {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
∀ {p : P},
dist p ↑((Affine.Simplex.faceOpposite t i₃).orthogonalProjectionSpan p) =
dist p ↑((Affine.Simplex.faceOpposite t i₂).orthogonalProjectionSpan p) ↔
2 • EuclideanGeometry.oangle (t.points i₂) (t.points i₁) p =
2 • EuclideanGeometry.oangle p (t.points i₁) (t.points i₃)
A point p is equidistant to two sides of a triangle if and only if the oriented angles at
their common vertex are equal modulo π.
theorem Affine.Triangle.two_zsmul_oangle_excenter_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] [hd2 : Fact (Module.finrank ℝ V = 2)] [inst_4 : Module.Oriented ℝ V (Fin 2)]
(t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
∀ (signs : Finset (Fin 3)),
2 • EuclideanGeometry.oangle (t.points i₂) (t.points i₁) (Affine.Simplex.excenter t signs) =
2 • EuclideanGeometry.oangle (Affine.Simplex.excenter t signs) (t.points i₁) (t.points i₃)
An excenter of a triangle bisects the angle at a vertex modulo π.
theorem Affine.Triangle.oangle_incenter_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] [hd2 : Fact (Module.finrank ℝ V = 2)] [inst_4 : Module.Oriented ℝ V (Fin 2)]
(t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.oangle (t.points i₂) (t.points i₁) (Affine.Simplex.incenter t) =
EuclideanGeometry.oangle (Affine.Simplex.incenter t) (t.points i₁) (t.points i₃)
The incenter of a triangle bisects the angle at a vertex.
theorem Affine.Triangle.oangle_excenter_singleton_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] [hd2 : Fact (Module.finrank ℝ V = 2)] [inst_4 : Module.Oriented ℝ V (Fin 2)]
(t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.oangle (t.points i₂) (t.points i₁) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.oangle (Affine.Simplex.excenter t {i₁}) (t.points i₁) (t.points i₃)
The excenter of a triangle opposite a vertex bisects the angle at that vertex.
theorem Affine.Triangle.oangle_excenter_singleton_eq_add_pi 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] [hd2 : Fact (Module.finrank ℝ V = 2)] [inst_4 : Module.Oriented ℝ V (Fin 2)]
(t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.oangle (t.points i₁) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.oangle (Affine.Simplex.excenter t {i₁}) (t.points i₂) (t.points i₃) + ↑Real.pi
The excenter of a triangle opposite a vertex bisects the exterior angle at another vertex
(that is, the interior angles between vertices and the excenter differ by π).
theorem Affine.Triangle.angle_incenter_eq_angle_div_two 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.incenter t) =
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (t.points i₃) / 2
The incenter of a triangle bisects the angle at a vertex.
theorem Affine.Triangle.two_mul_angle_incenter 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
2 * EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.incenter t) =
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (t.points i₃)
The incenter of a triangle bisects the angle at a vertex.
theorem Affine.Triangle.angle_incenter 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.incenter t) =
EuclideanGeometry.angle (Affine.Simplex.incenter t) (t.points i₁) (t.points i₃)
The incenter of a triangle bisects the angle at a vertex.
theorem Affine.Triangle.angle_excenter_singleton_eq_angle_div_two 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (t.points i₃) / 2
The excenter of a triangle opposite a vertex bisects the angle at that vertex.
theorem Affine.Triangle.two_mul_angle_excenter_singleton 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
2 * EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (t.points i₃)
The excenter of a triangle opposite a vertex bisects the angle at that vertex.
theorem Affine.Triangle.angle_excenter_singleton 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₂) (t.points i₁) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.angle (Affine.Simplex.excenter t {i₁}) (t.points i₁) (t.points i₃)
The excenter of a triangle opposite a vertex bisects the angle at that vertex.
theorem Affine.Triangle.angle_excenter_singleton_eq_angle_add_pi_div_two 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₁) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
(EuclideanGeometry.angle (t.points i₁) (t.points i₂) (t.points i₃) + Real.pi) / 2
The excenter of a triangle opposite a vertex bisects the angle at another vertex.
theorem Affine.Triangle.two_mul_angle_excenter_singleton_eq_angle_add_pi 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
2 * EuclideanGeometry.angle (t.points i₁) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.angle (t.points i₁) (t.points i₂) (t.points i₃) + Real.pi
The excenter of a triangle opposite a vertex bisects the angle at another vertex.
theorem Affine.Triangle.angle_excenter_singleton_eq_pi_sub_angle_div_two 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₃) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
(Real.pi - EuclideanGeometry.angle (t.points i₃) (t.points i₂) (t.points i₁)) / 2
The excenter of a triangle opposite a vertex bisects the angle at another vertex.
theorem Affine.Triangle.two_mul_angle_excenter_singleton_eq_pi_sub_angle 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
2 * EuclideanGeometry.angle (t.points i₃) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
Real.pi - EuclideanGeometry.angle (t.points i₃) (t.points i₂) (t.points i₁)
The excenter of a triangle opposite a vertex bisects the angle at another vertex.
theorem Affine.Triangle.angle_excenter_singleton_sub 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] (t : Affine.Triangle ℝ P) {i₁ i₂ i₃ : Fin 3},
i₁ ≠ i₂ →
i₁ ≠ i₃ →
i₂ ≠ i₃ →
EuclideanGeometry.angle (t.points i₁) (t.points i₂) (Affine.Simplex.excenter t {i₁}) -
EuclideanGeometry.angle (t.points i₃) (t.points i₂) (Affine.Simplex.excenter t {i₁}) =
EuclideanGeometry.angle (t.points i₁) (t.points i₂) (t.points i₃)
The excenter of a triangle opposite a vertex bisects the angle at another vertex.
theorem Affine.Triangle.dist_nsPole_point_eq_dist_nsPole_excenter 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] (t : Affine.Triangle ℝ P) (signs : Finset (Fin 3)) {i₁ i₂ : Fin 3},
i₁ ≠ i₂ →
dist (Affine.Simplex.nsPole t signs i₁) (t.points i₂) =
dist (Affine.Simplex.nsPole t signs i₁) (Affine.Simplex.excenter t signs)
The incenter-excenter lemma, trillium theorem, trident lemma or north/south pole theorem: given a triangle ABC, suppose an angle bisector from A through the incenter or excenter I meets the circumcircle again at X (including the case of an external bisector at A tangent to the circle, in which case X = A). Then XB = XI (= XC, by applying this lemma again).
theorem Affine.Triangle.dist_southPole_point_eq_dist_southPole_incenter 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] (t : Affine.Triangle ℝ P) {i₁ i₂ : Fin 3},
i₁ ≠ i₂ →
dist (Affine.Simplex.southPole t i₁) (t.points i₂) =
dist (Affine.Simplex.southPole t i₁) (Affine.Simplex.incenter t)
The incenter-excenter lemma, trillium theorem, trident lemma or south pole theorem: given a triangle ABC, suppose the angle bisector from A through the incenter I meets the circumcircle again at S. Then SB = SI (= SC, by applying this lemma again).
theorem Affine.Triangle.dist_southPole_point_eq_dist_southPole_excenter 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] (t : Affine.Triangle ℝ P) {i₁ i₂ : Fin 3},
i₁ ≠ i₂ →
dist (Affine.Simplex.southPole t i₁) (t.points i₂) =
dist (Affine.Simplex.southPole t i₁) (Affine.Simplex.excenter t {i₁})
The incenter-excenter lemma, trillium theorem, trident lemma or south pole theorem: given a triangle ABC, suppose the angle bisector from A through the excenter I opposite A meets the circumcircle again at S. Then SB = SI (= SC, by applying this lemma again).
theorem Affine.Triangle.dist_northPole_point_eq_dist_northPole_excenter 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] (t : Affine.Triangle ℝ P) {i₁ i₂ : Fin 3},
i₁ ≠ i₂ → dist (t.northPole i₁) (t.points i₂) = dist (t.northPole i₁) (Affine.Simplex.excenter t {i₂})
The incenter-excenter lemma, trillium theorem, trident lemma or north pole theorem: given a triangle ABC, suppose the angle bisector from A through the excenters not opposite A meets the circumcircle again at N. Then NB = NI (= NC, by applying this lemma again).