Skip to content

[Merged by Bors] - fix(HahnSeries): restore a generalization lost in a merge#25412

Closed
eric-wieser wants to merge 1 commit intomasterfrom
eric-wieser/add-units-neg
Closed

[Merged by Bors] - fix(HahnSeries): restore a generalization lost in a merge#25412
eric-wieser wants to merge 1 commit intomasterfrom
eric-wieser/add-units-neg

Conversation

@eric-wieser
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser commented Jun 3, 2025

This restores a change from #22284 that was accidentally reverted in #20594.

Also avoid using IsAddUnit when the unit can be constructed directly, which gives better defeqs.


Open in Gitpod

Also avoid using IsAddUnit when the unit can be constructed directly.
@eric-wieser eric-wieser requested a review from ScottCarnahan June 3, 2025 23:28
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 3, 2025

PR summary 281c753caf

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

Copy link
Copy Markdown
Contributor

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

Looks good to me. Perhaps Scott should be given time to weigh in.
maintainer merge?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 4, 2025

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

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 4, 2025
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

bors d=ScottCarnahan

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 4, 2025

✌️ ScottCarnahan 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 delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Jun 4, 2025
@ScottCarnahan
Copy link
Copy Markdown
Collaborator

Thanks for catching this, and for the refinement.

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jun 4, 2025
This restores a change from #22284 that was accidentally reverted in #20594.

Also avoid using IsAddUnit when the unit can be constructed directly, which gives better defeqs.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 4, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title fix(HahnSeries): restore a generalization lost in a merge [Merged by Bors] - fix(HahnSeries): restore a generalization lost in a merge Jun 4, 2025
@mathlib-bors mathlib-bors bot closed this Jun 4, 2025
@mathlib-bors mathlib-bors bot deleted the eric-wieser/add-units-neg branch June 4, 2025 19:00
joelriou pushed a commit that referenced this pull request Jun 8, 2025
This restores a change from #22284 that was accidentally reverted in #20594.

Also avoid using IsAddUnit when the unit can be constructed directly, which gives better defeqs.
TOMILO87 pushed a commit that referenced this pull request Jun 8, 2025
This restores a change from #22284 that was accidentally reverted in #20594.

Also avoid using IsAddUnit when the unit can be constructed directly, which gives better defeqs.
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…-community#25412)

This restores a change from leanprover-community#22284 that was accidentally reverted in leanprover-community#20594.

Also avoid using IsAddUnit when the unit can be constructed directly, which gives better defeqs.
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). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants