Skip to content

[Merged by Bors] - chore(Algebra/Small): move files to respective folders - #26780

Closed
YaelDillies wants to merge 1 commit into
leanprover-community:masterfrom
YaelDillies:move_algebra_small
Closed

YaelDillies wants to merge 1 commit into
leanprover-community:masterfrom
YaelDillies:move_algebra_small

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Jul 5, 2025 •

Copy link
Copy Markdown
Contributor

Move Algebra.Small.Group to Algebra.Group.Shrink, Algebra.Small.Ring to Algebra.Ring.Shrink, Algebra.Small.Module to Algebra.Module.Shrink.

The new names are better because being small is not a property that the algebra library is structured along, while talking about groups vs rings vs modules is.

Split off #26732 for Eric's convenience.


Open in Gitpod

Move `Algebra.Small.Group` to `Algebra.Group.Shrink`, `Algebra.Small.Ring` to `Algebra.Ring.Shrink`, `Algebra.Small.Module` to `Algebra.Module.Shrink`.
@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Jul 5, 2025
@github-actions

github-actions Bot commented Jul 5, 2025

Copy link
Copy Markdown

PR summary 12bf70911d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Algebra.Small.Module -719
Mathlib.Algebra.Small.Group Mathlib.Algebra.Small.Ring -717
Mathlib.Algebra.Group.Shrink Mathlib.Algebra.Ring.Shrink 717
Mathlib.Algebra.Module.Shrink 719

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/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.


No changes to technical debt.

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

note: file Mathlib/Algebra/Small/Group.lean` was renamed to `Mathlib/Algebra/Group/Shrink.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

note: file Mathlib/Algebra/Small/Module.lean` was renamed to `Mathlib/Algebra/Module/Shrink.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

note: file Mathlib/Algebra/Small/Ring.lean` was renamed to `Mathlib/Algebra/Ring/Shrink.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

@github-actions github-actions Bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jul 5, 2025

@eric-wieser eric-wieser 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.

bors d+

Please add to the commit message an explanation of why the new folder names are better. "It shrinks the diff of another PR" doesn't count.

@mathlib-bors

mathlib-bors Bot commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

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

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jul 5, 2025
@YaelDillies

Copy link
Copy Markdown
Contributor Author

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Jul 5, 2025
Move `Algebra.Small.Group` to `Algebra.Group.Shrink`, `Algebra.Small.Ring` to `Algebra.Ring.Shrink`, `Algebra.Small.Module` to `Algebra.Module.Shrink`.

The new names are better because being small is not a property that the algebra library is structured along, while talking about groups vs rings vs modules is.

Split off #26732 for Eric's convenience.
@mathlib-bors

mathlib-bors Bot commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(Algebra/Small): move files to respective folders [Merged by Bors] - chore(Algebra/Small): move files to respective folders Jul 5, 2025
@mathlib-bors mathlib-bors Bot closed this Jul 5, 2025
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Jul 7, 2025
…mmunity#26780)

Move `Algebra.Small.Group` to `Algebra.Group.Shrink`, `Algebra.Small.Ring` to `Algebra.Ring.Shrink`, `Algebra.Small.Module` to `Algebra.Module.Shrink`.

The new names are better because being small is not a property that the algebra library is structured along, while talking about groups vs rings vs modules is.

Split off leanprover-community#26732 for Eric's convenience.
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…mmunity#26780)

Move `Algebra.Small.Group` to `Algebra.Group.Shrink`, `Algebra.Small.Ring` to `Algebra.Ring.Shrink`, `Algebra.Small.Module` to `Algebra.Module.Shrink`.

The new names are better because being small is not a property that the algebra library is structured along, while talking about groups vs rings vs modules is.

Split off leanprover-community#26732 for Eric's convenience.
hrmacbeth pushed a commit to szqzs/mathlib4 that referenced this pull request Jul 28, 2025
…mmunity#26780)

Move `Algebra.Small.Group` to `Algebra.Group.Shrink`, `Algebra.Small.Ring` to `Algebra.Ring.Shrink`, `Algebra.Small.Module` to `Algebra.Module.Shrink`.

The new names are better because being small is not a property that the algebra library is structured along, while talking about groups vs rings vs modules is.

Split off leanprover-community#26732 for Eric's convenience.
@YaelDillies
YaelDillies deleted the move_algebra_small branch September 14, 2025 14:19
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). file-removed A Lean module was (re)moved without a `deprecated_module` annotation t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants