-
Notifications
You must be signed in to change notification settings - Fork 299
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
Conversation
🎉 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! |
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 |
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.
This is in the fintype
namespace since we already have lemmas called fintype.sum_bool
instead of finset.sum_univ_bool
bors merge |
Pull request successfully merged into master. Build succeeded: |
le
on pi types #6023