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
feat(topology/algebra/infinite_sum): dot notation, cauchy sequences #2171
Conversation
|
||
lemma tsum_eq_has_sum (ha : has_sum f a) : (∑b, f b) = a := has_sum_unique (has_sum_tsum ⟨a, ha⟩) ha | ||
lemma tsum_eq_has_sum (ha : has_sum f a) : (∑b, f b) = a := | ||
has_sum_unique (summable.has_sum ⟨a, ha⟩) ha | ||
|
||
lemma has_sum_iff_of_summable (h : summable f) : has_sum f a ↔ (∑b, f b) = a := |
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.
summable.has_sum_iff
?
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 has prompted me to check the file again, and I have found two or three other lemmas that could benefit from the dot notation. Done.
A few minor comments, otherwise LGTM. |
Thanks for your comments! |
…2171) * more material on infinite sums * minor fixes * cleanup * yury's comments Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…eanprover-community#2171) * more material on infinite sums * minor fixes * cleanup * yury's comments Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…eanprover-community#2171) * more material on infinite sums * minor fixes * cleanup * yury's comments Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Cleanup of the file
infinite_sum.lean
, adding what I will need to define analytic functions in a later PR. Two main things:has_sum.add
,has_sum.summable
,summable.has_sum
and so on)s -> s.sum f
is a Cauchy sequence when the finsets
tends toat_top
.Plus many minor missing lemmas scattered all over the place.