Skip to content

feat(Geometry/Euclidean/Sphere): line or orthogonal radius through two points - #42859

Open
Scarlett-le wants to merge 4 commits into
leanprover-community:masterfrom
Scarlett-le:feat-sphere-lineOrOrthRadius
Open

Scarlett-le wants to merge 4 commits into
leanprover-community:masterfrom
Scarlett-le:feat-sphere-lineOrOrthRadius

Conversation

@Scarlett-le

Copy link
Copy Markdown
Contributor

feat(Geometry/Euclidean/Sphere): line or orthogonal radius through two points

Define Sphere.lineOrOrthRadius, the affine subspace through two points,
or the orthogonal radius (tangent) at that point when they coincide.

Provide the basic API: membership of both endpoints, commutativity, and a
characterization of its intersection with the sphere as exactly the two
endpoints.

Split off from #34164.

@github-actions

github-actions Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

PR summary 522e9873c2

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ left_mem_lineOrOrthRadius
+ lineOrOrthRadius
+ lineOrOrthRadius_comm
+ lineOrOrthRadius_of_ne
+ lineOrOrthRadius_self
+ mem_lineOrOrthRadius_iff_of_mem_sphere
+ notMem_lineOrOrthRadius_of_mem_sphere
+ right_mem_lineOrOrthRadius

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 522e987).

  • +8 new declarations
  • −0 removed declarations
+EuclideanGeometry.Sphere.left_mem_lineOrOrthRadius
+EuclideanGeometry.Sphere.lineOrOrthRadius
+EuclideanGeometry.Sphere.lineOrOrthRadius_comm
+EuclideanGeometry.Sphere.lineOrOrthRadius_of_ne
+EuclideanGeometry.Sphere.lineOrOrthRadius_self
+EuclideanGeometry.Sphere.mem_lineOrOrthRadius_iff_of_mem_sphere
+EuclideanGeometry.Sphere.notMem_lineOrOrthRadius_of_mem_sphere
+EuclideanGeometry.Sphere.right_mem_lineOrOrthRadius

No changes to strong technical debt.
No changes to weak technical debt.

Current commit 522e9873c2
Reference commit 81cb93dd9d

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 relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-euclidean-geometry Affine and axiomatic geometry label Aug 17, 2026
@jsm28 jsm28 added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Sep 24, 2026
@Scarlett-le

Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 23, 2026
@jsm28

jsm28 commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by jsm28.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. t-euclidean-geometry Affine and axiomatic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants