[Merged by Bors] - feat: use to_additive for Monoid.End#19687
Closed
fpvandoorn wants to merge 14 commits intomasterfrom
Closed
[Merged by Bors] - feat: use to_additive for Monoid.End#19687fpvandoorn wants to merge 14 commits intomasterfrom
fpvandoorn wants to merge 14 commits intomasterfrom
Conversation
This reverts commit 272c395535a706953d9f7f032d5619e3aade5c19.
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
This reverts commit 67d885b.
PR summary ff9a29aad5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
mathlib-bors bot
pushed a commit
that referenced
this pull request
Dec 22, 2024
* Also some cleanup in the `ToAdditive/Frontend` file (please review the first 3 commits separately), only the second commit actually changes the functionality of `to_additive`. The main cleanups: move doc-strings to the syntax declarations, remove the module doc which was just duplicating the `to_additive`-doc, and let a few internal functions depend on `Environment` instead of multiple other arguments. * In #19687 this is done for `Monoid.End` (in a separate PR, since that requires some library fixes).
Collaborator
|
This PR/issue depends on: |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Jan 20, 2025
* Rename `Monoid.coe_one` and `Monoid.coe_mul` to `Monoid.End.coe_one` and `Monoid.End.coe_mul`, which is already the name for `AddMonoid.End`. I made the deprecations `protected` in order to not cause overloading issues. * Change some instance names to increase consistency in names (no deprecations added)
Contributor
|
Build failed (retrying...): |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Jan 20, 2025
* Rename `Monoid.coe_one` and `Monoid.coe_mul` to `Monoid.End.coe_one` and `Monoid.End.coe_mul`, which is already the name for `AddMonoid.End`. I made the deprecations `protected` in order to not cause overloading issues. * Change some instance names to increase consistency in names (no deprecations added)
Contributor
|
Pull request successfully merged into master. Build succeeded: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Monoid.coe_oneandMonoid.coe_multoMonoid.End.coe_oneandMonoid.End.coe_mul, which is already the name forAddMonoid.End. I made the deprecationsprotectedin order to not cause overloading issues.