Skip to content

[Merged by Bors] - feat(RingTheory): add HahnSeries.ofFinsupp - #28136

Closed
wwylele wants to merge 3 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-finsupp
Closed

wwylele wants to merge 3 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-finsupp

Conversation

@wwylele

@wwylele wwylele commented Aug 8, 2025

Copy link
Copy Markdown
Collaborator

Part of #27043 Hahn's embedding theorem


Open in Gitpod

@github-actions github-actions Bot added large-import Automatically added label for PRs with a significant increase in transitive imports t-ring-theory Ring theory labels Aug 8, 2025
@github-actions

github-actions Bot commented Aug 8, 2025 •

Copy link
Copy Markdown

PR summary 8623f65b75

Import changes exceeding 2%

% File
+10.16% Mathlib.RingTheory.HahnSeries.Addition

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.HahnSeries.Addition 699 770 +71 (+10.16%)
Mathlib.RingTheory.HahnSeries.Basic 620 621 +1 (+0.16%)
Import changes for all files
Files Import difference
Mathlib.RingTheory.HahnSeries.Basic 1
Mathlib.RingTheory.HahnSeries.Lex 63
Mathlib.RingTheory.HahnSeries.Addition 71

Declarations diff

+ coeff_ofFinsupp
+ coeff_ofFinsuppLinearMap
+ ofFinsupp
+ ofFinsuppLinearMap

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

@ScottCarnahan

Copy link
Copy Markdown
Collaborator

It looks like your Hahn embedding proof uses ofFinsuppLinearMap but not ofFinsuppAddMonoidHom. If you don't have an explicit use for ofFinsuppAddMonoidHom, I would suggest you remove it.

@wwylele

wwylele commented Aug 9, 2025

Copy link
Copy Markdown
Collaborator Author

Got it. I have removed it

@ScottCarnahan ScottCarnahan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me.

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems okay

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 10, 2025
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Aug 11, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Aug 11, 2025
@mathlib-bors

mathlib-bors Bot commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(RingTheory): add HahnSeries.ofFinsupp [Merged by Bors] - feat(RingTheory): add HahnSeries.ofFinsupp Aug 11, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 11, 2025
Paul-Lez pushed a commit to Paul-Lez/mathlib4 that referenced this pull request Aug 23, 2025
@wwylele
wwylele deleted the wwylele-hahn-finsupp branch September 2, 2025 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports ready-to-merge This PR has been sent to bors. t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants