perf: type class experiment#14318
Conversation
This PR is just an experiment for testing a modification in the type class resolution procedure. It tries to postpone some `isDefEq` tests at `tryResolve`. It addresses problematic cases such as trying to synthesize ``` AddRightCancel (Kernel α Ω) ``` using candidate ``` IsRightCancelAdd.toGrindAddRightCancel ```
|
!bench |
|
Benchmark results for 6679791 against 1422c82 are in. There are significant results. @leodemoura
Large changes (2✅, 2🟥)
Medium changes (7✅, 6🟥)
Small changes (511✅, 71🟥) Too many entries to display here. View the full report on radar instead. |
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@94e88be against leanprover-community/mathlib4-nightly-testing@de3a9cf are in. There are significant results. @leodemoura
No significant changes detected. |
|
Reference manual CI status:
|
|
Mathlib CI status (docs):
|
|
!bench |
|
!bench mathlib |
|
Benchmark results for 9f1bdd8 against 1422c82 are in. There are significant results. @leodemoura
Large changes (1✅)
Medium changes (11✅)
and 1 hidden Small changes (710✅, 3🟥) Too many entries to display here. View the full report on radar instead. |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@94e88be against leanprover-community/mathlib4-nightly-testing@de3a9cf are in. (These commits have already been benchmarked in a previous command.) There are significant results. @leodemoura
No significant changes detected. |
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@e2f5e42 against leanprover-community/mathlib4-nightly-testing@de3a9cf are in. There are significant results. @leodemoura
No significant changes detected. |
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@e2f5e42 against leanprover-community/mathlib4-nightly-testing@de3a9cf are in. (These commits have already been benchmarked in a previous command.) There are significant results. @leodemoura
No significant changes detected. |
|
!bench |
|
Benchmark results for f0d26ed against 1422c82 are in. There are significant results. @leodemoura
Large changes (1✅)
Medium changes (10✅)
and 1 hidden Small changes (703✅, 5🟥) Too many entries to display here. View the full report on radar instead. |
|
!bench mathlib |
|
Benchmark results for leanprover-community/mathlib4-nightly-testing@e058bab against leanprover-community/mathlib4-nightly-testing@de3a9cf are in. There are significant results. @leodemoura
Large changes (2✅)
and 1 hidden Medium changes (230✅, 2🟥) Too many entries to display here. View the full report on radar instead. Small changes (1039✅, 2🟥) Too many entries to display here. View the full report on radar instead. |
This PR is just an experiment for testing a modification in the type class resolution procedure. It tries to postpone some
isDefEqtests attryResolve. It addresses problematic cases such as trying to synthesizeusing candidate