Skip to content

[Merged by Bors] - feat(Topology/Algebra/InfiniteSum/Real): Add partition lemma#12446

Closed
CBirkbeck wants to merge 13 commits intomasterfrom
CB_summable_partion_lemmas
Closed

[Merged by Bors] - feat(Topology/Algebra/InfiniteSum/Real): Add partition lemma#12446
CBirkbeck wants to merge 13 commits intomasterfrom
CB_summable_partion_lemmas

Conversation

@CBirkbeck
Copy link
Copy Markdown
Collaborator

@CBirkbeck CBirkbeck commented Apr 26, 2024

We also summable_partition (and the required Set.sigmaEquiv), needed for #10377.


Ignore the typo in the PR name!

Open in Gitpod

@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 26, 2024
@CBirkbeck CBirkbeck added WIP Work in progress and removed new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! labels Apr 26, 2024
@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 26, 2024
@CBirkbeck CBirkbeck added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed WIP Work in progress new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! labels Apr 26, 2024
@github-actions github-actions bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 26, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Apr 26, 2024
@CBirkbeck CBirkbeck removed the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Apr 26, 2024
@CBirkbeck CBirkbeck changed the title summable lems move test Move/Add some summable lemmas of real valued functions Apr 26, 2024
@CBirkbeck CBirkbeck requested a review from loefflerd April 26, 2024 13:55
Copy link
Copy Markdown
Contributor

@grunweg grunweg left a comment

Choose a reason for hiding this comment

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

I can confirm that this PR is almost only code motion, replacing a proof by a commented more elegant version and two new declarations.

This PR would be easier to review if you split the move from the new code: I approve the code motion/porting TODO parts (but didn't scrutinize the others carefully).

@CBirkbeck
Copy link
Copy Markdown
Collaborator Author

OK I split this into two PRs. The code moving is now #12503. Once that goes in this will only have the two new results.

@adomani
Copy link
Copy Markdown
Contributor

adomani commented Apr 29, 2024

Again, the no_lost_declarations script reports

  • + lemma summable_partition {κ ι: Type*} {f : ι → ℝ} (hf : 0 ≤ f) {s : κ → Set ι}

  • 1 added declarations
  • 0 removed declarations
  • 9 paired declarations

mathlib-bors bot pushed a commit that referenced this pull request Apr 30, 2024
We move some lemmas out of `Topology/Instances/ENNReal` into `Topology/Algebra/InfiniteSum/Real`. Also use this to address a porting TODO.

This was originally part of #12446 



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
@loefflerd loefflerd added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Apr 30, 2024
@loefflerd
Copy link
Copy Markdown
Contributor

This needs a rebase now #12503 is in, please feel free to ping me for a review once you've merged master

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 30, 2024
@loefflerd loefflerd added awaiting-author A reviewer has asked the author a question or requested changes. and removed awaiting-review labels May 1, 2024
CBirkbeck and others added 2 commits May 1, 2024 19:41
Co-authored-by: David Loeffler <d.loeffler.01@cantab.net>
Co-authored-by: David Loeffler <d.loeffler.01@cantab.net>
CBirkbeck and others added 2 commits May 1, 2024 19:46
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@CBirkbeck CBirkbeck added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. labels May 1, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label May 1, 2024
@loefflerd
Copy link
Copy Markdown
Contributor

LGTM, thanks!

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 2, 2024

🚀 Pull request has been placed on the maintainer queue by loefflerd.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 2, 2024
@ghost
Copy link
Copy Markdown

ghost commented May 3, 2024

This PR/issue depends on:

@riccardobrasca
Copy link
Copy Markdown
Member

This is very small and I think we can just merge it, but if you start using partition a lot (meaning (s : κ → Set ι) (hs : ∀ i, ∃! j, i ∈ s j) we probably want a small API, but we will see. Thanks!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 3, 2024
mathlib-bors bot pushed a commit that referenced this pull request May 3, 2024
We also  `summable_partition` (and the required  `Set.sigmaEquiv`), needed for #10377.  



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
@CBirkbeck
Copy link
Copy Markdown
Collaborator Author

This is very small and I think we can just merge it, but if you start using partition a lot (meaning (s : κ → Set ι) (hs : ∀ i, ∃! j, i ∈ s j) we probably want a small API, but we will see. Thanks!

Yeah I don't know how much it'll be used for example for the stuff Yael wanted the Finest.box for. But yes we can add more API if needed.

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 3, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Topology/Algebra/InfiniteSum/Real): Add partition lemma [Merged by Bors] - feat(Topology/Algebra/InfiniteSum/Real): Add partition lemma May 3, 2024
@mathlib-bors mathlib-bors bot closed this May 3, 2024
@mathlib-bors mathlib-bors bot deleted the CB_summable_partion_lemmas branch May 3, 2024 09:44
apnelson1 pushed a commit that referenced this pull request May 12, 2024
We move some lemmas out of `Topology/Instances/ENNReal` into `Topology/Algebra/InfiniteSum/Real`. Also use this to address a porting TODO.

This was originally part of #12446 



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
apnelson1 pushed a commit that referenced this pull request May 12, 2024
We also  `summable_partition` (and the required  `Set.sigmaEquiv`), needed for #10377.  



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
callesonne pushed a commit that referenced this pull request May 16, 2024
We move some lemmas out of `Topology/Instances/ENNReal` into `Topology/Algebra/InfiniteSum/Real`. Also use this to address a porting TODO.

This was originally part of #12446 



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
callesonne pushed a commit that referenced this pull request May 16, 2024
We also  `summable_partition` (and the required  `Set.sigmaEquiv`), needed for #10377.  



Co-authored-by: Chris Birkbeck <c.birkbeck@uea.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants