This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 299
[Merged by Bors] - refactor(data/fin/basic): fin refactor to use ne_zero #18107
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChrisHughes24
added
the
awaiting-CI
The author would like to see what CI has to say before doing more work.
label
Jan 9, 2023
eric-wieser
reviewed
Jan 9, 2023
eric-wieser
reviewed
Jan 9, 2023
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
ChrisHughes24
changed the title
feat(data/fin/basic): fin refactor to use ne_zero
refactor(data/fin/basic): fin refactor to use ne_zero
Jan 9, 2023
ChrisHughes24
added
awaiting-review
The author would like community review of the PR
and removed
awaiting-CI
The author would like to see what CI has to say before doing more work.
labels
Jan 9, 2023
This now builds locally |
eric-wieser
reviewed
Jan 9, 2023
eric-wieser
reviewed
Jan 9, 2023
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.
Updating docstrings.
Co-authored-by: negiizhao <egresf@gmail.com>
Co-authored-by: negiizhao <egresf@gmail.com>
Co-authored-by: negiizhao <egresf@gmail.com>
bors r+ |
👎 Rejected by label |
ChrisHughes24
removed
the
awaiting-CI
The author would like to see what CI has to say before doing more work.
label
Jan 10, 2023
github-actions
bot
added
the
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
label
Jan 10, 2023
bors r+ |
Canceled. |
ChrisHughes24
added
awaiting-CI
The author would like to see what CI has to say before doing more work.
and removed
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
labels
Jan 10, 2023
2 tasks
The #check @fin.coe_of_nat_eq_mod /- simp can prove this:
by simp only [fin.coe_of_nat_eq_mod']
One of the lemmas above could be a duplicate. I switched the order of |
github-actions
bot
removed
the
awaiting-CI
The author would like to see what CI has to say before doing more work.
label
Jan 11, 2023
Thanks 🎉 bors merge |
github-actions
bot
added
the
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
label
Jan 11, 2023
bors bot
pushed a commit
that referenced
this pull request
Jan 11, 2023
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com> Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
Pull request successfully merged into master. Build succeeded: |
bors
bot
changed the title
refactor(data/fin/basic): fin refactor to use ne_zero
[Merged by Bors] - refactor(data/fin/basic): fin refactor to use ne_zero
Jan 11, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
delegated
The PR author may merge after reviewing final suggestions.
ready-to-merge
All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor as suggested on Zulip
I also generalized as many lemmas as I could to use
ne_zero n
instead offin (n + 1)