Download data/lean/OAI/Probability/FreeIsing/Martingales/ContinuousMartingaleVariation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.83 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Martingales/ContinuousMartingaleVariation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Martingales/ContinuousMartingaleVariation.lean
-
curl -L -o ContinuousMartingaleVariation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Martingales/ContinuousMartingaleVariation.lean
4.83 kB
| import OAI.Probability.FreeIsing.Martingales.BoundedMartingaleVariation | |
| import OAI.Probability.FreeIsing.Martingales.QuadraticVariation | |
| import OAI.Probability.FreeIsing.Stochastic.CompensatorVariation | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory Filter Set | |
| open scoped Topology BigOperators | |
| namespace Problem367.ContinuousMartingaleVariation | |
| open MartingaleQuadraticVariation | |
| variable {Ξ© : Type*} [mΞ© : MeasurableSpace Ξ©] {ΞΌ : Measure Ξ©} | |
| theorem tendsto_integral_weighted_error_sq [IsProbabilityMeasure ΞΌ] | |
| {I : Type*} [Preorder I] [PseudoMetricSpace I] | |
| {F : Filtration I mΞ©} {M A : I β Ξ© β β} | |
| (hM : Martingale M F ΞΌ) | |
| (hQ : Martingale (fun t Ο => (M t Ο) ^ 2 - A t Ο) F ΞΌ) | |
| {C : β} (hC : 0 β€ C) (hMb : β t, βα΅ Ο βΞΌ, |M t Ο| β€ C) | |
| {S : Set I} (hS : IsCompact S) | |
| (hMc : βα΅ Ο βΞΌ, ContinuousOn (fun t => M t Ο) S) | |
| (hAc : βα΅ Ο βΞΌ, ContinuousOn (fun t => A t Ο) S) | |
| (t : β β β β I) (ht : β n, Monotone (t n)) (N : β β β) | |
| (hmem : β n i, i β€ N n β t n i β S) (Ξ΄ : β β β) | |
| (hΞ΄ : Tendsto Ξ΄ atTop (π 0)) | |
| (hmesh : β n i, i < N n β dist (t n (i + 1)) (t n i) β€ Ξ΄ n) | |
| (hApos : βα΅ Ο βΞΌ, β n i, i < N n β | |
| 0 β€ A (t n (i + 1)) Ο - A (t n i) Ο) | |
| {B : β} (hB : 0 β€ B) | |
| (hAb : βα΅ Ο βΞΌ, β n, A (t n (N n)) Ο - A (t n 0) Ο β€ B) | |
| (H : β β β β Ξ© β β) | |
| (hH : β n i, i < N n β StronglyMeasurable[F (t n i)] (H n i)) | |
| {L : β} (hL : 0 β€ L) | |
| (hHb : β n i, i < N n β βα΅ Ο βΞΌ, |H n i Ο| β€ L) : | |
| Tendsto (fun n => β« Ο, (β i β Finset.range (N n), | |
| H n i Ο * squareError M A (t n i) (t n (i + 1)) Ο) ^ 2 βΞΌ) | |
| atTop (π 0) := by | |
| have hMm (s : I) : AEStronglyMeasurable (M s) ΞΌ := | |
| ((hM.stronglyMeasurable s).mono (F.le s)).aestronglyMeasurable | |
| have hM2 (s : I) : MemLp (M s) 2 ΞΌ := | |
| MemLp.of_bound (hMm s) C (by simpa only [Real.norm_eq_abs] using hMb s) | |
| have hAm (s : I) : AEStronglyMeasurable (A s) ΞΌ := | |
| ((stronglyAdapted_compensator hM hQ s).mono (F.le s)).aestronglyMeasurable | |
| have hD4 (n i : β) (_hi : i < N n) : | |
| MemLp (fun Ο => (increment M (t n i) (t n (i + 1)) Ο) ^ 2) 2 ΞΌ := by | |
| apply BoundedMartingaleVariation.bounded_pow_memLp_two | |
| ((hMm (t n (i + 1))).sub (hMm (t n i))) (show 0 β€ 2 * C by positivity) ?_ 2 | |
| filter_upwards [hMb (t n (i + 1)), hMb (t n i)] with Ο hn hi | |
| exact (abs_sub _ _).trans (by linarith) | |
| have hA2 (n i : β) (hi : i < N n) : | |
| MemLp (increment A (t n i) (t n (i + 1))) 2 ΞΌ := | |
| CompensatorVariation.memLp_increment_of_total_bound (fun j => hAm (t n j)) | |
| (hApos.mono (fun Ο hΟ => hΟ n)) (hAb.mono (fun Ο hΟ => hΟ n)) hi 2 | |
| have hfour := BoundedMartingaleVariation.tendsto_sum_integral_fourth_of_continuous | |
| hM hC hMb hS hMc t ht N hmem Ξ΄ hΞ΄ hmesh | |
| have hcomp := CompensatorVariation.tendsto_sum_integral_sq_increments | |
| hS hAm hAc t N Ξ΄ hmem | |
| (fun n i hi => by simpa only [dist_comm] using hmesh n i hi) hΞ΄ hApos hB hAb | |
| exact tendsto_integral_finite_grid_weighted_error_sq hM hQ hM2 t ht N H hH | |
| hD4 hA2 hL hHb hfour hcomp | |
| theorem tendsto_integral_weighted_error_sq_of_monotone [IsProbabilityMeasure ΞΌ] | |
| {I : Type*} [Preorder I] [PseudoMetricSpace I] | |
| {F : Filtration I mΞ©} {M A : I β Ξ© β β} | |
| (hM : Martingale M F ΞΌ) | |
| (hQ : Martingale (fun t Ο => (M t Ο) ^ 2 - A t Ο) F ΞΌ) | |
| {C : β} (hC : 0 β€ C) (hMb : β t, βα΅ Ο βΞΌ, |M t Ο| β€ C) | |
| {S : Set I} (hS : IsCompact S) | |
| (hMc : βα΅ Ο βΞΌ, ContinuousOn (fun t => M t Ο) S) | |
| (hAc : βα΅ Ο βΞΌ, ContinuousOn (fun t => A t Ο) S) | |
| (hAmono : βα΅ Ο βΞΌ, MonotoneOn (fun t => A t Ο) S) | |
| (t : β β β β I) (ht : β n, Monotone (t n)) (N : β β β) | |
| (hmem : β n i, i β€ N n β t n i β S) (Ξ΄ : β β β) | |
| (hΞ΄ : Tendsto Ξ΄ atTop (π 0)) | |
| (hmesh : β n i, i < N n β dist (t n (i + 1)) (t n i) β€ Ξ΄ n) | |
| {B : β} (hB : 0 β€ B) | |
| (hAb : βα΅ Ο βΞΌ, β n, A (t n (N n)) Ο - A (t n 0) Ο β€ B) | |
| (H : β β β β Ξ© β β) | |
| (hH : β n i, i < N n β StronglyMeasurable[F (t n i)] (H n i)) | |
| {L : β} (hL : 0 β€ L) | |
| (hHb : β n i, i < N n β βα΅ Ο βΞΌ, |H n i Ο| β€ L) : | |
| Tendsto (fun n => β« Ο, (β i β Finset.range (N n), | |
| H n i Ο * squareError M A (t n i) (t n (i + 1)) Ο) ^ 2 βΞΌ) | |
| atTop (π 0) := by | |
| apply tendsto_integral_weighted_error_sq hM hQ hC hMb hS hMc hAc t ht N hmem Ξ΄ hΞ΄ | |
| hmesh ?_ hB hAb H hH hL hHb | |
| filter_upwards [hAmono] with Ο hΟ | |
| intro n i hi | |
| exact sub_nonneg.mpr (hΟ (hmem n i hi.le) (hmem n (i + 1) (Nat.succ_le_of_lt hi)) | |
| (ht n (Nat.le_succ i))) | |
| end Problem367.ContinuousMartingaleVariation | |
| end | |
| end OAI | |