-
Notifications
You must be signed in to change notification settings - Fork 344
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] - refactor: generalize SMul (Ideal R) (Submodule R M)
to SMul (Submodule R A) (Submodule R M)
#18419
Conversation
…to noncommutative setting
!bench |
Here are the benchmark results for commit 6546fad. Benchmark Metric Change
================================================================
- ~Mathlib.Algebra.Algebra.Operations instructions 20.6%
- ~Mathlib.RingTheory.AdicCompletion.Basic instructions 12.6%
+ ~Mathlib.RingTheory.Ideal.Cotangent instructions -17.6%
+ ~Mathlib.RingTheory.Kaehler.Basic instructions -4.9% |
2 files, Instructions +8.0⬝10⁹
3 files, Instructions +2.0⬝10⁹
4 files, Instructions +1.0⬝10⁹
2 files, Instructions -18.0⬝10⁹
|
Can you please merge master and bench again? |
88396b7
to
d81cc44
Compare
d81cc44
to
d3c5b98
Compare
!bench |
Here are the benchmark results for commit d81cc44. Benchmark Metric Change
===========================================================
- ~Mathlib.Algebra.Algebra.Operations instructions 15.7%
+ ~Mathlib.RingTheory.Ideal.Cotangent instructions -18.2%
+ ~Mathlib.RingTheory.Kaehler.Basic instructions -5.3% |
Hmm, looks like a rather positive change! |
Here are the benchmark results for commit d3c5b98. Benchmark Metric Change
===========================================================
- ~Mathlib.Algebra.Algebra.Operations instructions 15.7%
+ ~Mathlib.RingTheory.Ideal.Cotangent instructions -18.2%
+ ~Mathlib.RingTheory.Kaehler.Basic instructions -5.3% |
Sorry, false alarm. The sped-up files were changed to avoid timeouts. Let me single those out to a separate PR ... |
This PR/issue depends on: |
!bench |
Here are the benchmark results for commit efe2593. Benchmark Metric Change
===========================================================
- ~Mathlib.Algebra.Algebra.Operations instructions 15.7% |
Thanks! bors merge |
…dule R A) (Submodule R M)` (#18419) and redefine `Mul (Submodule R A) (Submodule R A)` using the latter.
Pull request successfully merged into master. Build succeeded: |
SMul (Ideal R) (Submodule R M)
to SMul (Submodule R A) (Submodule R M)
SMul (Ideal R) (Submodule R M)
to SMul (Submodule R A) (Submodule R M)
and redefine
Mul (Submodule R A) (Submodule R A)
using the latter.Submodule.restrictScalars_mem
instead of relying on defeq #19711