chore(Algebra/*/NonUnital*): split nonassoc and assoc nonunital center instances#41741
chore(Algebra/*/NonUnital*): split nonassoc and assoc nonunital center instances#41741pechersky wants to merge 2 commits into
center instances#41741Conversation
…e do in nonunitalsubring
PR summary 1c1ec8b97eImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 5616 | -1 | backward.isDefEq.respectTransparency |
Current commit 1c1ec8b97e
Reference commit 1f165a51de
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).
There is a diamond from how Subsemigroup.center defines mul and implies associativity and commutativity. So over a non-assoc parent type, the instance one gets differs than if you already had associativity. When/if we set up positive nat powers, there will be a diamond.
So at least prepare for that world by having the overriding instances in the "happy path" case.
Discovered while working on #40785.
Used GPT 5.6 Terra to classify hunks from the originating PR and do the cherry-pick operations.