refactor: remove DecidableEq and DecidableLT from LinearOrder - #42577
refactor: remove DecidableEq and DecidableLT from LinearOrder#42577astrainfinita wants to merge 6 commits into
DecidableEq and DecidableLT from LinearOrder#42577Conversation
PR summary b1f02423ecImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 419 | -1 | porting notes |
| 385 | -2 | adaptation notes |
| 6977 | -4 | backward.isDefEq.respectTransparency |
| 3985 | -2 | backward.isDefEq.respectTransparency.types |
Current commit b1f02423ec
Reference commit ac10dc7e9a
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
This PR/issue depends on:
|
We may eventually remove
DecidableLEas well. Removing all of theDecidable*fields would not result in any loss of decidability, sinceLinearOrderextendsOrdand requirescompareto agree with the order. However, doing so may require a better-designed API aroundcompare.cmpLEinLinearOrder#42569