Skip to content

[Merged by Bors] - refactor(Geometry/Manifold/MFDeriv): split file#9565

Closed
grunweg wants to merge 15 commits intomasterfrom
MR-split-mfderiv
Closed

[Merged by Bors] - refactor(Geometry/Manifold/MFDeriv): split file#9565
grunweg wants to merge 15 commits intomasterfrom
MR-split-mfderiv

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Jan 8, 2024

With about 2200 lines, this is the largest file in Geometry/Manifolds.


  • Can be reviewed commit by commit. (I adjusted imports later, but the substance of each commit stands on its own.)

  • This file was very well structured; this made splitting it much easier. Thanks to all the previous authors!

  • I'm open to splitting the moving of the main file into a separate commit (to preserve blame information better).

  • My apologies for sneaking in one dot notation change; it's hard to rebase it out now :-(

  • depends on: [Merged by Bors] - chore: move Geometry/Manifold/MFDeriv #9588

grunweg added 10 commits January 8, 2024 21:35
A few drive-by changes which were almost necessary.
- the file docstring is almost entirely new (the old main docstring didn't
mention this at all),
- remove autoImplicit (just had to add one variable {x : M}),
- fix a few typos in docstrings --- just spelling or grammar.
…ate file.

- The module docstring was partially present, but was incomplete.
- Update the module docstring in Basic.lean for the moving, and indicate
what the other files have now.
- Make all my newly created files build: adjust imports for the further split.
- the module docstring was also mostly new (but easy to create)
- the universe level was unused
- implicit variables were only used once (hence removed)
@jcommelin
Copy link
Copy Markdown
Member

* I'm open to splitting the moving of the main file into a separate commit (to preserve blame information better).

If you could do this: yes please!

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Jan 9, 2024
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Jan 9, 2024

* I'm open to splitting the moving of the main file into a separate commit (to preserve blame information better).

If you could do this: yes please!

Split into #9588.

@grunweg grunweg added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Jan 9, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jan 15, 2024
To preserve most git history when splitting the file in #9565.
@ghost ghost removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jan 15, 2024
@ghost
Copy link
Copy Markdown

ghost commented Jan 15, 2024

This PR/issue depends on:

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 15, 2024
@grunweg grunweg removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 15, 2024
@jcommelin
Copy link
Copy Markdown
Member

Thanks for performing this split!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jan 16, 2024
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2024

Merge conflict.

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 16, 2024
linesthatinterlace pushed a commit that referenced this pull request Jan 16, 2024
To preserve most git history when splitting the file in #9565.
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 16, 2024
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Jan 16, 2024

bors r+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2024

🔒 Permission denied

Existing reviewers: click here to make grunweg a reviewer

@riccardobrasca
Copy link
Copy Markdown
Member

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2024

✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jan 16, 2024
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Jan 16, 2024

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jan 16, 2024
With about 2200 lines, this is the largest file in Geometry/Manifolds.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2024

This PR was included in a batch that was canceled, it will be automatically retried

mathlib-bors bot pushed a commit that referenced this pull request Jan 16, 2024
With about 2200 lines, this is the largest file in Geometry/Manifolds.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 16, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(Geometry/Manifold/MFDeriv): split file [Merged by Bors] - refactor(Geometry/Manifold/MFDeriv): split file Jan 16, 2024
@mathlib-bors mathlib-bors bot closed this Jan 16, 2024
@mathlib-bors mathlib-bors bot deleted the MR-split-mfderiv branch January 16, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). ready-to-merge This PR has been sent to bors. t-differential-geometry Manifolds etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants