Skip to content

[Merged by Bors] - perf(LinearAlgebra.Quotient): de-simp theorems with weak keys#15591

Closed
mattrobball wants to merge 2 commits intomasterfrom
mrb/de-simp_mk_eq_mk
Closed

[Merged by Bors] - perf(LinearAlgebra.Quotient): de-simp theorems with weak keys#15591
mattrobball wants to merge 2 commits intomasterfrom
mrb/de-simp_mk_eq_mk

Conversation

@mattrobball
Copy link
Copy Markdown
Contributor

@mattrobball mattrobball commented Aug 7, 2024

For an example, the simp keys for mk''_eq_mk are Quotient.mk'' _ _ _ meaning it will be tried on anything whose left-hand side reduces to Quotient.mk'' regardless of the context. These are used a total of 6 times.


Open in Gitpod

@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2024

PR summary cb287abf83

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.

Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

Sounds reasonable.

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2024

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

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 7, 2024
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 3c54320.
There were significant changes against commit aeb3c05:

  Benchmark                         Metric         Change
  =======================================================
+ ~Mathlib.GroupTheory.CosetCover   instructions   -19.0%

@mattrobball
Copy link
Copy Markdown
Contributor Author

Reduction of linting instructions by 1%

@mattrobball mattrobball changed the title perf(LinearAlgebra.Quotient): de-simp Submodule.Quotient.mk''_eq_mk perf(LinearAlgebra.Quotient): de-simp theorems with weak keys Aug 7, 2024
@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit cb287ab.
There were significant changes against commit aeb3c05:

  Benchmark                         Metric         Change
  =======================================================
+ ~Mathlib.GroupTheory.CosetCover   instructions   -19.0%

@mattrobball
Copy link
Copy Markdown
Contributor Author

Now actually over 1% reduction for linting instructions.

@urkud
Copy link
Copy Markdown
Member

urkud commented Aug 8, 2024

Thanks! 🎉
bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Aug 8, 2024
mathlib-bors bot pushed a commit that referenced this pull request Aug 8, 2024
For an example, the simp keys for `mk''_eq_mk` are `Quotient.mk'' _ _ _` meaning it will be tried on *anything* whose left-hand side reduces to `Quotient.mk''` regardless of the context. These are used a total of 6 times.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 8, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title perf(LinearAlgebra.Quotient): de-simp theorems with weak keys [Merged by Bors] - perf(LinearAlgebra.Quotient): de-simp theorems with weak keys Aug 8, 2024
@mathlib-bors mathlib-bors bot closed this Aug 8, 2024
@mathlib-bors mathlib-bors bot deleted the mrb/de-simp_mk_eq_mk branch August 8, 2024 15:42
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
For an example, the simp keys for `mk''_eq_mk` are `Quotient.mk'' _ _ _` meaning it will be tried on *anything* whose left-hand side reduces to `Quotient.mk''` regardless of the context. These are used a total of 6 times.
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 9, 2024
For an example, the simp keys for `mk''_eq_mk` are `Quotient.mk'' _ _ _` meaning it will be tried on *anything* whose left-hand side reduces to `Quotient.mk''` regardless of the context. These are used a total of 6 times.
bjoernkjoshanssen pushed a commit that referenced this pull request Sep 12, 2024
For an example, the simp keys for `mk''_eq_mk` are `Quotient.mk'' _ _ _` meaning it will be tried on *anything* whose left-hand side reduces to `Quotient.mk''` regardless of the context. These are used a total of 6 times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants