Skip to content

[Merged by Bors] - chore: remove several stray sections - #14620

Closed
grunweg wants to merge 6 commits into
masterfrom
MR-fixup-sections
Closed

grunweg wants to merge 6 commits into
masterfrom
MR-fixup-sections

Conversation

@grunweg

@grunweg grunweg commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor
  • Topology/Separation: fix typo "section/end"

  • Mathlib/NumberTheory/LSeries/HurwitzZeta.lean: fix typo "namespace/end" In both cases, a second identical section resp. namespace was opened instead of closing the existing one.

  • Topology/ExtremallyDisconnected: remove superfluous anonymous section. The entire file is already inside a noncomputable section; this sections adds nothing on top. (The nested section is also processed as a noncomputable section.)

  • RingTheory/Bialgebra/Basic, RingTheory/HopfAlgebra: remove section CommRing in favour of the namespace CommRing a few lines later

  • ModuleCat/Sheaf/Colimits: remove duplicate namespace SheafOfModules

  • Probability/Distributions/Uniform.lean: this file is inside a noncomputable section already; a second such section (nested right under the first) was superfluous


Open in Gitpod

- Topology/Separation: fix typo "section/end"
- Mathlib/NumberTheory/LSeries/HurwitzZeta.lean: fix typo "namespace/end"
In both cases, a second identical section resp. namespace was *opened*
instead of closing the existing one.

- Topology/ExtremallyDisconnected: remove superfluous anonymous section.
The entire file is already inside a noncomputable section; this sections adds nothing on top.
(The nested section is also processed as a noncomputable section.)

- RingTheory/Bialgebra/Basic, RingTheory/HopfAlgebra: remove section CommRing in favour of the namespace CommRing a few lines later

- remove duplicate namespace SheafOfModules
@github-actions

github-actions Bot commented Jul 10, 2024 •

Copy link
Copy Markdown

PR summary 57144c0fd2

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

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

mathlib-bors Bot pushed a commit that referenced this pull request Jul 10, 2024
…14621)

Automatically generated from the linter in #14378.
#14620 contains a few manual tweaks; these PRs can be landed in any order (and the second one rebased on the first).



Co-authored-by: Michael Rothgang <[email protected]>
@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 Jul 10, 2024
@grunweg grunweg added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Jul 10, 2024
@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 Jul 11, 2024
@adomani

adomani commented Jul 11, 2024

Copy link
Copy Markdown
Contributor

Thanks! The only weird one seems to be the removed section in Mathlib/Topology/ExtremallyDisconnected.lean with no corresponding end. I wonder if that is going to mean that merging master with the "paired up sections" will cause a linter error.

@grunweg

grunweg commented Jul 11, 2024 •

Copy link
Copy Markdown
Contributor Author

Good catch! You're probably right - let's try the new linter on master.

Edit: for the record, this was not required. The end closes a noncomputable section at the file top now, instead of the anonymous section previously created.

@adomani

adomani commented Jul 11, 2024

Copy link
Copy Markdown
Contributor

Since it passes CI, and I'm happy with all the changes,

maintainer merge

Thanks!

@adomani

adomani commented Jul 12, 2024

Copy link
Copy Markdown
Contributor

maintainer merge

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 12, 2024

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jul 12, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jul 12, 2024
- Topology/Separation: fix typo "section/end"
- Mathlib/NumberTheory/LSeries/HurwitzZeta.lean: fix typo "namespace/end" In both cases, a second identical section resp. namespace was *opened* instead of closing the existing one.

- Topology/ExtremallyDisconnected: remove superfluous anonymous section. The entire file is already inside a noncomputable section; this sections adds nothing on top. (The nested section is also processed as a noncomputable section.)

- RingTheory/Bialgebra/Basic, RingTheory/HopfAlgebra: remove section CommRing in favour of the namespace CommRing a few lines later

- ModuleCat/Sheaf/Colimits: remove duplicate namespace SheafOfModules
- Probability/Distributions/Uniform.lean: this file is inside a noncomputable section already; a *second* such section (nested right under the first) was superfluous
@mathlib-bors

mathlib-bors Bot commented Jul 12, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: remove several stray sections [Merged by Bors] - chore: remove several stray sections Jul 12, 2024
@mathlib-bors mathlib-bors Bot closed this Jul 12, 2024
@mathlib-bors
mathlib-bors Bot deleted the MR-fixup-sections branch July 12, 2024 05:30
@adomani adomani mentioned this pull request Aug 1, 2024
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. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants