Repository navigation
[Merged by Bors] - refactor: remove set_option in ZagierTwoSquares - #43434
Parcly-Taxel wants to merge 10 commits into
Conversation
PR summary 2b79298ce3Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 4141 | -4 | backward.isDefEq.respectTransparency |
Decrease in weak tech debt: (relative, absolute) = (1.00, 0.00)
| Current number | Change | Type (weak) |
|---|---|---|
| 5139 | -1 | exposed public sections |
Current commit 2b79298ce3
Reference commit 9515300991
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).
|
Thanks 🎉 bors merge |
I refactor one of my very first non-porting contributions to mathlib by changing `zagierSet` to a structure `Zagier.Triple` and rewriting the whole proof to avoid `set_option`s. This required changing the type of `card_fixedPoints_modEq` to accept just `α → α` rather than `Function.End α`. No deprecations are added since this a leaf file in Archive. Co-authored-by: Parcly Taxel <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
set_option in ZagierTwoSquaresset_option in ZagierTwoSquares
I refactor one of my very first non-porting contributions to mathlib by changing
zagierSetto a structureZagier.Tripleand rewriting the whole proof to avoidset_options. This required changing the type ofcard_fixedPoints_modEqto accept justα → αrather thanFunction.End α.No deprecations are added since this a leaf file in Archive.