[Merged by Bors] - refactor: generalize SMul (Ideal R) (Submodule R M) to SMul (Submodule R A) (Submodule R M)#18419
[Merged by Bors] - refactor: generalize SMul (Ideal R) (Submodule R M) to SMul (Submodule R A) (Submodule R M)#18419alreadydone wants to merge 32 commits intomasterfrom
SMul (Ideal R) (Submodule R M) to SMul (Submodule R A) (Submodule R M)#18419Conversation
…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_meminstead of relying on defeq #19711