-
Notifications
You must be signed in to change notification settings - Fork 964
feat(Geometry/Euclidean/Angle/Unoriented/Affine): Add Theorem about Sbtw.angle_eq and Wbtw.angle_eq #33383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
PR summary c05a1aed8cImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match our commit style conventions. |
| theorem _root_.Sbtw.angle_eq_right {p₁ p₂ p₃ p : P} (h : Sbtw ℝ p₂ p₃ p) : | ||
| ∠ p₁ p₂ p₃ = ∠ p₁ p₂ p := by | ||
| rw [angle, angle] | ||
| have h : ∃ r : ℝ, 0 < r ∧ (p₃ -ᵥ p₂) = r • (p -ᵥ p₂) := by | ||
| have hr := sbtw_iff_mem_image_Ioo_and_ne.mp h | ||
| obtain ⟨hr1, hr2⟩ := hr | ||
| simp only [Set.mem_image, Set.mem_Ioo] at hr1 | ||
| obtain ⟨r, hr1, hr2⟩ := hr1 | ||
| rw [AffineMap.lineMap_apply] at hr2 | ||
| use r; repeat aesop | ||
| obtain ⟨r, hr1,hr2⟩ := h | ||
| rw [hr2] | ||
| apply InnerProductGeometry.angle_smul_right_of_pos | ||
| exact hr1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| theorem _root_.Sbtw.angle_eq_right {p₁ p₂ p₃ p : P} (h : Sbtw ℝ p₂ p₃ p) : | |
| ∠ p₁ p₂ p₃ = ∠ p₁ p₂ p := by | |
| rw [angle, angle] | |
| have h : ∃ r : ℝ, 0 < r ∧ (p₃ -ᵥ p₂) = r • (p -ᵥ p₂) := by | |
| have hr := sbtw_iff_mem_image_Ioo_and_ne.mp h | |
| obtain ⟨hr1, hr2⟩ := hr | |
| simp only [Set.mem_image, Set.mem_Ioo] at hr1 | |
| obtain ⟨r, hr1, hr2⟩ := hr1 | |
| rw [AffineMap.lineMap_apply] at hr2 | |
| use r; repeat aesop | |
| obtain ⟨r, hr1,hr2⟩ := h | |
| rw [hr2] | |
| apply InnerProductGeometry.angle_smul_right_of_pos | |
| exact hr1 | |
| theorem _root_.Sbtw.angle_eq_right {p₁ p₂ p₃ p : P} (h : Sbtw ℝ p₂ p₃ p) : | |
| ∠ p₁ p₂ p₃ = ∠ p₁ p₂ p := | |
| angle_eq_angle_of_angle_eq_pi _ h.angle₁₂₃_eq_pi |
add some theorems about Sbtw.angle_eq and Wbtw.angle_eq.
Main additions
_root_.Sbtw.angle_eq_right_root_.Sbtw.angle_eq_left_root_.Wbtw.angle_eq_right_root_.Wbtw.angle_eq_left