Download data/lean/OAI/Probability/GammaPassage/ASMeanBridge.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/GammaPassage/ASMeanBridge.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/GammaPassage/ASMeanBridge.lean
-
curl -L -o ASMeanBridge.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/GammaPassage/ASMeanBridge.lean
2.5 kB
| import OAI.Probability.GammaPassage.MeanLimit | |
| import Mathlib.MeasureTheory.OuterMeasure.BorelCantelli | |
| import Mathlib.Algebra.Order.Archimedean.Basic | |
| namespace OAI | |
| namespace GammaFPP | |
| open MeasureTheory Filter Topology PlanarFPP | |
| variable {Ξ© : Type*} [MeasurableSpace Ξ©] {P : Measure Ξ©} | |
| /-- Summable deviations at the countable tolerances `1 / (k + 1)` imply | |
| almost-sure convergence to zero. The events need not be measurable. -/ | |
| theorem ae_tendsto_zero_of_summable_deviations (X : β β Ξ© β β) | |
| (hsum : β k : β, | |
| (β' n, P {Ο | 1 / ((k : β) + 1) β€ |X n Ο|}) β β€) : | |
| βα΅ Ο βP, Tendsto (fun n => X n Ο) atTop (π 0) := by | |
| have hall : βα΅ Ο βP, β k : β, βαΆ n in atTop, | |
| Ο β {Ο | 1 / ((k : β) + 1) β€ |X n Ο|} := | |
| ae_all_iff.mpr (fun k => ae_eventually_notMem (hsum k)) | |
| filter_upwards [hall] with Ο hΟ | |
| apply Metric.tendsto_nhds.mpr | |
| intro Ξ΅ hΞ΅ | |
| obtain β¨k, hkβ© := exists_nat_one_div_lt hΞ΅ | |
| filter_upwards [hΟ k] with n hn | |
| have hn' : |X n Ο| < 1 / ((k : β) + 1) := lt_of_not_ge hn | |
| simpa only [Real.dist_eq, sub_zero] using hn'.trans hk | |
| /-- Add a convergent deterministic center after Borel--Cantelli. -/ | |
| theorem ae_tendsto_of_summable_centered_deviations | |
| (X : β β Ξ© β β) (a : β β β) (L : β) | |
| (ha : Tendsto a atTop (π L)) | |
| (hsum : β k : β, | |
| (β' n, P {Ο | 1 / ((k : β) + 1) β€ |X n Ο - a n|}) β β€) : | |
| βα΅ Ο βP, Tendsto (fun n => X n Ο) atTop (π L) := by | |
| filter_upwards [ae_tendsto_zero_of_summable_deviations | |
| (fun n Ο => X n Ο - a n) hsum] with Ο hΟ | |
| simpa only [sub_add_cancel, zero_add] using hΟ.add ha | |
| /-- Summable centered lattice-passage deviations identify the almost-sure | |
| limit with the Fekete limit of the means. -/ | |
| theorem GammaEnvironment.ae_lattice_limit_of_summable_deviations | |
| {Ο : Edge β Ξ© β β} {shape rate : β} | |
| (h : GammaEnvironment shape rate P Ο) (hs : 0 < shape) (hr : 0 < rate) | |
| (z : Vertex) | |
| (hsum : β k : β, (β' n : β, P {Ο | | |
| 1 / ((k : β) + 1) β€ | |
| |passageTime (fun e => Ο e Ο) 0 (n β’ z) / (n : β) - | |
| meanPassageSequence P Ο z n / (n : β)|}) β β€) : | |
| βα΅ Ο βP, Tendsto | |
| (fun n : β => passageTime (fun e => Ο e Ο) 0 (n β’ z) / (n : β)) | |
| atTop (π (directionalMeanConstant h hs hr z)) := | |
| ae_tendsto_of_summable_centered_deviations _ _ _ | |
| (h.meanPassageSequence_tendsto hs hr z) hsum | |
| end GammaFPP | |
| end OAI | |