[Merged by Bors] - refactor(Data/Rat/NNRat): move module and algebra instances#9951
[Merged by Bors] - refactor(Data/Rat/NNRat): move module and algebra instances#9951eric-wieser wants to merge 7 commits intomasterfrom
Conversation
We already have the instances for `ℕ`, `ℤ`, and `ℚ` in this file, so adding `NNRat` doesn't feel that out of place.
| Authors: Yaël Dillies, Bhavik Mehta | ||
| -/ | ||
| import Mathlib.Algebra.Algebra.Basic | ||
| import Mathlib.Algebra.Function.Indicator |
There was a problem hiding this comment.
Removing this would remove another 30 or so dependencies, but I'm declaring that a problem for a follow-up. I think further reduction probably entails splitting this file.
There was a problem hiding this comment.
Note that I already reduced the dependencies of Algebra.Function.Indicator by quite a lot because of this.
|
I just noticed that maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
Only before this PR though, right? |
Actually, this spurious dependency was introduced in #9950. |
As with #9950, this is motivated by: * Getting `NNRat` closed to `norm_num` * Being able to put an `nnrat_cast` field in `DivisionSemiring`s This brings down the number of dependencies of `NNRat` by around 600.
|
Build failed (retrying...): |
As with #9950, this is motivated by: * Getting `NNRat` closed to `norm_num` * Being able to put an `nnrat_cast` field in `DivisionSemiring`s This brings down the number of dependencies of `NNRat` by around 600.
|
Build failed (retrying...):
|
As with #9950, this is motivated by: * Getting `NNRat` closed to `norm_num` * Being able to put an `nnrat_cast` field in `DivisionSemiring`s This brings down the number of dependencies of `NNRat` by around 600.
|
Build failed: |
|
bors merge |
As with #9950, this is motivated by: * Getting `NNRat` closed to `norm_num` * Being able to put an `nnrat_cast` field in `DivisionSemiring`s This brings down the number of dependencies of `NNRat` by around 600.
|
Pull request successfully merged into master. Build succeeded: |
As with #9950, this is motivated by:
NNRatclosed tonorm_numnnrat_castfield inDivisionSemiringsThis brings down the number of dependencies of
NNRatby around 600.Archimedeaninstances toOrder/Archimedean#9950The graph is still a monster: