feat(Geometry/Euclidean/Angle): the unoriented angle at the center in terms of the angle at the circumference#41123
Conversation
PR summary 6246b7289dImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
awaiting-author |
|
-awaiting-author |
…41143) Adds three lemmas to `Mathlib/Geometry/Euclidean/Sphere/Basic.lean`. - `Sphere.ne_center_of_mem_of_mem_of_ne`: a point of a sphere that differs from another point of the sphere is not its center. Extracted at a reviewer's suggestion; this fact was reproved inline four times across #41121 and #41123. - `norm_vsub_center_eq_radius`: for a point `p` on a sphere `s`, `‖p -ᵥ s.center‖ = s.radius`. This pattern occurs ten times in #34164 and four more times in the present file (twice in `inner_vsub_center_vsub_pos` and twice in `Sphere.dist_center_lt_radius_of_sbtw`); those four in-file occurrences are golfed to use it here. - `Sphere.center_mem_affineSpan_pair_iff_isDiameter`: for two distinct points of a sphere, the center lies on the line through them if and only if those points are the endpoints of a diameter. No mathematical content changes; the existing proofs are only shortened. Co-authored-by: Scarlett-le <735979178@qq.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
|
This PR/issue depends on: |
|
This pull request has conflicts, please merge |
… terms of the angle at the circumference
8ea45f6 to
6246b72
Compare
…eanprover-community#41143) Adds three lemmas to `Mathlib/Geometry/Euclidean/Sphere/Basic.lean`. - `Sphere.ne_center_of_mem_of_mem_of_ne`: a point of a sphere that differs from another point of the sphere is not its center. Extracted at a reviewer's suggestion; this fact was reproved inline four times across leanprover-community#41121 and leanprover-community#41123. - `norm_vsub_center_eq_radius`: for a point `p` on a sphere `s`, `‖p -ᵥ s.center‖ = s.radius`. This pattern occurs ten times in leanprover-community#34164 and four more times in the present file (twice in `inner_vsub_center_vsub_pos` and twice in `Sphere.dist_center_lt_radius_of_sbtw`); those four in-file occurrences are golfed to use it here. - `Sphere.center_mem_affineSpan_pair_iff_isDiameter`: for two distinct points of a sphere, the center lies on the line through them if and only if those points are the endpoints of a diameter. No mathematical content changes; the existing proofs are only shortened. Co-authored-by: Scarlett-le <735979178@qq.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
…eanprover-community#41143) Adds three lemmas to `Mathlib/Geometry/Euclidean/Sphere/Basic.lean`. - `Sphere.ne_center_of_mem_of_mem_of_ne`: a point of a sphere that differs from another point of the sphere is not its center. Extracted at a reviewer's suggestion; this fact was reproved inline four times across leanprover-community#41121 and leanprover-community#41123. - `norm_vsub_center_eq_radius`: for a point `p` on a sphere `s`, `‖p -ᵥ s.center‖ = s.radius`. This pattern occurs ten times in leanprover-community#34164 and four more times in the present file (twice in `inner_vsub_center_vsub_pos` and twice in `Sphere.dist_center_lt_radius_of_sbtw`); those four in-file occurrences are golfed to use it here. - `Sphere.center_mem_affineSpan_pair_iff_isDiameter`: for two distinct points of a sphere, the center lies on the line through them if and only if those points are the endpoints of a diameter. No mathematical content changes; the existing proofs are only shortened. Co-authored-by: Scarlett-le <735979178@qq.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
|
What are the type class hypotheses on the new theorems? It looks to me like they're in a section of the file with assumptions of both |
Adds the unoriented counterpart of
Sphere.oangle_center_eq_two_zsmul_oangle("the angle at thecenter of a circle is twice the angle at the circumference") to
Mathlib/Geometry/Euclidean/Angle/Sphere.lean. Since the unoriented angle at the center lies in[0, π]while twice the angle at the circumference ranges over[0, 2π], two lemmas are needed,splitting at a right angle at the circumference:
Sphere.angle_center_eq_two_mul_angle_of_two_mul_angle_le_pi: when twice the angle at thecircumference is at most
π, the angle at the center equals twice it;Sphere.angle_center_eq_two_pi_sub_two_mul_angle_of_pi_le_two_mul_angle: when it is at leastπ,the angle at the center equals
2 * πminus twice it.Dependencies