The areas / V22. Affine, Euclidean and convex geometry
Mathlib.Geometry.Euclidean.Angle.Unoriented.Affine
73 declarations. Mathlib docs · Source
def EuclideanGeometry.angle E1 #
{V : Type u_1} →
{P : Type u_2} →
[inst : NormedAddCommGroup V] →
[InnerProductSpace ℝ V] → [inst_2 : MetricSpace P] → [NormedAddTorsor V P] → P → P → P → ℝ
The undirected angle at p₂ between the line segments to p₁ and
p₃. If either of those points equals p₂, this is π/2. Use
open scoped EuclideanGeometry to access the ∠ p₁ p₂ p₃
notation.
def EuclideanGeometry.«term∠» E1 #
Lean.ParserDescr
The undirected angle at p₂ between the line segments to p₁ and
p₃. If either of those points equals p₂, this is π/2. Use
open scoped EuclideanGeometry to access the ∠ p₁ p₂ p₃
notation.
theorem EuclideanGeometry.continuousAt_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] {x : P × P × P},
x.1 ≠ x.2.1 → x.2.2 ≠ x.2.1 → ContinuousAt (fun y ↦ EuclideanGeometry.angle y.1 y.2.1 y.2.2) x
theorem AffineIsometry.angle_map 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] {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₂)
(p₁ p₂ p₃ : P), EuclideanGeometry.angle (f p₁) (f p₂) (f p₃) = EuclideanGeometry.angle p₁ p₂ p₃
theorem AffineSubspace.angle_coe 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] {s : AffineSubspace ℝ P} (p₁ p₂ p₃ : ↥s),
EuclideanGeometry.angle ↑p₁ ↑p₂ ↑p₃ = EuclideanGeometry.angle p₁ p₂ p₃
theorem EuclideanGeometry.angle_homothety 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₃ : P) {r : ℝ},
r ≠ 0 →
EuclideanGeometry.angle ((AffineMap.homothety p r) p₁) ((AffineMap.homothety p r) p₂)
((AffineMap.homothety p r) p₃) =
EuclideanGeometry.angle p₁ p₂ p₃
A homothety with a nonzero scale factor preserves angles.
theorem EuclideanGeometry.angle_const_vadd 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] (v : V) (p₁ p₂ p₃ : P),
EuclideanGeometry.angle (v +ᵥ p₁) (v +ᵥ p₂) (v +ᵥ p₃) = EuclideanGeometry.angle p₁ p₂ p₃
Angles are translation invariant.
theorem EuclideanGeometry.angle_vadd_const 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] (v₁ v₂ v₃ : V) (p : P),
EuclideanGeometry.angle (v₁ +ᵥ p) (v₂ +ᵥ p) (v₃ +ᵥ p) = EuclideanGeometry.angle v₁ v₂ v₃
Angles are translation invariant.
theorem EuclideanGeometry.angle_const_vsub 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₃ : P),
EuclideanGeometry.angle (p -ᵥ p₁) (p -ᵥ p₂) (p -ᵥ p₃) = EuclideanGeometry.angle p₁ p₂ p₃
Angles are translation invariant.
theorem EuclideanGeometry.angle_vsub_const 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 : P),
EuclideanGeometry.angle (p₁ -ᵥ p) (p₂ -ᵥ p) (p₃ -ᵥ p) = EuclideanGeometry.angle p₁ p₂ p₃
Angles are translation invariant.
theorem EuclideanGeometry.angle_add_const E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (v₁ v₂ v₃ v : V),
EuclideanGeometry.angle (v₁ + v) (v₂ + v) (v₃ + v) = EuclideanGeometry.angle v₁ v₂ v₃
Angles in a vector space are translation invariant.
theorem EuclideanGeometry.angle_const_add E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (v v₁ v₂ v₃ : V),
EuclideanGeometry.angle (v + v₁) (v + v₂) (v + v₃) = EuclideanGeometry.angle v₁ v₂ v₃
Angles in a vector space are translation invariant.
theorem EuclideanGeometry.angle_sub_const E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (v₁ v₂ v₃ v : V),
EuclideanGeometry.angle (v₁ - v) (v₂ - v) (v₃ - v) = EuclideanGeometry.angle v₁ v₂ v₃
Angles in a vector space are translation invariant.
theorem EuclideanGeometry.angle_const_sub E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (v v₁ v₂ v₃ : V),
EuclideanGeometry.angle (v - v₁) (v - v₂) (v - v₃) = EuclideanGeometry.angle v₁ v₂ v₃
Angles in a vector space are invariant under inversion.
theorem EuclideanGeometry.angle_neg E0 #
∀ {V : Type u_1} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] (v₁ v₂ v₃ : V),
EuclideanGeometry.angle (-v₁) (-v₂) (-v₃) = EuclideanGeometry.angle v₁ v₂ v₃
Angles in a vector space are invariant under inversion.
theorem EuclideanGeometry.angle_smul_right_of_pos 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₂ p₃ p₄ : P} {r : ℝ},
0 < r → r • (p₄ -ᵥ p₂) = p₃ -ᵥ p₂ → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₁ p₂ p₄
theorem EuclideanGeometry.angle_smul_left_of_pos 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₄ : P} (p₃ : P) {r : ℝ},
0 < r → r • (p₄ -ᵥ p₂) = p₁ -ᵥ p₂ → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₄ p₂ p₃
theorem EuclideanGeometry.angle_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₃ : P), EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₃ p₂ p₁
The angle at a point does not depend on the order of the other two points.
theorem EuclideanGeometry.angle_nonneg 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₃ : P), 0 ≤ EuclideanGeometry.angle p₁ p₂ p₃
The angle at a point is nonnegative.
theorem EuclideanGeometry.angle_le_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] (p₁ p₂ p₃ : P), EuclideanGeometry.angle p₁ p₂ p₃ ≤ Real.pi
The angle at a point is at most π.
theorem EuclideanGeometry.angle_self_left 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), EuclideanGeometry.angle p₀ p₀ p = Real.pi / 2
The angle ∠AAB at a point is always π / 2.
theorem EuclideanGeometry.angle_self_right 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), EuclideanGeometry.angle p p₀ p₀ = Real.pi / 2
The angle ∠ABB at a point is always π / 2.
theorem EuclideanGeometry.angle_self_of_ne 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}, p ≠ p₀ → EuclideanGeometry.angle p p₀ p = 0
The angle ∠ABA at a point is 0, unless A = B.
theorem EuclideanGeometry.angle_eq_zero_of_angle_eq_pi_left 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₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → EuclideanGeometry.angle p₂ p₁ p₃ = 0
If the angle ∠ABC at a point is π, the angle ∠BAC is 0.
theorem EuclideanGeometry.angle_eq_zero_of_angle_eq_pi_right 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₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → EuclideanGeometry.angle p₂ p₃ p₁ = 0
If the angle ∠ABC at a point is π, the angle ∠BCA is 0.
theorem EuclideanGeometry.angle_eq_angle_of_angle_eq_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] (p₁ : P) {p₂ p₃ p₄ : P},
EuclideanGeometry.angle p₂ p₃ p₄ = Real.pi → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₁ p₂ p₄
If ∠BCD = π, then ∠ABC = ∠ABD.
theorem EuclideanGeometry.angle_add_angle_eq_pi_of_angle_eq_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] (p₁ : P) {p₂ p₃ p₄ : P},
EuclideanGeometry.angle p₂ p₃ p₄ = Real.pi →
EuclideanGeometry.angle p₁ p₃ p₂ + EuclideanGeometry.angle p₁ p₃ p₄ = Real.pi
If ∠BCD = π, then ∠ACB + ∠ACD = π.
theorem EuclideanGeometry.angle_eq_angle_of_angle_eq_pi_of_angle_eq_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] {p₁ p₂ p₃ p₄ p₅ : P},
EuclideanGeometry.angle p₁ p₅ p₃ = Real.pi →
EuclideanGeometry.angle p₂ p₅ p₄ = Real.pi → EuclideanGeometry.angle p₁ p₅ p₂ = EuclideanGeometry.angle p₃ p₅ p₄
Vertical Angles Theorem: angles opposite each other, formed by two intersecting straight lines, are equal.
theorem EuclideanGeometry.left_dist_ne_zero_of_angle_eq_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] {p₁ p₂ p₃ : P}, EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → dist p₁ p₂ ≠ 0
If ∠ABC = π then dist A B ≠ 0.
theorem EuclideanGeometry.right_dist_ne_zero_of_angle_eq_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] {p₁ p₂ p₃ : P}, EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → dist p₃ p₂ ≠ 0
If ∠ABC = π then dist C B ≠ 0.
theorem EuclideanGeometry.dist_eq_add_dist_of_angle_eq_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] {p₁ p₂ p₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → dist p₁ p₃ = dist p₁ p₂ + dist p₃ p₂
If ∠ABC = π, then (dist A C) = (dist A B) + (dist B C).
theorem EuclideanGeometry.dist_eq_add_dist_iff_angle_eq_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] {p₁ p₂ p₃ : P},
p₁ ≠ p₂ → p₃ ≠ p₂ → (dist p₁ p₃ = dist p₁ p₂ + dist p₃ p₂ ↔ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi)
If A ≠ B and C ≠ B then ∠ABC = π if and only if (dist A C) = (dist A B) + (dist B C).
theorem EuclideanGeometry.dist_eq_abs_sub_dist_of_angle_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] {p₁ p₂ p₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = 0 → dist p₁ p₃ = |dist p₁ p₂ - dist p₃ p₂|
If ∠ABC = 0, then (dist A C) = abs ((dist A B) - (dist B C)).
theorem EuclideanGeometry.dist_eq_abs_sub_dist_iff_angle_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] {p₁ p₂ p₃ : P},
p₁ ≠ p₂ → p₃ ≠ p₂ → (dist p₁ p₃ = |dist p₁ p₂ - dist p₃ p₂| ↔ EuclideanGeometry.angle p₁ p₂ p₃ = 0)
If A ≠ B and C ≠ B then ∠ABC = 0 if and only if (dist A C) = abs ((dist A B) - (dist B C)).
theorem EuclideanGeometry.angle_midpoint_eq_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] (p₁ p₂ : P), p₁ ≠ p₂ → EuclideanGeometry.angle p₁ (midpoint ℝ p₁ p₂) p₂ = Real.pi
If M is the midpoint of the segment AB, then ∠AMB = π.
theorem EuclideanGeometry.angle_left_midpoint_eq_pi_div_two_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] {p₁ p₂ p₃ : P},
dist p₃ p₁ = dist p₃ p₂ → EuclideanGeometry.angle p₃ (midpoint ℝ p₁ p₂) p₁ = Real.pi / 2
If M is the midpoint of the segment AB and C is the same distance from A as it is from B then ∠CMA = π / 2.
theorem EuclideanGeometry.angle_right_midpoint_eq_pi_div_two_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] {p₁ p₂ p₃ : P},
dist p₃ p₁ = dist p₃ p₂ → EuclideanGeometry.angle p₃ (midpoint ℝ p₁ p₂) p₂ = Real.pi / 2
If M is the midpoint of the segment AB and C is the same distance from A as it is from B then ∠CMB = π / 2.
theorem Sbtw.angle₁₂₃_eq_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi
If the second of three points is strictly between the other two, the angle at that point is π.
theorem Sbtw.angle₃₂₁_eq_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₃ p₂ p₁ = Real.pi
If the second of three points is strictly between the other two, the angle at that point (reversed) is π.
theorem EuclideanGeometry.angle_eq_pi_iff_sbtw 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₃ : P}, EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi ↔ Sbtw ℝ p₁ p₂ p₃
The angle between three points is π if and only if the second point is strictly between the other two.
theorem Wbtw.angle₂₁₃_eq_zero_of_ne 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₃ : P}, Wbtw ℝ p₁ p₂ p₃ → p₂ ≠ p₁ → EuclideanGeometry.angle p₂ p₁ p₃ = 0
If the second of three points is weakly between the other two, and not equal to the first, the angle at the first point is zero.
theorem Sbtw.angle₂₁₃_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₂ p₁ p₃ = 0
If the second of three points is strictly between the other two, the angle at the first point is zero.
theorem Wbtw.angle₃₁₂_eq_zero_of_ne 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₃ : P}, Wbtw ℝ p₁ p₂ p₃ → p₂ ≠ p₁ → EuclideanGeometry.angle p₃ p₁ p₂ = 0
If the second of three points is weakly between the other two, and not equal to the first, the angle at the first point (reversed) is zero.
theorem Sbtw.angle₃₁₂_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₃ p₁ p₂ = 0
If the second of three points is strictly between the other two, the angle at the first point (reversed) is zero.
theorem Wbtw.angle₂₃₁_eq_zero_of_ne 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₃ : P}, Wbtw ℝ p₁ p₂ p₃ → p₂ ≠ p₃ → EuclideanGeometry.angle p₂ p₃ p₁ = 0
If the second of three points is weakly between the other two, and not equal to the third, the angle at the third point is zero.
theorem Sbtw.angle₂₃₁_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₂ p₃ p₁ = 0
If the second of three points is strictly between the other two, the angle at the third point is zero.
theorem Wbtw.angle₁₃₂_eq_zero_of_ne 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₃ : P}, Wbtw ℝ p₁ p₂ p₃ → p₂ ≠ p₃ → EuclideanGeometry.angle p₁ p₃ p₂ = 0
If the second of three points is weakly between the other two, and not equal to the third, the angle at the third point (reversed) is zero.
theorem Sbtw.angle₁₃₂_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] {p₁ p₂ p₃ : P}, Sbtw ℝ p₁ p₂ p₃ → EuclideanGeometry.angle p₁ p₃ p₂ = 0
If the second of three points is strictly between the other two, the angle at the third point (reversed) is zero.
theorem EuclideanGeometry.angle_eq_zero_iff_ne_and_wbtw 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₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = 0 ↔ p₁ ≠ p₂ ∧ Wbtw ℝ p₂ p₁ p₃ ∨ p₃ ≠ p₂ ∧ Wbtw ℝ p₂ p₃ p₁
The angle between three points is zero if and only if one of the first and third points is weakly between the other two, and not equal to the second.
theorem EuclideanGeometry.angle_eq_zero_iff_eq_and_ne_or_sbtw 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₃ : P},
EuclideanGeometry.angle p₁ p₂ p₃ = 0 ↔ p₁ = p₃ ∧ p₁ ≠ p₂ ∨ Sbtw ℝ p₂ p₁ p₃ ∨ Sbtw ℝ p₂ p₃ p₁
The angle between three points is zero if and only if one of the first and third points is strictly between the other two, or those two points are equal but not equal to the second.
theorem Sbtw.angle_eq_right 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 : P} (p₁ : P),
Sbtw ℝ p₂ p₃ p → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₁ p₂ p
An Unoriented angle is unchanged by replacing the third point by one strictly further away on the same ray.
theorem Sbtw.angle_eq_left 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₂ : P} (p₃ : P),
Sbtw ℝ p₂ p₁ p → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p p₂ p₃
An Unoriented angle is unchanged by replacing the first point by one strictly further away on the same ray.
theorem Wbtw.angle_eq_right 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 : P} (p₁ : P),
Wbtw ℝ p₂ p₃ p → p₃ ≠ p₂ → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p₁ p₂ p
An Unoriented angle is unchanged by replacing the third point by one weakly further away on the same ray.
theorem Wbtw.angle_eq_left 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₂ : P} (p₃ : P),
Wbtw ℝ p₂ p₁ p → p₁ ≠ p₂ → EuclideanGeometry.angle p₁ p₂ p₃ = EuclideanGeometry.angle p p₂ p₃
An Unoriented angle is unchanged by replacing the first point by one weakly further away on the same ray.
theorem EuclideanGeometry.angle_pointReflection_right 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₃ : P},
EuclideanGeometry.angle p₁ p₂ ((AffineEquiv.pointReflection ℝ p₂) p₃) = Real.pi - EuclideanGeometry.angle p₁ p₂ p₃
theorem EuclideanGeometry.collinear_iff_eq_or_eq_or_angle_eq_zero_or_angle_eq_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] {p₁ p₂ p₃ : P},
Collinear ℝ {p₁, p₂, p₃} ↔
p₁ = p₂ ∨ p₃ = p₂ ∨ EuclideanGeometry.angle p₁ p₂ p₃ = 0 ∨ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi
Three points are collinear if and only if the first or third point equals the second or the angle between them is 0 or π.
theorem EuclideanGeometry.collinear_of_angle_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] {p₁ p₂ p₃ : P}, EuclideanGeometry.angle p₁ p₂ p₃ = 0 → Collinear ℝ {p₁, p₂, p₃}
If the angle between three points is 0, they are collinear.
theorem EuclideanGeometry.collinear_of_angle_eq_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] {p₁ p₂ p₃ : P}, EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi → Collinear ℝ {p₁, p₂, p₃}
If the angle between three points is π, they are collinear.
theorem EuclideanGeometry.angle_ne_zero_of_not_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₂ p₃ : P}, ¬Collinear ℝ {p₁, p₂, p₃} → EuclideanGeometry.angle p₁ p₂ p₃ ≠ 0
If three points are not collinear, the angle between them is nonzero.
theorem EuclideanGeometry.angle_ne_pi_of_not_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₂ p₃ : P}, ¬Collinear ℝ {p₁, p₂, p₃} → EuclideanGeometry.angle p₁ p₂ p₃ ≠ Real.pi
If three points are not collinear, the angle between them is not π.
theorem EuclideanGeometry.angle_pos_of_not_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₂ p₃ : P}, ¬Collinear ℝ {p₁, p₂, p₃} → 0 < EuclideanGeometry.angle p₁ p₂ p₃
If three points are not collinear, the angle between them is positive.
theorem EuclideanGeometry.angle_lt_pi_of_not_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₂ p₃ : P}, ¬Collinear ℝ {p₁, p₂, p₃} → EuclideanGeometry.angle p₁ p₂ p₃ < Real.pi
If three points are not collinear, the angle between them is less than π.
theorem EuclideanGeometry.cos_eq_one_iff_angle_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] {p₁ p₂ p₃ : P},
Real.cos (EuclideanGeometry.angle p₁ p₂ p₃) = 1 ↔ EuclideanGeometry.angle p₁ p₂ p₃ = 0
The cosine of the angle between three points is 1 if and only if the angle is 0.
theorem EuclideanGeometry.cos_eq_zero_iff_angle_eq_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] {p₁ p₂ p₃ : P},
Real.cos (EuclideanGeometry.angle p₁ p₂ p₃) = 0 ↔ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi / 2
The cosine of the angle between three points is 0 if and only if the angle is π / 2.
theorem EuclideanGeometry.cos_eq_neg_one_iff_angle_eq_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] {p₁ p₂ p₃ : P},
Real.cos (EuclideanGeometry.angle p₁ p₂ p₃) = -1 ↔ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi
The cosine of the angle between three points is -1 if and only if the angle is π.
theorem EuclideanGeometry.sin_eq_zero_iff_angle_eq_zero_or_angle_eq_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] {p₁ p₂ p₃ : P},
Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) = 0 ↔
EuclideanGeometry.angle p₁ p₂ p₃ = 0 ∨ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi
The sine of the angle between three points is 0 if and only if the angle is 0 or π.
theorem EuclideanGeometry.sin_eq_one_iff_angle_eq_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] {p₁ p₂ p₃ : P},
Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) = 1 ↔ EuclideanGeometry.angle p₁ p₂ p₃ = Real.pi / 2
The sine of the angle between three points is 1 if and only if the angle is π / 2.
theorem EuclideanGeometry.collinear_iff_eq_or_eq_or_sin_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] {p₁ p₂ p₃ : P},
Collinear ℝ {p₁, p₂, p₃} ↔ p₁ = p₂ ∨ p₃ = p₂ ∨ Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) = 0
Three points are collinear if and only if the first or third point equals the second or the sine of the angle between three points is zero.
theorem EuclideanGeometry.sin_pos_of_not_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₂ p₃ : P},
¬Collinear ℝ {p₁, p₂, p₃} → 0 < Real.sin (EuclideanGeometry.angle p₁ p₂ p₃)
If three points are not collinear, the sine of the angle between them is positive.
theorem EuclideanGeometry.sin_ne_zero_of_not_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₂ p₃ : P},
¬Collinear ℝ {p₁, p₂, p₃} → Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) ≠ 0
If three points are not collinear, the sine of the angle between them is nonzero.
theorem EuclideanGeometry.collinear_of_sin_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] {p₁ p₂ p₃ : P},
Real.sin (EuclideanGeometry.angle p₁ p₂ p₃) = 0 → Collinear ℝ {p₁, p₂, p₃}
If the sine of the angle between three points is 0, they are collinear.
theorem Collinear.sin_angle_eq_right 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 s : P},
Collinear ℝ {q, r, s} →
q ≠ r → r ≠ s → Real.sin (EuclideanGeometry.angle p r q) = Real.sin (EuclideanGeometry.angle p r s)
When q, r and s are collinear, ∠ p r q and ∠ p r s are either equal or complementary,
so their Real.sin are equal.
theorem Collinear.sin_angle_eq_left 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 s : P},
Collinear ℝ {q, r, s} →
q ≠ r → r ≠ s → Real.sin (EuclideanGeometry.angle q r p) = Real.sin (EuclideanGeometry.angle s r p)