Skip to content

[Merged by Bors] - chore(AlgebraicGeometry/EllipticCurve/Projective/*): split projective files - #22549

Closed
Multramate wants to merge 9 commits into
masterfrom
EllipticCurve.Projective.Refactor
Closed

Multramate wants to merge 9 commits into
masterfrom
EllipticCurve.Projective.Refactor

Conversation

@Multramate

@Multramate Multramate commented Mar 4, 2025 •

Copy link
Copy Markdown
Collaborator

@Multramate Multramate added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebraic-geometry Algebraic geometry labels Mar 4, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 4, 2025
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Mar 4, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 4, 2025
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 4, 2025
@github-actions

github-actions Bot commented Mar 4, 2025 •

Copy link
Copy Markdown

PR summary 3a53cdfca8

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.AlgebraicGeometry.EllipticCurve.Projective 1466 0 -1466 (-100.00%)
Mathlib.AlgebraicGeometry.EllipticCurve.Group 1547 1546 -1 (-0.06%)
Import changes for all files
Files Import difference
Mathlib.AlgebraicGeometry.EllipticCurve.Projective -1466
3 files Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Degree Mathlib.AlgebraicGeometry.EllipticCurve.Group
-1
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Basic (new file) 1466
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Formula (new file) 1467
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Point (new file) 1549

Declarations diff

+ Affine.Point.toProjective
- WeierstrassCurve.Affine.Point.toProjective
- of

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


Decrease in tech debt: (relative, absolute) = (1.00, 0.03)
Current number Change Type
1220 -1 erw
32 -1 large files

Current commit 3a53cdfca8
Reference commit cdc8210ed5

You can run this locally as

./scripts/technical-debt-metrics.sh 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).

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 4, 2025
@mathlib4-dependent-issues-bot

Copy link
Copy Markdown

@joelriou

joelriou commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Mar 4, 2025
@mathlib-bors

mathlib-bors Bot commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(AlgebraicGeometry/EllipticCurve/Projective/*): split projective files [Merged by Bors] - chore(AlgebraicGeometry/EllipticCurve/Projective/*): split projective files Mar 4, 2025
@mathlib-bors mathlib-bors Bot closed this Mar 4, 2025
@mathlib-bors
mathlib-bors Bot deleted the EllipticCurve.Projective.Refactor branch March 4, 2025 21:23
mathlib-bors Bot pushed a commit that referenced this pull request May 7, 2025
…21356)

The files `Jacobian.lean` and `Projective.lean` are getting too long, and are expecting even more code in the near future, so I believe this is a good time to split them. Naturally, `Affine.lean` and `Group.lean` will be refactored in a similar fashion.

- Refactor `Affine.lean` and `Group.lean` into `Affine/Basic.lean` (API for equations and nonsingularity), `Affine/Formula.lean` (formulae for group operations), and `Affine/Point.lean` (API for points and the group law)

Note that material on the coordinate ring will very likely be refactored to another file `Affine/Universal.lean` in the near future, since this PR is large enough already. The other files are handled in other PRs.

- #22545 splits `Jacobian.lean` into `Jacobian/Basic.lean` (API for weighted triples, equations, and nonsingularity), `Jacobian/Formula.lean` (formulae for group operations), and `Jacobian/Point.lean` (API for points and the group law)
- #22549 splits `Projective.lean` into `Projective/Basic.lean` (API for unweighted triples, equations, and nonsingularity), `Projective/Formula.lean` (formulae for group operations), and `Projective/Point.lean` (API for points and the group law)
riccardobrasca pushed a commit that referenced this pull request May 7, 2025
…21356)

The files `Jacobian.lean` and `Projective.lean` are getting too long, and are expecting even more code in the near future, so I believe this is a good time to split them. Naturally, `Affine.lean` and `Group.lean` will be refactored in a similar fashion.

- Refactor `Affine.lean` and `Group.lean` into `Affine/Basic.lean` (API for equations and nonsingularity), `Affine/Formula.lean` (formulae for group operations), and `Affine/Point.lean` (API for points and the group law)

Note that material on the coordinate ring will very likely be refactored to another file `Affine/Universal.lean` in the near future, since this PR is large enough already. The other files are handled in other PRs.

- #22545 splits `Jacobian.lean` into `Jacobian/Basic.lean` (API for weighted triples, equations, and nonsingularity), `Jacobian/Formula.lean` (formulae for group operations), and `Jacobian/Point.lean` (API for points and the group law)
- #22549 splits `Projective.lean` into `Projective/Basic.lean` (API for unweighted triples, equations, and nonsingularity), `Projective/Formula.lean` (formulae for group operations), and `Projective/Point.lean` (API for points and the group law)
tannerduve pushed a commit that referenced this pull request May 13, 2025
…21356)

The files `Jacobian.lean` and `Projective.lean` are getting too long, and are expecting even more code in the near future, so I believe this is a good time to split them. Naturally, `Affine.lean` and `Group.lean` will be refactored in a similar fashion.

- Refactor `Affine.lean` and `Group.lean` into `Affine/Basic.lean` (API for equations and nonsingularity), `Affine/Formula.lean` (formulae for group operations), and `Affine/Point.lean` (API for points and the group law)

Note that material on the coordinate ring will very likely be refactored to another file `Affine/Universal.lean` in the near future, since this PR is large enough already. The other files are handled in other PRs.

- #22545 splits `Jacobian.lean` into `Jacobian/Basic.lean` (API for weighted triples, equations, and nonsingularity), `Jacobian/Formula.lean` (formulae for group operations), and `Jacobian/Point.lean` (API for points and the group law)
- #22549 splits `Projective.lean` into `Projective/Basic.lean` (API for unweighted triples, equations, and nonsingularity), `Projective/Formula.lean` (formulae for group operations), and `Projective/Point.lean` (API for points and the group law)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-algebraic-geometry Algebraic geometry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants