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] - chore(analysis|measure_theory|topology): give tsum notation precedence 67 #5709
Conversation
…e 67 This saves us a lot of `()` In particular, lean no longer thinks that `∑' i, f i = 37` is a tsum of propositions.
@@ -56,7 +56,8 @@ def summable (f : β → α) : Prop := ∃a, has_sum f a | |||
/-- `∑' i, f i` is the sum of `f` it exists, or 0 otherwise -/ | |||
@[irreducible] def tsum {β} (f : β → α) := if h : summable f then classical.some h else 0 | |||
|
|||
notation `∑'` binders `, ` r:(scoped f, tsum f) := r | |||
-- See the comment on precedence of big operators in `algebra/big_operators/basic.lean`. |
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.
Is it worth upgrading that comment to a library note?
Otherwise LGTM.
bors d+
✌️ jcommelin can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
…e 67 (#5709) This saves us a lot of `()` In particular, lean no longer thinks that `∑' i, f i = 37` is a tsum of propositions.
Pull request successfully merged into master. Build succeeded: |
…e 67 (#5709) This saves us a lot of `()` In particular, lean no longer thinks that `∑' i, f i = 37` is a tsum of propositions.
This saves us a lot of
()
In particular, lean no longer thinks that
∑' i, f i = 37
is a tsum of propositions.