Repository navigation
Conversation
…gField` and fix diamonds
PR summary 831580749dImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5160 | -1 | exposed public sections |
Current commit 831580749d
Reference commit 55f142d243
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.py 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).
|
@plp127 I saw you ask about two prior similar PRs. If you need this functionality, please try this PR out? |
|
!radar |
|
Benchmark results for 8315807 against 55f142d are in. No significant results found. @JovanGerb
Small changes (13✅, 4🟥)
|
This PR makes
Polynomial.SplittingFieldunexposed, so that later modules cannot unfold it. This requires carefully constructing the instances on it such that there are no instance diamonds. The test file that we have for this shows that after this PR there are no such instance diamonds anymore. In particular, there were still diamonds around theNatCastandIntCastinstances that this PR fixes.I previously attempted this change at #37854 but that failed. Since then, I have added the
NSMulandZSMultype classes, andinferInstanceAshas improved, making this new PR possible.There is still a slight limitation in
inferInstanceAsthat the expression passed to it needs to be public, so this PR leavesSplittingFieldAuxaspublic.#37474 was another attempt at the same refactor.
A similar refactor could probably be done for
AlgebraicClosure.This PR was made with help from @roy7 and their AIs.