math / data /lean /OAI /Probability /FreeIsing /Martingales /SpatialRandomEvaluation.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.51 kB
import OAI.Probability.FreeIsing.Martingales.RandomEvaluation
import OAI.Probability.FreeIsing.Martingales.SpatialLimit
import OAI.Probability.FreeIsing.Stochastic.IntegralAssociativityLimit
namespace OAI
noncomputable section
open MeasureTheory Filter
open scoped NNReal Topology
namespace Problem367.MartingaleSpatialRandomEvaluation
variable {Ξ© ΞΉ : Type*} [mΞ© : MeasurableSpace Ξ©] {P : Measure Ξ©} [IsFiniteMeasure P]
{F : Filtration ℝβ‰₯0 mΞ©} {I : ΞΉ β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ} {Y : ℝβ‰₯0 β†’ Ξ© β†’ ℝ}
theorem tendsto_finiteSum_random_evaluation
(hI : βˆ€ a, Martingale (I a) F P) (hY : Martingale Y F P)
(hI2 : βˆ€ a t, MemLp (I a t) 2 P) (hY2 : βˆ€ t, MemLp (Y t) 2 P)
(hcI : βˆ€ a, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => I a t Ο‰))
(hcY : βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Y t Ο‰))
(T : ℝβ‰₯0)
(hsum : HasSum (fun a => (hI2 a T).toLp (I a T)) ((hY2 T).toLp (Y T)))
(r : Finset ΞΉ β†’ Ξ© β†’ ℝβ‰₯0) (hr : βˆ€ q, Measurable (r q))
(hb : βˆ€ q Ο‰, r q Ο‰ ≀ T) :
Tendsto (fun q : Finset ΞΉ => ∫ Ο‰,
((βˆ‘ a ∈ q, I a (r q Ο‰) Ο‰) - Y (r q Ο‰) Ο‰) ^ 2 βˆ‚P) atTop (𝓝 0) := by
classical
have ht := PredictableL2.tendsto_integral_sq_error_of_hasSum
(fun a => I a T) (fun a => hI2 a T) (hY2 T) hsum
apply squeeze_zero (fun q => integral_nonneg (fun Ο‰ => sq_nonneg _))
(fun q => ?_) (by simpa only [mul_zero] using ht.const_mul 4)
have hc : βˆ€α΅ Ο‰ βˆ‚P, Continuous
(fun t => (MartingaleSpatialLimit.finiteSum I q - Y) t Ο‰) := by
filter_upwards [MartingaleSpatialLimit.finiteSum_ae_continuous hcI q, hcY]
with Ο‰ hq hy
exact hq.sub hy
simpa only [MartingaleSpatialLimit.finiteSum, Pi.sub_apply] using
MartingaleRandomEvaluation.integral_sq_random_evaluation_le
((MartingaleSpatialLimit.finiteSum_martingale hI q).sub hY)
(fun t => (MartingaleSpatialLimit.finiteSum_memLp hI2 q t).sub (hY2 t))
hc (hr q) (hb q)
theorem exists_hasSum_random_evaluation
(hI : βˆ€ a, Martingale (I a) F P) (hY : Martingale Y F P)
(hI2 : βˆ€ a t, MemLp (I a t) 2 P) (hY2 : βˆ€ t, MemLp (Y t) 2 P)
(hcI : βˆ€ a, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => I a t Ο‰))
(hcY : βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Y t Ο‰))
(T : ℝβ‰₯0)
(hsum : HasSum (fun a => (hI2 a T).toLp (I a T)) ((hY2 T).toLp (Y T)))
(r : Ξ© β†’ ℝβ‰₯0) (hr : Measurable r) (hb : βˆ€ Ο‰, r Ο‰ ≀ T) :
βˆƒ (hIr : βˆ€ a, MemLp (fun Ο‰ => I a (r Ο‰) Ο‰) 2 P)
(hYr : MemLp (fun Ο‰ => Y (r Ο‰) Ο‰) 2 P),
HasSum (fun a => (hIr a).toLp (fun Ο‰ => I a (r Ο‰) Ο‰))
(hYr.toLp (fun Ο‰ => Y (r Ο‰) Ο‰)) := by
classical
have hIr (a : ΞΉ) : MemLp (fun Ο‰ => I a (r Ο‰) Ο‰) 2 P :=
MartingaleRandomEvaluation.memLp_random_evaluation (hI a) (hI2 a) (hcI a) hr hb
have hYr : MemLp (fun Ο‰ => Y (r Ο‰) Ο‰) 2 P :=
MartingaleRandomEvaluation.memLp_random_evaluation hY hY2 hcY hr hb
refine ⟨hIr, hYr, ?_⟩
have hl := (SimpleIntegral.tendsto_toLp_iff_meanSquare
(fun q : Finset ΞΉ => memLp_finsetSum q (fun a _ => hIr a)) hYr).mpr
(tendsto_finiteSum_random_evaluation hI hY hI2 hY2 hcI hcY T hsum
(fun _ => r) (fun _ => hr) (fun _ => hb))
change Tendsto (fun q : Finset ΞΉ => βˆ‘ a ∈ q, (hIr a).toLp (fun Ο‰ => I a (r Ο‰) Ο‰))
atTop (𝓝 (hYr.toLp (fun Ο‰ => Y (r Ο‰) Ο‰)))
exact hl.congr (fun q => PredictableL2.toLp_finsetSum
(fun a Ο‰ => I a (r Ο‰) Ο‰) hIr q)
theorem exists_hasSum_stoppedProcess
(hI : βˆ€ a, Martingale (I a) F P) (hY : Martingale Y F P)
(hI2 : βˆ€ a t, MemLp (I a t) 2 P) (hY2 : βˆ€ t, MemLp (Y t) 2 P)
(hcI : βˆ€ a, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => I a t Ο‰))
(hcY : βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Y t Ο‰))
(T : ℝβ‰₯0)
(hsum : HasSum (fun a => (hI2 a T).toLp (I a T)) ((hY2 T).toLp (Y T)))
{Ο„ : Ξ© β†’ WithTop ℝβ‰₯0} (hΟ„ : IsStoppingTime F Ο„)
{t : ℝβ‰₯0} (ht : t ≀ T) :
βˆƒ (hIs : βˆ€ a, MemLp (stoppedProcess (I a) Ο„ t) 2 P)
(hYs : MemLp (stoppedProcess Y Ο„ t) 2 P),
HasSum (fun a => (hIs a).toLp (stoppedProcess (I a) Ο„ t))
(hYs.toLp (stoppedProcess Y Ο„ t)) := by
exact exists_hasSum_random_evaluation hI hY hI2 hY2 hcI hcY T hsum
(fun Ο‰ => (min (t : WithTop ℝβ‰₯0) (Ο„ Ο‰)).untopA)
(WithTop.measurable_untopA.comp
(measurable_const.min (hΟ„.measurable.mono hΟ„.measurableSpace_le le_rfl)))
(fun Ο‰ => (WithTop.untopA_le (min_le_left _ _)).trans ht)
end Problem367.MartingaleSpatialRandomEvaluation
end
end OAI