Commit 332fc33
committed
fix: improve the
This PR makes changes the entry point of the `grind` class `Lean.Grind.OrderedAdd` to be `IsOrderedCancelAddMonoid`, rather than the more granular type classes `AddRightMono` and `AddRightReflectLE`. Note that the doc-strings of these type classes explicitly say not to use them. This should improve `grind` performance.
See [#general > grind failure/performance issue: timing out on slow instance](https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/grind.20failure.2Fperformance.20issue.3A.20timing.20out.20on.20slow.20instance/with/574912682)Lean.Grind.OrderedAdd instance (leanprover-community#35563)1 parent f250304 commit 332fc33
3 files changed
Lines changed: 8 additions & 6 deletions
File tree
- Mathlib
- Algebra/Order/Monoid
- Unbundled
- MeasureTheory/Function/L1Space
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | 260 | | |
265 | 261 | | |
266 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
| 685 | + | |
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| |||
0 commit comments