Updates to convergence concepts for potential infinite-valued r.v.'s #1295
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
Currently the various convergence concepts for the sequences of random variables (r.v.'s) do not support r.v.'s taking infinite values (
PosInf
andNegInf
), mostly because there was no way to express limits of extreal-valued functions when these concepts were first defined (#786, in 2020). Note that such limits didn't stop us from formalizing The Law of Large Numbers (#910, #938), where the involved r.v.'s are limited to "normal" extreals (real_random_variable
).My previous PR #993 in 2021 added a working canonical metric for extreals, and then #1111 added
ext_tendsto
for the limits of extreal-valued functions, based on the Moore-Smith covergence nets defined inreal_topologyTheory
. Finally we are ready to update the definitions of converge concepts using the limits of extreal-valued functions. For example, this is the old definition of "convergence almost everywhere", now becomes a theorem:and this is the new definition: (Note the removal of
real
from the definition)The new definition allows the convergence of r.v.'s to another r.v. taking infinities. E.g. in the following simple theorem, the variable
c
can bePosInf
: (with the old definition, byreal PosInf = 0
, it will cause the wrong conclusion((λx n. PosInf) ⟶ (λx. 0)) (almost_everywhere p)
)Similarly, the new definitions of
convergence in pr.
andconvergence in L^p
also become shorter and nicer:Furthermore, I did some preliminary work on the support of convergence in distribution (to support Central Limit Theorem in the future):
The above definition looks correct, but is not yet used/verified by any theorem. The involved
bounded_on
andcontinuous_on
are newly defined inextrealTheory
, also based on Moore-Smith nets fromreal_topologyTheory
:In
real_topologyTheory
, all basic theorems and definitions about the MR1 metrics and Moore-Smith nets are now moved to upstream inmetricTheory
andnetsTheory
, resp. This change only slightly shortenedreal_topologyScript.sml
but greatly enrichedmetricTheory
andnetsTheory
. (I plan to merge the old and new implementations of "nets" innetsTheory
, in the future.) After the movements of these theorems, some probability scripts need to explicitly openmetricTheory/netsTheory
.Finally, the Laws of large numbers (
examples/probability/large_numberTheory
) and related theorems usingconverge_AE
andconverge_PR
are updated to work with their new definitions.--Chun