Skip to content
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

Closed
wants to merge 7 commits into from

Conversation

casavaca
Copy link
Collaborator

@casavaca casavaca commented Feb 7, 2023


Supercedes #1091, @dupuisf 's commit is preserved in commit history.

Open in Gitpod

@casavaca casavaca added mathlib-port This is a port of a theory file from mathlib. awaiting-review The author would like community review of the PR labels Feb 7, 2023
-/
def centralBinom (n : ℕ) :=
(2 * n).choose n
#align nat.central_binom Nat.centralBinom

/-- expand centralBinom to its definition. -/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/-- 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.

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Feb 7, 2023
I had the wrong impression that the linter would complain.
@casavaca casavaca added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Feb 7, 2023
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@semorrison semorrison added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Feb 7, 2023
bors bot pushed a commit that referenced this pull request Feb 7, 2023
Co-authored-by: Frédéric Dupuis <dupuisf@iro.umontreal.ca>
@bors
Copy link

bors bot commented Feb 7, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: Port Data.Nat.Choose.Central [Merged by Bors] - feat: Port Data.Nat.Choose.Central Feb 7, 2023
@bors bors bot closed this Feb 7, 2023
@bors bors bot deleted the port/Data.Nat.Choose.Central branch February 7, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants