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(topology/algebra/ordered, topology/algebra/infinite_sum): bounded monotone sequences converge (variant versions) #7983

Closed
wants to merge 2 commits into from

Conversation

hrmacbeth
Copy link
Member

@hrmacbeth hrmacbeth commented Jun 18, 2021

A bounded monotone sequence converges to a value a, if and only if a is a least upper bound for its range.

Mathlib had several variants of this fact previously (phrased in terms of, eg, csupr), but not quite this version (phrased in terms of has_lub). This version has a couple of advantages:

  • it applies to more general typeclasses (eg, linear_order) where the existence of suprema is not in general known
  • it applies to algebraic typeclasses (linear_ordered_add_comm_monoid, etc) where, since completeness of orders is not a mix-in, it is not possible to simultaneously assume (conditionally_)complete_linear_order

The latter point makes these lemmas useful when dealing with tsum. We get: a nonnegative function f satisfies has_sum f a, if and only if a is a least upper bound for its partial sums.


Open in Gitpod

Zulip

@hrmacbeth hrmacbeth added the awaiting-review The author would like community review of the PR label Jun 18, 2021
@sgouezel
Copy link
Collaborator

bors r+
Thanks!

@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 Jun 18, 2021
bors bot pushed a commit that referenced this pull request Jun 18, 2021
…d monotone sequences converge (variant versions) (#7983)

A bounded monotone sequence converges to a value `a`, if and only if `a` is a least upper bound for its range.

Mathlib had several variants of this fact previously (phrased in terms of, eg, `csupr`), but not quite this version (phrased in terms of `has_lub`).  This version has a couple of advantages:
- it applies to more general typeclasses (eg, `linear_order`) where the existence of suprema is not in general known
- it applies to algebraic typeclasses (`linear_ordered_add_comm_monoid`, etc) where, since completeness of orders is not a mix-in, it is not possible to simultaneously assume `(conditionally_)complete_linear_order`

The latter point makes these lemmas useful when dealing with `tsum`.  We get: a nonnegative function `f` satisfies `has_sum f a`, if and only if `a` is a least upper bound for its partial sums.
@bors
Copy link

bors bot commented Jun 18, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(topology/algebra/ordered, topology/algebra/infinite_sum): bounded monotone sequences converge (variant versions) [Merged by Bors] - feat(topology/algebra/ordered, topology/algebra/infinite_sum): bounded monotone sequences converge (variant versions) Jun 18, 2021
@bors bors bot closed this Jun 18, 2021
@hrmacbeth hrmacbeth deleted the bounded-monotone-sequence-is-lub branch June 20, 2021 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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