Repository navigation
feat: signed power of a point and dimension-free power-of-a-point converses - #40651
Scarlett-le wants to merge 5 commits into
Conversation
PR summary 2c1a94b794
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Geometry.Euclidean.Sphere.Power | 2503 | 2418 | -85 (-3.40%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Geometry.Euclidean.Sphere.Power |
-85 |
Mathlib.Geometry.Euclidean.Sphere.Ptolemy |
-5 |
Declarations diff (regex)
+ cos_angle_mul_dist_mul_dist
+ cospherical_of_inner_vsub_eq_inner_vsub
+ cospherical_of_mul_dist_eq_mul_dist_of_angle_eq_zero
+ inner_vsub_vsub_eq_power
+ mem_of_inner_vsub_vsub_eq_power_of_mem_line
- cospherical_of_mul_dist_eq_mul_dist_of_angle_eq_pi_aux
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
2c1a94b).
- +5 new declarations
- −0 removed declarations
+EuclideanGeometry.Sphere.inner_vsub_vsub_eq_power
+EuclideanGeometry.Sphere.mem_of_inner_vsub_vsub_eq_power_of_mem_line
+EuclideanGeometry.cos_angle_mul_dist_mul_dist
+EuclideanGeometry.cospherical_of_inner_vsub_eq_inner_vsub
+EuclideanGeometry.cospherical_of_mul_dist_eq_mul_dist_of_angle_eq_zeroDecrease in strong tech debt: (relative, absolute) = (1.00, 0.00)
| Current number | Change | Type (strong) |
|---|---|---|
| 363 | -1 | adaptation notes |
Current commit 2c1a94b794
Reference commit 06d0af0b87
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
This pull request has conflicts, please merge |
f9d5490 to
41eff4c
Compare
|
This pull request has conflicts, please merge |
# Conflicts: # Mathlib/Geometry/Euclidean/Sphere/Power.lean
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
Keep the signed-power converse proofs while incorporating upstream namespace and proof-style updates. Sort imports to satisfy the current linter. Validated with lake build Mathlib.Geometry.Euclidean.Sphere.Ptolemy, including Sphere.Power and Angle.Unoriented.Affine.
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by jsm28. |
|
This pull request has conflicts, please merge |
This PR reworks the converse direction of the power of a point in
Mathlib/Geometry/Euclidean/Sphere/Power.leanto be dimension-free, and adds the converse of the intersecting secants theorem.Main additions:
Sphere.inner_vsub_vsub_eq_power: the signed power⟪a -ᵥ p, b -ᵥ p⟫of a pointpon a secant line througha, b ∈ sis exactlys.power p; this unifies thechord and secant cases without splitting on the sign.
Sphere.mem_of_inner_vsub_vsub_eq_power_of_mem_line: a one-secant converse.cospherical_of_inner_vsub_eq_inner_vsub: a dimension-free converse to the powerof a point, stated with the signed invariant.
cospherical_of_mul_dist_eq_mul_dist_of_angle_eq_zero: the converse of theintersecting secants theorem (new).
Main change:
cospherical_of_mul_dist_eq_mul_dist_of_angle_eq_pi(converse of the intersectingchords theorem) is reproved via
cospherical_of_inner_vsub_eq_inner_vsub, goingthrough the circumsphere of the triangle
{p₁, p₂, p₃}. It no longer reduces tothe 2D case, so the
[Fact (finrank ℝ V = 2)]/[Module.Oriented ℝ V (Fin 2)]machinery, the private auxiliary lemma, and the
AffineIsometryembedding into theaffine span are all removed. The statement is unchanged.
Imports
Mathlib.Geometry.Euclidean.Angle.SphereandMathlib.Geometry.Euclidean.Similarityare dropped;Mathlib.Geometry.Euclidean.Circumcenteris added.