-
Notifications
You must be signed in to change notification settings - Fork 381
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] - feat(RingTheory.Binomial): Add BinomialRing instance for NNRat modules. #13585
Conversation
Import summaryDependency changes
|
Your proof doesn't seem to use any special features of the reals besides the fact that |
PR summary b198045ae1Import changesNo significant changes to the import graph Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit> |
e133aa0
to
9e101ac
Compare
@ScottCarnahan Thanks for the suggestion to generalize. I wasn't able to quite get my proof to work with |
Thanks, this looks much simpler. I think that instead of a
Changing all instances of Arguably, the real issue is that we lack a equivalent to NNReal.instModuleOfReal but for |
This is curious. I see the instance was removed from Mathlib.Algebra.Module.Basic in #11203. |
By the way, if you don't want boldface text in the PR description, put a blank line between your text and the line with three dashes. |
Co-authored-by: Scott Carnahan <[email protected]>
Co-authored-by: Scott Carnahan <[email protected]>
Great, thank you. I've committed your suggested version to the PR and am happy with waiting for Yaël's PR to fix synthesizing |
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.
It looks good to me. If you want, you can change the name of the Nat_Int
section to something more general like Basic_Instances
, and put the instance in there.
…ver-community/mathlib4 into kcaze/binomialring_instance_real
Great, I've changed the section to |
@ScottCarnahan, sorry for the ping, but does this need a |
Sorry I don't have permission to advance it here, but I can start a discussion on Zulip. On an unrelated note, perhaps you should edit the PR description, e.g., change "real" to "NNRat" or "rational" |
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.
Thanks!
bors d+
✌️ kcaze can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Johan Commelin <[email protected]>
bors r+ |
…s. (#13585) This PR adds an instance of BinomialRing for NNRat modules. Co-authored-by: Herman Chau <[email protected]>
Build failed (retrying...): |
…s. (#13585) This PR adds an instance of BinomialRing for NNRat modules. Co-authored-by: Herman Chau <[email protected]>
Pull request successfully merged into master. Build succeeded: |
…s. (#13585) This PR adds an instance of BinomialRing for NNRat modules. Co-authored-by: Herman Chau <[email protected]>
This PR adds an instance of BinomialRing for NNRat modules.