[Merged by Bors] - feat(Topology/InfiniteSum): tprod_one_{add/sub}_ordered#30436
[Merged by Bors] - feat(Topology/InfiniteSum): tprod_one_{add/sub}_ordered#30436wwylele wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
PR summary 412e7b8df3Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| theorem tprod_one_add_ordererd [ContinuousAdd α] | ||
| (hsum : Summable fun i ↦ f i * ∏ j ∈ Iio i, (1 + f j)) | ||
| (hprod : Multipliable (1 + f ·)) : | ||
| ∏' i, (1 + f i) = 1 + ∑' i, f i * ∏ j ∈ Iio i, (1 + f j) := by |
There was a problem hiding this comment.
Recently there was a huge topological summation/product refactor, where we now add a filter to the inputs of every summartion/product.
Since this is about the ordered product, I would assume that we're concerned about conditional convergence (i.e. limit of partial products using Iic/Iio), so maybe we can use that? (It's called SummationFilter.conditional.)
And if you use that, then maybe you can look at the code above you and start with the corresponding analogue of hasProd_one_add_of_hasSum_prod above, but using the conditional filter, and then you should only require the hsum assumption and not hprod?
I tried to write some code myself and this was the result.
There was a problem hiding this comment.
For my own usage, I am concerned about absolute convergence, but I can look into how I can generalize this to other summation filters
There was a problem hiding this comment.
Sorry, it took me a while to get back to this, but after trying for a while, I couldn't generalize this to more summation filters. I suspect this isn't correct for general (NeBot, LeAtTop) filters.
This is also very different from hasProd_one_add_of_hasSum_prod (see how the summation here has a prod inside!),. The summability can't translate.
I am honestly not very motivated to do the generalization. Perhaps, do you have a statement about general filter that you think is definitely true, so I focus on proving it without doubting its correctness?
|
Thanks for the PR! This looks good to me, but I'd like to have another pair of eyes: |
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
Will you also add the dual version of the theorem? I.e. with the order relation |
|
I don't know how long it will take to tag all of the dependencies, but we will eventually use |
|
The dependencies to tag is fortunately only about 6 lemmas. I can do it but I'd like to do it in another PR, given the potential debate on the naming. I don't have good idea on the name either... |
|
Hmm, I don't have a good idea for the lemma names either, though it would be nice to have a more descriptive lemma name, so that you can tell the direction based on the lemma name. Maybe something like |
jcommelin
left a comment
There was a problem hiding this comment.
Thanks 🎉
bors merge
Let's discuss dualizing and naming in the follow up PR.
This extends the existing `Finset.prod_one_sub_ordered` to infinite sum/product, and also adds the more natural `add` version. Together with some previous PRs about infinite sum/prod and powerseries, this is part of my effort of upstreaming useful stuff from https://github.com/wwylele/PentagonalNumberTheorem. It starts getting into niche lemma, so suggestions such that not wanting this in mathlib, or it should be stated in a different form, are all welcomed.
|
Build failed (retrying...): |
This extends the existing `Finset.prod_one_sub_ordered` to infinite sum/product, and also adds the more natural `add` version. Together with some previous PRs about infinite sum/prod and powerseries, this is part of my effort of upstreaming useful stuff from https://github.com/wwylele/PentagonalNumberTheorem. It starts getting into niche lemma, so suggestions such that not wanting this in mathlib, or it should be stated in a different form, are all welcomed.
|
Pull request successfully merged into master. Build succeeded: |
So it turned out I underestimated the amount of dependencies to tag. There is a whole chain of lemmas from Filter to tag. I am trying to work on it but it will probably take a while |
…ommunity#30436) This extends the existing `Finset.prod_one_sub_ordered` to infinite sum/product, and also adds the more natural `add` version. Together with some previous PRs about infinite sum/prod and powerseries, this is part of my effort of upstreaming useful stuff from https://github.com/wwylele/PentagonalNumberTheorem. It starts getting into niche lemma, so suggestions such that not wanting this in mathlib, or it should be stated in a different form, are all welcomed.
…ommunity#30436) This extends the existing `Finset.prod_one_sub_ordered` to infinite sum/product, and also adds the more natural `add` version. Together with some previous PRs about infinite sum/prod and powerseries, this is part of my effort of upstreaming useful stuff from https://github.com/wwylele/PentagonalNumberTheorem. It starts getting into niche lemma, so suggestions such that not wanting this in mathlib, or it should be stated in a different form, are all welcomed.
This extends the existing
Finset.prod_one_sub_orderedto infinite sum/product, and also adds the more naturaladdversion.Together with some previous PRs about infinite sum/prod and powerseries, this is part of my effort of upstreaming useful stuff from https://github.com/wwylele/PentagonalNumberTheorem. It starts getting into niche lemma, so suggestions such that not wanting this in mathlib, or it should be stated in a different form, are all welcomed.