math / data /lean /OAI /Probability /FreeIsing /Martingales /CoefficientApproximation.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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