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(algebra/big_operators/order): add fintype.sum_mono and fintype.sum_strict_mono #6040

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Feb 4, 2021

@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. labels Feb 4, 2021
@github-actions github-actions bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Feb 4, 2021
@github-actions
Copy link

github-actions bot commented Feb 4, 2021

🎉 Great news! Looks like all the dependencies have been resolved:

💡 To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!

@eric-wieser eric-wieser added the easy < 20s of review time. See the lifecycle page for guidelines. label Feb 4, 2021
Comment on lines +320 to +325
namespace fintype

variables [fintype α]

@[mono] lemma sum_mono [ordered_add_comm_monoid β] : monotone (λ f : α → β, ∑ x, f x) :=
λ f g hfg, finset.sum_le_sum $ λ x _, hfg x
Copy link
Member Author

Choose a reason for hiding this comment

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

This is in the fintype namespace since we already have lemmas called fintype.sum_bool instead of finset.sum_univ_bool

@semorrison
Copy link
Collaborator

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Feb 5, 2021
bors bot pushed a commit that referenced this pull request Feb 5, 2021
@bors
Copy link

bors bot commented Feb 5, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/big_operators/order): add fintype.sum_mono and fintype.sum_strict_mono [Merged by Bors] - feat(algebra/big_operators/order): add fintype.sum_mono and fintype.sum_strict_mono Feb 5, 2021
@bors bors bot closed this Feb 5, 2021
@bors bors bot deleted the eric-wieser/fintype.sum_mono branch February 5, 2021 04:22
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants