math / data /lean /OAI /Probability /FreeIsing /Brownian /ContinuousRowCompletion.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
8.69 kB
import OAI.Probability.FreeIsing.Brownian.ContinuousSpatialIntegral
import OAI.Probability.FreeIsing.Brownian.RowEnergyCompletion
namespace OAI
noncomputable section
open MeasureTheory ProbabilityTheory Filter
open scoped NNReal Topology BigOperators
namespace Problem367.MartingaleSquareMaximal
theorem exists_global_continuous_meanSquare_limit
{Ξ© : Type*} [mΞ© : MeasurableSpace Ξ©] {P : Measure Ξ©} [IsFiniteMeasure P]
{F : Filtration ℝβ‰₯0 mΞ©} {M : β„• β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ}
(hM : βˆ€ n, Martingale (M n) F P)
(h2 : βˆ€ n t, MemLp (M n t) 2 P)
(hc : βˆ€ n, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => M n t Ο‰))
(hC : βˆ€ N : β„•, 0 < N β†’ βˆ€ Ξ΅ > (0 : ℝ), βˆƒ k : β„•,
βˆ€ n β‰₯ k, βˆ€ m β‰₯ k, (∫ Ο‰, (M n N Ο‰ - M m N Ο‰) ^ 2 βˆ‚P) < Ξ΅) :
βˆƒ (Z : ℝβ‰₯0 β†’ Ξ© β†’ ℝ) (_hZ2 : βˆ€ t, MemLp (Z t) 2 P),
IsStronglyPredictable F Z ∧ Martingale Z F P ∧
(βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Z t Ο‰)) ∧
(βˆ€ t, Tendsto (fun n => ∫ Ο‰, (M n t Ο‰ - Z t Ο‰) ^ 2 βˆ‚P) atTop (𝓝 0)) ∧
(βˆ€ t, Tendsto (fun n => ∫ Ο‰, M n t Ο‰ ^ 2 βˆ‚P) atTop
(𝓝 (∫ Ο‰, Z t Ο‰ ^ 2 βˆ‚P))) ∧
(βˆ€ T, Tendsto (fun n => ∫ Ο‰,
MartingaleStrongMaximal.maximalSquare (M n - Z) T Ο‰ βˆ‚P) atTop (𝓝 0)) := by
have hCpos (N : β„•) (hN : 0 < N) :
CauchySeq (fun n => (h2 n (N : ℝβ‰₯0)).toLp (M n N)) := by
apply Metric.cauchySeq_iff.mpr
intro Ξ΅ hΞ΅
obtain ⟨k, hk⟩ := hC N hN (Ρ ^ 2) (sq_pos_of_pos hΡ)
refine ⟨k, fun n hn m hm => ?_⟩
have hs := hk n hn m hm
rw [← dist_toLp_sq (h2 n N) (h2 m N)] at hs
nlinarith [dist_nonneg (x := (h2 n N).toLp (M n N))
(y := (h2 m N).toLp (M m N))]
have hCall (N : β„•) : CauchySeq (fun n => (h2 n (N : ℝβ‰₯0)).toLp (M n N)) :=
L2_cauchy_of_le hM h2 (by exact_mod_cast Nat.le_succ N)
(hCpos (N + 1) (Nat.succ_pos N))
obtain ⟨Z, hpZ, hcZ, hlZ⟩ :=
exists_global_predictable_continuous_L2_limit hM h2 hc hCall
choose hZ2 hl using hlZ
have hmartZ : Martingale Z F P :=
martingale_of_L2_limits hM h2 hpZ.stronglyAdapted hZ2 hl
have hmean (t : ℝβ‰₯0) := BrownianIntegralProcess.integral_sq_sub_tendsto_of_L2_tendsto
(fun n => h2 n t) (hZ2 t) (hl t)
refine ⟨Z, hZ2, hpZ, hmartZ, hcZ, hmean, ?_, ?_⟩
Β· intro t
simpa only [PredictableL2.norm_toLp_sq] using (hl t).norm.pow 2
Β· intro T
apply squeeze_zero (fun n => integral_nonneg (fun Ο‰ => ENNReal.toReal_nonneg))
(fun n => ?_) (show Tendsto
(fun n => 4 * ∫ Ο‰, (M n T Ο‰ - Z T Ο‰) ^ 2 βˆ‚P) atTop (𝓝 0) from by
simpa only [mul_zero] using (hmean T).const_mul 4)
exact MartingaleStrongMaximal.integral_maximalSquare_le
((hM n).sub hmartZ) (fun t => (h2 n t).sub (hZ2 t))
(by filter_upwards [hc n, hcZ] with Ο‰ hn hz; exact hn.sub hz) T
end Problem367.MartingaleSquareMaximal
namespace Problem367.BrownianArrayFiltration
theorem exists_global_continuous_integral_limit_of_row_energy_cauchy
{Ξ© ΞΉ : Type*} [mΞ© : MeasurableSpace Ξ©] [Countable ΞΉ]
{P : Measure Ξ©} [IsProbabilityMeasure P]
{B : ΞΉ β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ} {F : Filtration ℝβ‰₯0 mΞ©}
(hB : βˆ€ a, IsPreBrownianReal (B a) P)
(hAd : βˆ€ a, StronglyAdapted F (B a))
(hind : βˆ€ s t, s ≀ t β†’ Indep
(MeasurableSpace.comap (fun Ο‰ a => B a t Ο‰ - B a s Ο‰) inferInstance) (F s) P)
(hcross : βˆ€ s t, s ≀ t β†’ Pairwise fun a b =>
IndepFun (fun Ο‰ => B a t Ο‰ - B a s Ο‰) (fun Ο‰ => B b t Ο‰ - B b s Ο‰) P)
(hBc : βˆ€ a, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => B a t Ο‰))
(H : β„• β†’ ΞΉ β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ)
(hH : βˆ€ n a, StronglyAdapted F (H n a))
(hcH : βˆ€ n a, βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => H n a t Ο‰))
(C : β„• β†’ ΞΉ β†’ ℝ) (hC : βˆ€ n a, 0 ≀ C n a)
(hbH : βˆ€ n a, βˆ€α΅ Ο‰ βˆ‚P, βˆ€ t, |H n a t Ο‰| ≀ C n a)
(he : βˆ€ n (N : β„•), Summable fun a => ∫ t in (0 : ℝ)..(N : ℝ),
∫ Ο‰, H n a t.toNNReal Ο‰ ^ 2 βˆ‚P)
(hCauchy : βˆ€ N : β„•, 0 < N β†’ βˆ€ Ξ΅ > (0 : ℝ), βˆƒ k : β„•,
βˆ€ n β‰₯ k, βˆ€ m β‰₯ k, (βˆ‘' a, ∫ t in (0 : ℝ)..(N : ℝ),
∫ Ο‰, (H n a t.toNNReal Ο‰ - H m a t.toNNReal Ο‰) ^ 2 βˆ‚P) < Ξ΅) :
βˆƒ (I : β„• β†’ ΞΉ β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ) (Y : β„• β†’ ℝβ‰₯0 β†’ Ξ© β†’ ℝ)
(Z : ℝβ‰₯0 β†’ Ξ© β†’ ℝ)
(hI2 : βˆ€ n a t, MemLp (I n a t) 2 P)
(hY2 : βˆ€ n t, MemLp (Y n t) 2 P) (_hZ2 : βˆ€ t, MemLp (Z t) 2 P),
(βˆ€ n, IsStronglyPredictable F (Y n) ∧ Martingale (Y n) F P ∧
(βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Y n t Ο‰))) ∧
(βˆ€ n a (N : β„•), 0 < N β†’ Tendsto (fun k => ∫ Ο‰,
(BrownianGrid.uniformSum (B a) (H n a) N k Ο‰ - I n a N Ο‰) ^ 2 βˆ‚P)
atTop (𝓝 0)) ∧
(βˆ€ n t, HasSum (fun a => (hI2 n a t).toLp (I n a t))
((hY2 n t).toLp (Y n t))) ∧
(βˆ€ n t, (∫ Ο‰, Y n t Ο‰ ^ 2 βˆ‚P) =
βˆ‘' a, ∫ s in (0 : ℝ)..(t : ℝ), ∫ Ο‰, H n a s.toNNReal Ο‰ ^ 2 βˆ‚P) ∧
(βˆ€ n m (N : β„•), 0 < N β†’ (∫ Ο‰, (Y n N Ο‰ - Y m N Ο‰) ^ 2 βˆ‚P) =
βˆ‘' a, ∫ s in (0 : ℝ)..(N : ℝ),
∫ Ο‰, (H n a s.toNNReal Ο‰ - H m a s.toNNReal Ο‰) ^ 2 βˆ‚P) ∧
IsStronglyPredictable F Z ∧ Martingale Z F P ∧
(βˆ€α΅ Ο‰ βˆ‚P, Continuous (fun t => Z t Ο‰)) ∧ Z 0 =ᡐ[P] 0 ∧
(βˆ€ t, (∫ Ο‰, Z t Ο‰ βˆ‚P) = 0) ∧
(βˆ€ t, Tendsto (fun n => ∫ Ο‰, (Y n t Ο‰ - Z t Ο‰) ^ 2 βˆ‚P) atTop (𝓝 0)) ∧
(βˆ€ t : ℝβ‰₯0, Tendsto (fun n => βˆ‘' a, ∫ s in (0 : ℝ)..(t : ℝ),
∫ Ο‰, H n a s.toNNReal Ο‰ ^ 2 βˆ‚P) atTop (𝓝 (∫ Ο‰, Z t Ο‰ ^ 2 βˆ‚P))) ∧
(βˆ€ T, Tendsto (fun n => ∫ Ο‰,
MartingaleStrongMaximal.maximalSquare (Y n - Z) T Ο‰ βˆ‚P) atTop (𝓝 0)) := by
have hex (n : β„•) := exists_global_continuous_spatial_integral
hB hAd hind hcross hBc (H n) (hH n) (hcH n) (C n) (hC n) (hbH n) (he n)
choose I Y hI2 hY2 hIprop haI hpY hmY hcY hzY hmeanY heY hsY hmaxY using hex
have ha (n : β„•) (a : ΞΉ) (N : β„•) (hN : 0 < N) :
Tendsto (fun k => ∫ Ο‰,
(BrownianGrid.uniformSum (B a) (H n a) N k Ο‰ - I n a N Ο‰) ^ 2 βˆ‚P)
atTop (𝓝 0) := by
simpa only [BrownianIntegralProcess.stoppedUniformSum_terminal] using
haI n a N hN N le_rfl
have hs (n : β„•) (t : ℝβ‰₯0) : Tendsto (fun s : Finset ΞΉ => ∫ Ο‰,
((βˆ‘ a ∈ s, I n a t Ο‰) - Y n t Ο‰) ^ 2 βˆ‚P) atTop (𝓝 0) :=
PredictableL2.tendsto_integral_sq_error_of_hasSum
(fun a => I n a t) (fun a => hI2 n a t) (hY2 n t) (hsY n t)
have hpair (n m N : β„•) (hN : 0 < N) :
(∫ Ο‰, (Y n N Ο‰ - Y m N Ο‰) ^ 2 βˆ‚P) =
βˆ‘' a, ∫ s in (0 : ℝ)..(N : ℝ),
∫ Ο‰, (H n a s.toNNReal Ο‰ - H m a s.toNNReal Ο‰) ^ 2 βˆ‚P :=
infinite_row_difference_isometry_of_row_energies hB hAd hind
(H n) (H m) (hH n) (hH m) (hcH n) (hcH m)
(C n) (C m) (hC n) (hC m) (hbH n) (hbH m) N (he n N) (he m N)
hcross (fun a => hI2 n a N) (fun a => hI2 m a N)
(fun a => ha n a N hN) (fun a => ha m a N hN)
(hY2 n N) (hY2 m N) (hs n N) (hs m N)
have hCY (N : β„•) (hN : 0 < N) : βˆ€ Ξ΅ > (0 : ℝ), βˆƒ k : β„•,
βˆ€ n β‰₯ k, βˆ€ m β‰₯ k, (∫ Ο‰, (Y n N Ο‰ - Y m N Ο‰) ^ 2 βˆ‚P) < Ξ΅ := by
simpa only [hpair _ _ N hN] using hCauchy N hN
obtain ⟨Z, hZ2, hpZ, hmZ, hcZ, hlZ, heZ, hmaxZ⟩ :=
MartingaleSquareMaximal.exists_global_continuous_meanSquare_limit hmY hY2 hcY hCY
have hzZ : Z 0 =ᡐ[P] 0 := by
have hzero (n : β„•) : (∫ Ο‰, Y n 0 Ο‰ ^ 2 βˆ‚P) = 0 := by
simp only [heY, NNReal.coe_zero, intervalIntegral.integral_same, tsum_zero]
have henergy0 : (∫ Ο‰, Z 0 Ο‰ ^ 2 βˆ‚P) = 0 :=
tendsto_nhds_unique (heZ 0) (by simpa only [hzero] using
(tendsto_const_nhds : Tendsto (fun _ : β„• => (0 : ℝ)) atTop (𝓝 0)))
apply ae_eq_of_integral_sq_sub_eq_zero
Β· simpa only [Pi.zero_apply, sub_zero] using (hZ2 0).integrable_sq
Β· simpa only [Pi.zero_apply, sub_zero] using henergy0
have hcenter (t : ℝβ‰₯0) : (∫ Ο‰, Z t Ο‰ βˆ‚P) = 0 := by
have hlim := BrownianIntegralProcess.L2_tendsto_of_integral_sq_sub_tendsto
(fun n => hY2 n t) (hZ2 t) (hlZ t)
have hi := (tendsto_const_nhds (x := (memLp_const (1 : ℝ)).toLp
(fun _ : Ξ© => (1 : ℝ)))).inner (π•œ := ℝ) hlim
simp only [PredictableL2.inner_toLp, one_mul, hmeanY] at hi
exact tendsto_nhds_unique hi tendsto_const_nhds
refine ⟨I, Y, Z, hI2, hY2, hZ2, (fun n => ⟨hpY n, hmY n, hcY n⟩), ha,
hsY, heY, hpair, hpZ, hmZ, hcZ, hzZ, hcenter, hlZ, ?_, hmaxZ⟩
intro t
simpa only [heY] using heZ t
end Problem367.BrownianArrayFiltration
end
end OAI