File size: 4,526 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | import OAI.Probability.FreeIsing.Stochastic.StoppedBrownianCross
namespace OAI
noncomputable section
open MeasureTheory ProbabilityTheory
open scoped NNReal
namespace Problem367.StoppedBrownianArraySquare
open StoppedSimpleIntegral BrownianFiltration StoppedBrownianSquare StoppedBrownianCross
variable {Ξ© ΞΉ : Type*} [mΞ© : MeasurableSpace Ξ©] {P : Measure Ξ©}
{F : Filtration ββ₯0 mΞ©}
private theorem finite_sum_martingale [IsFiniteMeasure P]
(S : ΞΉ β ββ₯0 β Ξ© β β) (I : Finset ΞΉ)
(hS : β i β I, Martingale (S i) F P) :
Martingale (fun t Ο => β i β I, S i t Ο) F P := by
classical
induction I using Finset.induction_on with
| empty =>
convert martingale_zero β F P using 1
funext t Ο
simp
| @insert i I hi ih =>
have hm := (hS i (Finset.mem_insert_self i I)).add
(ih (fun j hj => hS j (Finset.mem_insert_of_mem hj)))
convert hm using 1
funext t Ο
simp only [Finset.sum_insert hi, Pi.add_apply]
theorem finite_sum_compensated_square_martingale [IsFiniteMeasure P]
(S A : ΞΉ β ββ₯0 β Ξ© β β)
(hdiag : β i, Martingale (fun t Ο => S i t Ο ^ 2 - A i t Ο) F P)
(hcross : Pairwise fun i j => Martingale (fun t Ο => S i t Ο * S j t Ο) F P)
(I : Finset ΞΉ) :
Martingale (fun t Ο => (β i β I, S i t Ο) ^ 2 - β i β I, A i t Ο) F P := by
classical
induction I using Finset.induction_on with
| empty =>
convert martingale_zero β F P using 1
funext t Ο
simp
| @insert i I hi ih =>
have hm := finite_sum_martingale (fun j t Ο => S i t Ο * S j t Ο) I
(fun j hj => hcross (fun heq => hi (heq βΈ hj)))
convert ((hdiag i).add ih).add (Martingale.smul 2 hm) using 1
funext t Ο
simp only [Finset.sum_insert hi, Pi.add_apply, Pi.smul_apply, smul_eq_mul,
β Finset.mul_sum]
ring
theorem stopped_brownian_array_square_martingale [IsProbabilityMeasure P]
(B : ΞΉ β ββ₯0 β Ξ© β β)
(hB : β j, IsPreBrownianReal (B j) P)
(hAd : β j, StronglyAdapted F (B j))
(hpast : β s t, s β€ t β Indep (MeasurableSpace.comap
(fun Ο j => B j t Ο - B j s Ο) inferInstance) (F s) P)
(hind : β s t, s β€ t β Pairwise fun j k =>
IndepFun (fun Ο => B j t Ο - B j s Ο) (fun Ο => B k t Ο - B k s Ο) P)
(Ο : β β ββ₯0) (hΟ : Monotone Ο) (H : ΞΉ β β β Ξ© β β)
(hH : β j i, StronglyMeasurable[F (Ο i)] (H j i))
(K : ΞΉ β β β β) (hbound : β j i, βα΅ Ο βP, βH j i Οβ β€ K j i)
(I : Finset ΞΉ) (n : β) :
Martingale (fun t Ο =>
(β j β I, β i β Finset.range n,
intervalSum (B j) (H j i) (Ο i) (Ο (i + 1)) t Ο) ^ 2 -
β j β I, β i β Finset.range n,
H j i Ο ^ 2 * ((min t (Ο (i + 1)) : β) - (min t (Ο i) : β))) F P := by
have hcoord (j : ΞΉ) (s t : ββ₯0) (hst : s β€ t) : Indep (MeasurableSpace.comap
(fun Ο => B j t Ο - B j s Ο) inferInstance) (F s) P := by
apply indep_of_indep_of_le_left (hpast s t hst)
have hm : Measurable[MeasurableSpace.comap
(fun Ο j => B j t Ο - B j s Ο) inferInstance]
(fun Ο j => B j t Ο - B j s Ο) := measurable_iff_comap_le.mpr le_rfl
exact ((measurable_pi_apply j).comp hm).comap_le
have hpair (j k : ΞΉ) (s t : ββ₯0) (hst : s β€ t) : Indep (MeasurableSpace.comap
(fun Ο => (B j t Ο - B j s Ο, B k t Ο - B k s Ο)) inferInstance) (F s) P := by
apply indep_of_indep_of_le_left (hpast s t hst)
have hm : Measurable[MeasurableSpace.comap
(fun Ο j => B j t Ο - B j s Ο) inferInstance]
(fun Ο j => B j t Ο - B j s Ο) := measurable_iff_comap_le.mpr le_rfl
exact (((measurable_pi_apply j).comp hm).prodMk
((measurable_pi_apply k).comp hm)).comap_le
exact finite_sum_compensated_square_martingale
(fun j t Ο => β i β Finset.range n,
intervalSum (B j) (H j i) (Ο i) (Ο (i + 1)) t Ο)
(fun j t Ο => β i β Finset.range n,
H j i Ο ^ 2 * ((min t (Ο (i + 1)) : β) - (min t (Ο i) : β)))
(fun j => stopped_predictable_sum_square_martingale (hB j) (hAd j) (hcoord j)
Ο hΟ (H j) (hH j) (K j) (hbound j) n)
(fun j k hjk => stopped_brownian_sum_product_martingale (hB j) (hB k)
(hAd j) (hAd k) (hpair j k) (fun s t hst => hind s t hst hjk)
Ο hΟ (H j) (H k) (hH j) (hH k) (K j) (K k) (hbound j) (hbound k) n) I
end Problem367.StoppedBrownianArraySquare
end
end OAI
|