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: Port Data.Nat.Choose.Central #2140
Conversation
Mathbin -> Mathlib fix certain import statements move "by" to end of line add import to Mathlib.lean
Mathlib/Data/Nat/Choose/Central.lean
Outdated
-/ | ||
def centralBinom (n : ℕ) := | ||
(2 * n).choose n | ||
#align nat.central_binom Nat.centralBinom | ||
|
||
/-- expand centralBinom to its definition. -/ |
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.
/-- expand centralBinom to its definition. -/ | |
/-- expand `centralBinom` to its definition. -/ |
Also elsewhere. I applaud the fact that you want to improve documentation. But I would rather encourage you to not fix documentation while porting. Because it means an extra review duty while reviewing porting PRs. Let's stick to doing one thing at a time.
I had the wrong impression that the linter would complain.
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 merge
Co-authored-by: Frédéric Dupuis <dupuisf@iro.umontreal.ca>
Pull request successfully merged into master. Build succeeded:
|
Supercedes #1091, @dupuisf 's commit is preserved in commit history.