[Merged by Bors] - feat(MeasureTheory/Function): ae convergence implies convergence in distribution#39517
Conversation
PR summary b838ba2ec6Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
You need a notion of distance for TendstoInMeasure, so what you said about uniform space is not correct. |
|
And actually I think the proof of TendstoInMeasure.tendstoInDistribution for a (pseudo)(e)metric space (not sure whether you can do it for pseudo/extended metric) follows from the lemma you proved in this PR by using MeasureTheory.TendstoInMeasure.exists_seq_tendsto_ae' and Filter.tendsto_iff_seq_tendsto. Do you want to formalize this? If so, I think you can create a new PR dependent on this one. |
I am aware of this, but what I meant here was that the definition of |
I had also been thinking about this route, and I think it would be a good idea. In the coming week I can check if a nice proof indeed falls out. |
Oh I think I see what you mean. This is interesting! Maybe I'll do an experiment with the definition of |
A nice proof did indeed fall out (currently 6 lines, plus it generalizes |
|
awaiting-author |
Funnily enough, the characterization of convergence in measure in terms of a.e. convergent subsequences does not even require a uniformity! Thus it would even be possible to write a definition of I am not sure if I would advocate for this, since it is not the standard definition and the equivalence only holds for countably generated filters, but I do think this is something worth thinking about. |
|
May you be more specific about how you would like to define The first one is just the classical definition used in Mathlib right now. It naturally leads to the second definition (as a uniform space structure can be constructed from a pseudoEMetricSpace by uniformSpaceOfEDist). The second definition is not really more general than the first one, as an EDist does not always induces a uniform strucutre, but I believe both definitions are equivalent with MeasureTheory.tendstoInMeasure_iff_dist in the case that E is a pseudometric space. The third and the fourth definitions are my guesses of how we should define it in a general topological space, but I don't think they give an equivalent definition with the classical one when E is a pseduometric space. Maybe we should create a Zulip thread for this. |
|
I have added the new proof of |
|
-awaiting-author |
What I meant with However, there is the issue that this characterization only holds true for finite measures and countably generated filters. And I would expect that these drawbacks weigh more heavily than the benefit of generalizing from |
…ctions (#39768) This PR was automatically created from PR #39517 by @jvanwinden via a [review comment](#39517 (comment)) by @EtienneC30. Co-authored-by: jvanwinden <6528059+jvanwinden@users.noreply.github.com>
|
-awaiting-author |
|
-awaiting-author |
|
🚀 Pull request has been placed on the maintainer queue by EtienneC30. |
Co-authored-by: Etienne Marion <66847262+EtienneC30@users.noreply.github.com>
|
Thanks! |
…istribution (#39517) This PR introduces a theorem which concludes convergence in distribution from almost everywhere convergence. Previously, this could be done by chaining [`tendstoInMeasure_of_tendsto_ae`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInMeasure.html#MeasureTheory.tendstoInMeasure_of_tendsto_ae) and [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution). However, this is not a good way to to it since the second lemma requires a `SeminormedAddCommGroup E` instance (which is not needed for the statement to hold). Thus, we instead give a direct short proof which relies on dominated convergence. As a consequence, we also obtain a new proof of `TendstoInMeasure.tendstoInDistribution` which does not pass through `tendstoInDistribution_of_tendstoInMeasure_sub` and therefore does not require `SeminormedAddCommGroup` and `SecondCountableTopology` anymore. I expect this will enable significant golfing (or maybe even removal) of `tendstoInDistribution_of_tendstoInMeasure_sub` in the future. In order to allow for ae measurability as an assumption, it was necessary to add `tendsto_lintegral_filter_of_dominated_convergence'`, which gives dominated convergence along a countable filter for `AEMeasurable` functions. Sidenote: I believe [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution) should be rewritten at some point to require only a metric space (or maybe only uniform space) structure. However, even if this was done, the theorem of this PR provides the value of relying only on `TopologicalSpace E`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
|
Thanks for the thorough reviews! I learned some new tricks. |
|
Pull request successfully merged into master. Build succeeded: |
…istribution (leanprover-community#39517) This PR introduces a theorem which concludes convergence in distribution from almost everywhere convergence. Previously, this could be done by chaining [`tendstoInMeasure_of_tendsto_ae`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInMeasure.html#MeasureTheory.tendstoInMeasure_of_tendsto_ae) and [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution). However, this is not a good way to to it since the second lemma requires a `SeminormedAddCommGroup E` instance (which is not needed for the statement to hold). Thus, we instead give a direct short proof which relies on dominated convergence. As a consequence, we also obtain a new proof of `TendstoInMeasure.tendstoInDistribution` which does not pass through `tendstoInDistribution_of_tendstoInMeasure_sub` and therefore does not require `SeminormedAddCommGroup` and `SecondCountableTopology` anymore. I expect this will enable significant golfing (or maybe even removal) of `tendstoInDistribution_of_tendstoInMeasure_sub` in the future. In order to allow for ae measurability as an assumption, it was necessary to add `tendsto_lintegral_filter_of_dominated_convergence'`, which gives dominated convergence along a countable filter for `AEMeasurable` functions. Sidenote: I believe [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution) should be rewritten at some point to require only a metric space (or maybe only uniform space) structure. However, even if this was done, the theorem of this PR provides the value of relying only on `TopologicalSpace E`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
…ctions (leanprover-community#39768) This PR was automatically created from PR leanprover-community#39517 by @jvanwinden via a [review comment](leanprover-community#39517 (comment)) by @EtienneC30. Co-authored-by: jvanwinden <6528059+jvanwinden@users.noreply.github.com>
…istribution (leanprover-community#39517) This PR introduces a theorem which concludes convergence in distribution from almost everywhere convergence. Previously, this could be done by chaining [`tendstoInMeasure_of_tendsto_ae`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInMeasure.html#MeasureTheory.tendstoInMeasure_of_tendsto_ae) and [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution). However, this is not a good way to to it since the second lemma requires a `SeminormedAddCommGroup E` instance (which is not needed for the statement to hold). Thus, we instead give a direct short proof which relies on dominated convergence. As a consequence, we also obtain a new proof of `TendstoInMeasure.tendstoInDistribution` which does not pass through `tendstoInDistribution_of_tendstoInMeasure_sub` and therefore does not require `SeminormedAddCommGroup` and `SecondCountableTopology` anymore. I expect this will enable significant golfing (or maybe even removal) of `tendstoInDistribution_of_tendstoInMeasure_sub` in the future. In order to allow for ae measurability as an assumption, it was necessary to add `tendsto_lintegral_filter_of_dominated_convergence'`, which gives dominated convergence along a countable filter for `AEMeasurable` functions. Sidenote: I believe [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution) should be rewritten at some point to require only a metric space (or maybe only uniform space) structure. However, even if this was done, the theorem of this PR provides the value of relying only on `TopologicalSpace E`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
…ctions (leanprover-community#39768) This PR was automatically created from PR leanprover-community#39517 by @jvanwinden via a [review comment](leanprover-community#39517 (comment)) by @EtienneC30. Co-authored-by: jvanwinden <6528059+jvanwinden@users.noreply.github.com>
…istribution (leanprover-community#39517) This PR introduces a theorem which concludes convergence in distribution from almost everywhere convergence. Previously, this could be done by chaining [`tendstoInMeasure_of_tendsto_ae`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInMeasure.html#MeasureTheory.tendstoInMeasure_of_tendsto_ae) and [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution). However, this is not a good way to to it since the second lemma requires a `SeminormedAddCommGroup E` instance (which is not needed for the statement to hold). Thus, we instead give a direct short proof which relies on dominated convergence. As a consequence, we also obtain a new proof of `TendstoInMeasure.tendstoInDistribution` which does not pass through `tendstoInDistribution_of_tendstoInMeasure_sub` and therefore does not require `SeminormedAddCommGroup` and `SecondCountableTopology` anymore. I expect this will enable significant golfing (or maybe even removal) of `tendstoInDistribution_of_tendstoInMeasure_sub` in the future. In order to allow for ae measurability as an assumption, it was necessary to add `tendsto_lintegral_filter_of_dominated_convergence'`, which gives dominated convergence along a countable filter for `AEMeasurable` functions. Sidenote: I believe [`TendstoInMeasure.tendstoInDistribution`](https://leanprover-community.github.io/mathlib4_docs/Mathlib/MeasureTheory/Function/ConvergenceInDistribution.html#MeasureTheory.TendstoInMeasure.tendstoInDistribution) should be rewritten at some point to require only a metric space (or maybe only uniform space) structure. However, even if this was done, the theorem of this PR provides the value of relying only on `TopologicalSpace E`. Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
This PR introduces a theorem which concludes convergence in distribution from almost everywhere convergence.
Previously, this could be done by chaining
tendstoInMeasure_of_tendsto_aeandTendstoInMeasure.tendstoInDistribution.However, this is not a good way to to it since the second lemma requires a
SeminormedAddCommGroup Einstance (which is not needed for the statement to hold). Thus, we instead give a direct short proof which relies on dominated convergence.As a consequence, we also obtain a new proof of
TendstoInMeasure.tendstoInDistributionwhich does not pass throughtendstoInDistribution_of_tendstoInMeasure_suband therefore does not requireSeminormedAddCommGroupandSecondCountableTopologyanymore. I expect this will enable significant golfing (or maybe even removal) oftendstoInDistribution_of_tendstoInMeasure_subin the future.In order to allow for ae measurability as an assumption, it was necessary to add
tendsto_lintegral_filter_of_dominated_convergence', which gives dominated convergence along a countable filter forAEMeasurablefunctions.Sidenote: I believe
TendstoInMeasure.tendstoInDistributionshould be rewritten at some point to require only a metric space (or maybe only uniform space) structure. However, even if this was done, the theorem of this PR provides the value of relying only onTopologicalSpace E.AEMeasurablefunctions #39768