Repository navigation
Conversation
|
!bench |
|
Benchmark results for 9931332 against 3c6317b are in. No significant results found. @kim-em
Small changes (1🟥)
|
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@ad41295 against leanprover-community/mathlib4-nightly-testing@9fc131c are in. There are significant results. @kim-em
No significant changes detected. |
|
Reference manual CI status:
|
|
Mathlib CI status (docs):
|
|
Now mathlib#38703 is merged, mathlib should compile against this core change. |
|
The adaptation PR for this PR is leanprover/downstream-lean4#98. |
|
!bench mathlib |
|
!bench |
|
Benchmark results for cf69cba against 72f4cf5 are in. No significant results found. @kim-em Warning These warnings may indicate that the benchmark results are not directly comparable, for example due to changes in the runner configuration or hardware.
Small changes (1✅, 2🟥)
|
This is the adaptation PR for leanprover/lean4#13554. --------- Co-authored-by: downstream-lean4[bot] <downstream-lean4[bot]@users.noreply.github.com> Co-authored-by: Kim Morrison <[email protected]>
This PR raises the priority of
instSMulOfMulfrom 910 to 1100, so that a type's ownmultiplication is found as its scalar action ahead of the general
SMul R Minstances ratherthan after them.
The instance has the shape
[Mul α] → SMul α α, so it applies only when both arguments ofSMulare the same type. It therefore rarely applies, and when it does it is essentiallyalways the intended instance, which is the profile for a priority above the default rather
than below it. The 910 is inherited from a Mathlib convention of lowering the priority of
instances that generalise, adopted under a typeclass inference algorithm that Lean 4 no longer
uses.
Mathlib raised the rest of this family of
Mul-to-SMulinstances inleanprover-community/mathlib4#38704, measuring a speedup of around 20%
in several of its slowest files, and currently re-declares this instance's priority from
Mathlib/Algebra/Group/Action/Defs.leanbecause it cannot edit core. Merging this lets thatoverride be removed, and gives the same default to downstream users who are not Mathlib.
🤖 Prepared with Claude Code