[Merged by Bors] - feat(Geometry/Euclidean/Sphere): add lemmas about points on a sphere#41143
[Merged by Bors] - feat(Geometry/Euclidean/Sphere): add lemmas about points on a sphere#41143Scarlett-le wants to merge 2 commits into
Conversation
PR summary e50a6ccb22Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by jsm28. |
|
As this PR is labelled bors merge |
…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>
|
Pull request successfully merged into master. Build succeeded: |
…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>
…is (#41582) This PR removes the `p₁ ≠ p₂` hypothesis from `Sphere.center_mem_affineSpan_pair_iff_isDiameter`: the iff also holds when the points coincide (both sides then say `p₁ = s.center`), and the neighbouring `isDiameter_iff_*` lemmas carry no distinctness hypotheses. The degenerate case is handled by a one-line `simp`. Follow-up to [#41143 (feat(Geometry/Euclidean/Sphere): lemmas about points on a sphere)](#41143). 🤖 Prepared with Claude Code
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 differsfrom another point of the sphere is not its center. Extracted at a
reviewer's suggestion; this fact was reproved inline four times across
feat(Geometry/Euclidean/Angle): add the Alternate segment theorem #41121 and feat(Geometry/Euclidean/Angle): the unoriented angle at the center in terms of the angle at the circumference #41123.
norm_vsub_center_eq_radius: for a pointpon a spheres,‖p -ᵥ s.center‖ = s.radius. This pattern occurs ten times in feat(Geometry/Euclidean/Sphere): define arcs on spheres #34164 andfour more times in the present file (twice in
inner_vsub_center_vsub_posand twice in
Sphere.dist_center_lt_radius_of_sbtw); those four in-fileoccurrences are golfed to use it here.
Sphere.center_mem_affineSpan_pair_iff_isDiameter: for two distinct pointsof 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.