-
Notifications
You must be signed in to change notification settings - Fork 364
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(NNRat): Rearrange imports #10392
Conversation
The goal is to separate the field material on `Rat`/`NNRat` from everything before. We achieve this by * splitting `Data.Rat.NNRat` into * `Data.NNRat.Defs` for the foundationl stuff that will be needed in the definition of `Field` * `Data.NNRat.Lemmas` for the field and big operators material * moving the field material from `Data.Rat.Order` to `Data.Rat.Basic` * proving a few lemmas by `rfl` rather than `coeHom.some_now_unavailable_lemma` * renaming `Data.Rat.NNRat.BigOperators` to `Data.NNRat.BigOperators`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this should be called NNRat/Field
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's more than just the field instance, though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Lemmas file feels a bit messy to me (aesthetically I'd prefer to see Field
to match Rat
, and a separate Lemmas
file), but since nothing in practice actually motivates that split I'm fine with a single Lemmas
file.
I'll maintainer merge this to let someone else take a look once you've addressed my remaining minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainer merge
🚀 Pull request has been placed on the maintainer queue by eric-wieser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
The goal is to separate the field material on `Rat`/`NNRat` from everything before to make way for `NNRat.cast`. We achieve this by * splitting `Data.Rat.NNRat` into * `Data.NNRat.Defs` for the foundationl stuff that will be needed in the definition of `Field` * `Data.NNRat.Lemmas` for the field and big operators material * moving the field material from `Data.Rat.Order` to `Data.Rat.Basic` * proving a few lemmas by `rfl` rather than `coeHom.some_now_unavailable_lemma` * renaming `Data.Rat.NNRat.BigOperators` to `Data.NNRat.BigOperators`
Pull request successfully merged into master. Build succeeded: |
The goal is to separate the field material on `Rat`/`NNRat` from everything before to make way for `NNRat.cast`. We achieve this by * splitting `Data.Rat.NNRat` into * `Data.NNRat.Defs` for the foundationl stuff that will be needed in the definition of `Field` * `Data.NNRat.Lemmas` for the field and big operators material * moving the field material from `Data.Rat.Order` to `Data.Rat.Basic` * proving a few lemmas by `rfl` rather than `coeHom.some_now_unavailable_lemma` * renaming `Data.Rat.NNRat.BigOperators` to `Data.NNRat.BigOperators`
The goal is to separate the field material on
Rat
/NNRat
from everything before to make way forNNRat.cast
. We achieve this byData.Rat.NNRat
intoData.NNRat.Defs
for the foundationl stuff that will be needed in the definition ofField
Data.NNRat.Lemmas
for the field and big operators materialData.Rat.Order
toData.Rat.Basic
rfl
rather thancoeHom.some_now_unavailable_lemma
Data.Rat.NNRat.BigOperators
toData.NNRat.BigOperators
This is a rehash of leanprover-community/mathlib3#18609.