Skip to content

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

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

mattrobball wants to merge 2 commits into
masterfrom
mrb/de-simp_mk_eq_mk

Conversation

@mattrobball

@mattrobball mattrobball commented Aug 7, 2024 •

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Aug 7, 2024 •

Copy link
Copy Markdown

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.

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Aug 7, 2024

Copy link
Copy Markdown

🚀 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

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

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

urkud commented Aug 8, 2024

Copy link
Copy Markdown
Member

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

mathlib-bors Bot commented Aug 8, 2024

Copy link
Copy Markdown
Contributor

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