Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - perf (Algebra.AddConstMap): scope simp lemmas #14233

Closed
wants to merge 1 commit into from

Conversation

mattrobball
Copy link
Collaborator

The keys for these simp lemmas will match quite a bit. To avoid this, we scope them to the AddConstMapClass namespace so that you only have them when you need them and not when you don't.


Open in Gitpod

@mattrobball
Copy link
Collaborator Author

!bench

Copy link

PR summary 6b06d5bc1a

Import changes

No significant changes to the import graph


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/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@mattrobball mattrobball requested a review from urkud June 28, 2024 15:38
@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 6b06d5b.
There were significant changes against commit 437dfc0:

  Benchmark   Metric         Change
  =================================
+ lint        instructions   -14.3%
+ lint        wall-clock     -16.4%

@mattrobball
Copy link
Collaborator Author

mattrobball commented Jun 28, 2024

Note this is over 1 minute savings on the very fast benchmark server

@dupuisf
Copy link
Contributor

dupuisf commented Jun 28, 2024

Thanks a lot for figuring this out!

bors r+

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 28, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jun 28, 2024
The keys for these `simp` lemmas will match quite a bit. To avoid this, we scope them to the `AddConstMapClass` namespace so that you only have them when you need them and not when you don't.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jun 28, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title perf (Algebra.AddConstMap): scope simp lemmas [Merged by Bors] - perf (Algebra.AddConstMap): scope simp lemmas Jun 28, 2024
@mathlib-bors mathlib-bors bot closed this Jun 28, 2024
@mathlib-bors mathlib-bors bot deleted the mrb/scope_simp_in_addconstmap branch June 28, 2024 16:05
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
The keys for these `simp` lemmas will match quite a bit. To avoid this, we scope them to the `AddConstMapClass` namespace so that you only have them when you need them and not when you don't.
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants