[Merged by Bors] - chore(NNRat): Rearrange imports#10392
[Merged by Bors] - chore(NNRat): Rearrange imports#10392YaelDillies wants to merge 11 commits intomasterfrom
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.
Perhaps this should be called NNRat/Field?
There was a problem hiding this comment.
There's more than just the field instance, though?
eric-wieser
left a comment
There was a problem hiding this comment.
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.
|
🚀 Pull request has been placed on the maintainer queue by eric-wieser. |
|
✌️ 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/NNRatfrom everything before to make way forNNRat.cast. We achieve this byData.Rat.NNRatintoData.NNRat.Defsfor the foundationl stuff that will be needed in the definition ofFieldData.NNRat.Lemmasfor the field and big operators materialData.Rat.OrdertoData.Rat.Basicrflrather thancoeHom.some_now_unavailable_lemmaData.Rat.NNRat.BigOperatorstoData.NNRat.BigOperatorsThis is a rehash of leanprover-community/mathlib3#18609.