Skip to content

[Merged by Bors] - chore: automatically additivize IsScalarTower#24115

Closed
alreadydone wants to merge 4 commits intomasterfrom
IsScalarTower_to_additive
Closed

[Merged by Bors] - chore: automatically additivize IsScalarTower#24115
alreadydone wants to merge 4 commits intomasterfrom
IsScalarTower_to_additive

Conversation

@alreadydone
Copy link
Copy Markdown
Contributor

@alreadydone alreadydone commented Apr 16, 2025


Open in Gitpod

@alreadydone alreadydone added the t-meta Tactics, attributes or user commands label Apr 16, 2025
@alreadydone alreadydone requested a review from eric-wieser April 16, 2025 14:58
@alreadydone alreadydone added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Apr 16, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2025

PR summary 98a206dc87

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

Comment on lines 1076 to +1080
| "Is"::"Of"::"Fin"::"Order"::s => "IsOfFinAddOrder" :: fixAbbreviation s
| "is" :: "Central" :: "Scalar" :: s => "isCentralVAdd" :: fixAbbreviation s
| "Is" :: "Central" :: "Scalar" :: s => "IsCentralVAdd" :: fixAbbreviation s
| "is" :: "Scalar" :: "Tower" :: s => "vaddAssocClass" :: fixAbbreviation s
| "Is" :: "Scalar" :: "Tower" :: s => "VAddAssocClass" :: fixAbbreviation s
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure why we were not simply writing "IsOfFinOrder" etc.

@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Apr 16, 2025
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

I'd argue that the SMulCommClass instances don't belong in this PR; could you split them out too?

@alreadydone
Copy link
Copy Markdown
Contributor Author

!bench

alreadydone and others added 2 commits April 16, 2025 18:51
Co-authored-by: Eric Wieser <efw@google.com>
Co-authored-by: Eric Wieser <efw@google.com>
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 8a83294.
There were no significant changes against commit da9d909.

@github-actions
Copy link
Copy Markdown

File Instructions %
build +13.941⬝10⁹ (+0.00%)
Mathlib.CategoryTheory.Sums.Products +1.910⬝10⁹ (+0.70%)
CI run

@alreadydone
Copy link
Copy Markdown
Contributor Author

alreadydone commented Apr 16, 2025

Hmm, I intended to bench dd73224. Now I have to do it in another PR ...

@eric-wieser
Copy link
Copy Markdown
Member

bors merge

Thanks!

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Apr 17, 2025
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 17, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: automatically additivize IsScalarTower [Merged by Bors] - chore: automatically additivize IsScalarTower Apr 17, 2025
@mathlib-bors mathlib-bors bot closed this Apr 17, 2025
@mathlib-bors mathlib-bors bot deleted the IsScalarTower_to_additive branch April 17, 2025 01:59
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-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants