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