Download data/lean/OAI/Probability/FreeIsing/Martingales/CoefficientApproximation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.29 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Martingales/CoefficientApproximation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Martingales/CoefficientApproximation.lean
-
curl -L -o CoefficientApproximation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Martingales/CoefficientApproximation.lean
3.29 kB
| import OAI.Probability.FreeIsing.Estimates.ContinuousCoefficientModulus | |
| import OAI.Probability.FreeIsing.Martingales.BracketIsometry | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory Filter | |
| open scoped Topology | |
| namespace Problem367.MartingaleCoefficientApproximation | |
| variable {Ξ© : Type*} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : Measure Ξ©} | |
| theorem tendsto_integral_sq_coefficient_error [IsFiniteMeasure ΞΌ] | |
| {I : Type*} [Preorder I] [PseudoMetricSpace I] | |
| {F : Filtration I mΞ©} {M A H : I β Ξ© β β} | |
| (hM : Martingale M F ΞΌ) | |
| (hQ : Martingale (fun t Ο => M t Ο ^ 2 - A t Ο) F ΞΌ) | |
| (hM2 : β t, MemLp (M t) 2 ΞΌ) (hH : StronglyAdapted F H) | |
| {S : Set I} (hS : IsCompact S) | |
| (hcH : βα΅ Ο βΞΌ, ContinuousOn (fun t => H t Ο) S) | |
| {K : β} (hK : 0 β€ K) (hbound : β t, βα΅ Ο βΞΌ, |H t Ο| β€ K) | |
| (s t : β β β β I) (ht : β n, Monotone (t n)) (N : β β β) | |
| (hst : β n i, s n i β€ t n i) | |
| (hs : β n i, i < N n β s n i β S) | |
| (htmem : β n i, i < N n β t n i β S) | |
| (Ξ΄ : β β β) (hΞ΄ : Tendsto Ξ΄ atTop (π 0)) | |
| (hdist : β n i, i < N n β dist (s n i) (t n i) β€ Ξ΄ n) | |
| (hA : βα΅ Ο βΞΌ, Monotone (fun u => A u Ο)) | |
| {C : β} (htotal : β n, βα΅ Ο βΞΌ, A (t n (N n)) Ο - A (t n 0) Ο β€ C) : | |
| Tendsto (fun n => β« Ο, (β i β Finset.range (N n), | |
| (H (s n i) Ο - H (t n i) Ο) * | |
| (M (t n (i + 1)) Ο - M (t n i) Ο)) ^ 2 βΞΌ) atTop (π 0) := by | |
| let E : β β β β Ξ© β β := fun n i Ο => H (s n i) Ο - H (t n i) Ο | |
| let R : β β Ξ© β β := fun n Ο => ContinuousCoefficientModulus.pairModulus | |
| (fun i => H (s n i) Ο) (fun i => H (t n i) Ο) (N n) | |
| have hm (u : I) : StronglyMeasurable (H u) := (hH u).mono (F.le u) | |
| have hE (n i : β) : StronglyMeasurable[F (t n i)] (E n i) := | |
| ((hH (s n i)).mono (F.mono (hst n i))).sub (hH (t n i)) | |
| have hbE (n i : β) : βα΅ Ο βΞΌ, |E n i Ο| β€ 2 * K := by | |
| filter_upwards [hbound (s n i), hbound (t n i)] with Ο hsΟ htΟ | |
| exact (abs_sub _ _).trans (by linarith) | |
| have hR2 (n : β) : MemLp (R n) 2 ΞΌ := | |
| ContinuousCoefficientModulus.memLp_pairModulus | |
| (fun i => H (s n i)) (fun i => H (t n i)) | |
| (fun i => hm (s n i)) (fun i => hm (t n i)) (N n) | |
| (show 0 β€ 2 * K by positivity) (fun i _ => hbE n i) 2 | |
| have henv (n : β) : βα΅ Ο βΞΌ, β i < N n, E n i Ο ^ 2 β€ R n Ο ^ 2 := by | |
| apply Filter.Eventually.of_forall | |
| intro Ο i hi | |
| have hb := ContinuousCoefficientModulus.abs_sub_le_pairModulus | |
| (fun j => H (s n j) Ο) (fun j => H (t n j) Ο) hi | |
| simpa only [sq_abs] using | |
| (sq_le_sqβ (abs_nonneg _) (ContinuousCoefficientModulus.pairModulus_nonneg _ _ _)).2 hb | |
| have hlim : Tendsto (fun n => β« Ο, R n Ο ^ 2 βΞΌ) atTop (π 0) := | |
| ContinuousCoefficientModulus.tendsto_integral_pairModulus_pow hS hm hcH hK | |
| (fun u _ => hbound u) s t N hs htmem Ξ΄ hΞ΄ hdist 2 (by norm_num) | |
| exact MartingaleBracketIsometry.tendsto_integral_sq_grid_transform hM hQ hM2 t ht E hE | |
| (show 0 β€ 2 * K by positivity) hbE N (fun n => (hR2 n).integrable_sq) | |
| (fun _ => Filter.Eventually.of_forall (fun Ο => sq_nonneg _)) henv hA htotal hlim | |
| end Problem367.MartingaleCoefficientApproximation | |
| end | |
| end OAI | |