Skip to content

[Merged by Bors] - chore(Finsupp): move mapRange.equiv earlier#31324

Closed
YaelDillies wants to merge 3 commits intoleanprover-community:masterfrom
YaelDillies:finsupp_no_field
Closed

[Merged by Bors] - chore(Finsupp): move mapRange.equiv earlier#31324
YaelDillies wants to merge 3 commits intoleanprover-community:masterfrom
YaelDillies:finsupp_no_field

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

Move mapRange.equiv to Data.Finsupp.Defs and mapRange.addEquiv to Algebra.Group.Finsupp. This lets us not import fields when defining finsuppAntidiag.

As previously, I am basing myself off the idea that Finsupp will at some point in the future be generalised to other base points (rather than just 0 as it is now), and that therefore anything under Data.Finsupp should not be algebraic (apart from mentioning 0).


Open in Gitpod

Move `mapRange.equiv` to `Data.Finsupp.Defs` and `mapRange.addEquiv` to `Algebra.Group.Finsupp`.
This lets us not import fields when defining `finsuppAntidiag`.

As previously, I am basing myself off the idea that `Finsupp` will at some point in the future be generalised to other base points (rather than just `0` as it is now), and that therefore anything under `Data.Finsupp` should not be algebraic (apart from mentioning `0`).
@YaelDillies YaelDillies added the t-algebra Algebra (groups, rings, fields, etc) label Nov 6, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 6, 2025

PR summary 85b1253058

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Order.Antidiag.Finsupp 790 748 -42 (-5.32%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Order.Antidiag.Finsupp -42

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

@ocfnash
Copy link
Copy Markdown
Contributor

ocfnash commented Nov 14, 2025

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Nov 14, 2025
mathlib-bors bot pushed a commit that referenced this pull request Nov 14, 2025
Move `mapRange.equiv` to `Data.Finsupp.Defs` and `mapRange.addEquiv` to `Algebra.Group.Finsupp`. This lets us not import fields when defining `finsuppAntidiag`.

As previously, I am basing myself off the idea that `Finsupp` will at some point in the future be generalised to other base points (rather than just `0` as it is now), and that therefore anything under `Data.Finsupp` should not be algebraic (apart from mentioning `0`).
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 14, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Finsupp): move mapRange.equiv earlier [Merged by Bors] - chore(Finsupp): move mapRange.equiv earlier Nov 14, 2025
@mathlib-bors mathlib-bors bot closed this Nov 14, 2025
@YaelDillies YaelDillies deleted the finsupp_no_field branch November 14, 2025 11:02
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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants