-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - chore: move non @[to_additive]
parts of Algebra.Order.Monoid
and Algebra.Order.Group
to a different file
#14667
Conversation
!bench |
Algebra.Order.Monoid
and Algebra.Order.Group
to a different file@[to_additive]
parts of Algebra.Order.Monoid
and Algebra.Order.Group
to a different file
PR summary 43f21e04c8
|
File | Base Count | Head Count | Change |
---|---|---|---|
Mathlib.Algebra.Order.Group.WithTop | 202 | 0 | -202 (-100.00%) |
Mathlib.Algebra.Order.Monoid.WithTop | 198 | 181 | -17 (-8.59%) |
Mathlib.Algebra.PUnitInstances.Order | 345 | 358 | +13 (+3.77%) |
Mathlib.Data.Nat.Cast.WithTop | 235 | 239 | +4 (+1.70%) |
Mathlib.Algebra.Order.Sub.WithTop | 200 | 203 | +3 (+1.50%) |
Mathlib.Algebra.CharZero.Lemmas | 408 | 412 | +4 (+0.98%) |
Mathlib.Algebra.Order.GroupWithZero.Canonical | 352 | 355 | +3 (+0.85%) |
Mathlib.Data.Finset.Fold | 411 | 414 | +3 (+0.73%) |
Mathlib.Algebra.Order.Monoid.Defs | 180 | 179 | -1 (-0.56%) |
Mathlib.Algebra.Order.Group.Defs | 183 | 182 | -1 (-0.55%) |
Import changes for all files
Files | Import difference |
---|---|
Too many changes (3112)! |
Declarations diff
++-- coe_eq_ofNat
++-- coe_nat
++-- coe_ofNat
++-- map_add
++-- ofNat_eq_coe
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>
Co-authored-by: Yaël Dillies <[email protected]>
Thanks! I think that's a pretty good split, and the new file is not too big. maintainer merge |
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
Here are the benchmark results for commit e31785e. Benchmark Metric Change
=============================================================
+ ~Mathlib.Algebra.Order.Monoid.WithTop instructions -77.1%
- ~Mathlib.CategoryTheory.Monoidal.Mon_ instructions 4.8% |
Hmm, that performance in |
But not too problematic, I think. bors merge |
…`Algebra.Order.Group` to a different file (#14667) Following the discussion on #14598, move `LinearOrderedAddCommMonoidWithTop`, `LinearOrderedAddCommGroupWithTop`, and associated theorems to `Algebra.Order.AddGroupWithTop`. Co-authored-by: Daniel Weber <[email protected]>
Pull request successfully merged into master. Build succeeded: |
@[to_additive]
parts of Algebra.Order.Monoid
and Algebra.Order.Group
to a different file@[to_additive]
parts of Algebra.Order.Monoid
and Algebra.Order.Group
to a different file
Following the discussion on #14598, move
LinearOrderedAddCommMonoidWithTop
,LinearOrderedAddCommGroupWithTop
, and associated theorems toAlgebra.Order.AddGroupWithTop
.