Skip to content

[Merged by Bors] - chore: add docs + alias for prod_bijective#8439

Closed
ericrbg wants to merge 2 commits intomasterfrom
ericrbg/bij_small
Closed

[Merged by Bors] - chore: add docs + alias for prod_bijective#8439
ericrbg wants to merge 2 commits intomasterfrom
ericrbg/bij_small

Conversation

@ericrbg
Copy link
Copy Markdown
Contributor

@ericrbg ericrbg commented Nov 16, 2023


Open in Gitpod

@ericrbg ericrbg added awaiting-review easy < 20s of review time. See the lifecycle page for guidelines. awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Nov 16, 2023
@[to_additive "`Fintype.sum_bijective` is a variant of `Finset.sum_bij` that accepts
`Function.bijective`.

See `Function.bijective.sum_comp` for a version without `h`. "]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you think we should rename this to finset_sum_comp to match?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think they're similar and will get discovered through each others' names, which IMO is good enough. Maybe we should point out that sum_comp is for the case where h is fun t => rfl.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ah, that's what the "without h" means. I wonder if this one could get away with having e be implicit.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@eric-wieser just to triple-check you're happy with the current state before I r+

Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

Thanks!

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 16, 2023

✌️ ericrbg can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Nov 16, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 16, 2023
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors merge

The renaming suggestion is really a follow-up suggestion anyway.

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Nov 26, 2023
mathlib-bors bot pushed a commit that referenced this pull request Nov 26, 2023
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 26, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: add docs + alias for prod_bijective [Merged by Bors] - chore: add docs + alias for prod_bijective Nov 26, 2023
@mathlib-bors mathlib-bors bot closed this Nov 26, 2023
@mathlib-bors mathlib-bors bot deleted the ericrbg/bij_small branch November 26, 2023 23:11
awueth pushed a commit that referenced this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants