Download data/lean/OAI/Probability/FreeIsing/Brownian/FiltrationIntegral.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.54 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Brownian/FiltrationIntegral.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Brownian/FiltrationIntegral.lean
-
curl -L -o FiltrationIntegral.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Brownian/FiltrationIntegral.lean
5.54 kB
| import OAI.Probability.FreeIsing.Brownian.SimpleIntegral | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory | |
| open scoped NNReal | |
| namespace Problem367.BrownianFiltration | |
| variable {Ξ© : Type*} [mΞ© : MeasurableSpace Ξ©] {P : Measure Ξ©} | |
| {B : ββ₯0 β Ξ© β β} {F : Filtration ββ₯0 mΞ©} | |
| theorem increment_indep_of_past | |
| {s t : ββ₯0} | |
| (hind : Indep | |
| (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) (F s) P) | |
| {H : Ξ© β β} (hH : StronglyMeasurable[F s] H) : | |
| IndepFun (fun Ο => B t Ο - B s Ο) H P := | |
| indep_of_indep_of_le_right hind hH.measurable.comap_le | |
| theorem increment_condExp_zero | |
| (hB : IsPreBrownianReal B P) (hAd : StronglyAdapted F B) | |
| {s t : ββ₯0} | |
| (hind : Indep | |
| (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) (F s) P) : | |
| P[(fun Ο => B t Ο - B s Ο) | F s] =α΅[P] fun _ => 0 := by | |
| let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure | |
| have hm : Measurable (fun Ο => B t Ο - B s Ο) := | |
| ((hAd t).mono (F.le t)).measurable.sub ((hAd s).mono (F.le s)).measurable | |
| have hce := condExp_indep_eq hm.comap_le (F.le s) | |
| (show StronglyMeasurable[MeasurableSpace.comap | |
| (fun Ο => B t Ο - B s Ο) inferInstance] (fun Ο => B t Ο - B s Ο) from | |
| (measurable_iff_comap_le.mpr le_rfl).stronglyMeasurable) hind | |
| have hmean : (β« Ο, B t Ο - B s Ο βP) = 0 := by | |
| rw [integral_sub (hB.integrable_eval t) (hB.integrable_eval s), | |
| hB.integral_eval, hB.integral_eval, sub_self] | |
| simpa only [hmean] using hce | |
| theorem increment_sq_condExp | |
| (hB : IsPreBrownianReal B P) (hAd : StronglyAdapted F B) | |
| {s t : ββ₯0} (hst : s β€ t) | |
| (hind : Indep | |
| (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) (F s) P) : | |
| P[(fun Ο => (B t Ο - B s Ο) ^ 2) | F s] =α΅[P] | |
| fun _ => (t : β) - (s : β) := by | |
| let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure | |
| have hm : Measurable (fun Ο => B t Ο - B s Ο) := | |
| ((hAd t).mono (F.le t)).measurable.sub ((hAd s).mono (F.le s)).measurable | |
| have hd : StronglyMeasurable[MeasurableSpace.comap | |
| (fun Ο => B t Ο - B s Ο) inferInstance] (fun Ο => B t Ο - B s Ο) := | |
| (measurable_iff_comap_le.mpr le_rfl).stronglyMeasurable | |
| have hce := condExp_indep_eq hm.comap_le (F.le s) (hd.pow 2) hind | |
| have hmean : (β« Ο, (B t Ο - B s Ο) ^ 2 βP) = (t : β) - (s : β) := by | |
| have h := preBrownian_integral_sq (hB.shift s) (t - s) | |
| simpa [add_tsub_cancel_of_le hst, NNReal.coe_sub hst] using h | |
| change P[(fun Ο => (B t Ο - B s Ο) ^ 2) | F s] =α΅[P] | |
| fun _ => β« Ο, (B t Ο - B s Ο) ^ 2 βP at hce | |
| simpa only [hmean] using hce | |
| theorem predictable_mul_memLp_two | |
| (hB : IsPreBrownianReal B P) {s t : ββ₯0} | |
| (hind : Indep | |
| (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) (F s) P) | |
| {H : Ξ© β β} (hH : StronglyMeasurable[F s] H) (hH2 : MemLp H 2 P) : | |
| MemLp (fun Ο => H Ο * (B t Ο - B s Ο)) 2 P := by | |
| have hD2 : MemLp (fun Ο => B t Ο - B s Ο) 2 P := | |
| (hB.isGaussianProcess.hasGaussianLaw_eval t).memLp_two.sub | |
| (hB.isGaussianProcess.hasGaussianLaw_eval s).memLp_two | |
| have hi := (increment_indep_of_past hind hH).symm | |
| have hint := (hi.comp (measurable_id.pow_const 2) (measurable_id.pow_const 2)).integrable_mul | |
| hH2.integrable_sq hD2.integrable_sq | |
| apply (memLp_two_iff_integrable_sq (hH2.aestronglyMeasurable.mul hD2.aestronglyMeasurable)).2 | |
| simpa only [Function.comp_def, Pi.mul_def, mul_pow, id_eq] using hint | |
| theorem predictable_sum_isometry | |
| (hB : IsPreBrownianReal B P) (hAd : StronglyAdapted F B) | |
| (hind : β s t, s β€ t β Indep | |
| (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) (F s) P) | |
| (t : β β ββ₯0) (ht : Monotone t) (H : β β Ξ© β β) | |
| (hH : β i, StronglyMeasurable[F (t i)] (H i)) | |
| (hH2 : β i, MemLp (H i) 2 P) (s : Finset β) : | |
| (β« Ο, (β i β s, H i Ο * (B (t (i + 1)) Ο - B (t i) Ο)) ^ 2 βP) = | |
| β i β s, ((t (i + 1) : β) - (t i : β)) * β« Ο, H i Ο ^ 2 βP := by | |
| let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure | |
| let G : Filtration β mΞ© := | |
| β¨fun i => F (t i), fun _ _ hij => F.mono (ht hij), fun i => F.le (t i)β© | |
| let D : β β Ξ© β β := fun i Ο => B (t (i + 1)) Ο - B (t i) Ο | |
| have hD (i : β) : StronglyMeasurable[G (i + 1)] (D i) := | |
| (hAd (t (i + 1))).sub ((hAd (t i)).mono (F.mono (ht (Nat.le_succ i)))) | |
| have hD2 (i : β) : MemLp (D i) 2 P := | |
| (hB.isGaussianProcess.hasGaussianLaw_eval (t (i + 1))).memLp_two.sub | |
| (hB.isGaussianProcess.hasGaussianLaw_eval (t i)).memLp_two | |
| exact SimpleIntegral.predictable_sum_isometry G H D | |
| (fun i => (t (i + 1) : β) - (t i : β)) hH hD hD2 | |
| (fun i => predictable_mul_memLp_two hB | |
| (hind (t i) (t (i + 1)) (ht (Nat.le_succ i))) (hH i) (hH2 i)) | |
| (fun i => increment_condExp_zero hB hAd | |
| (hind (t i) (t (i + 1)) (ht (Nat.le_succ i)))) | |
| (fun i => increment_sq_condExp hB hAd (ht (Nat.le_succ i)) | |
| (hind (t i) (t (i + 1)) (ht (Nat.le_succ i)))) s | |
| theorem increments_indep_natural | |
| (hB : IsPreBrownianReal B P) (hm : β t, StronglyMeasurable (B t)) | |
| {s t : ββ₯0} (hst : s β€ t) : | |
| Indep (MeasurableSpace.comap (fun Ο => B t Ο - B s Ο) inferInstance) | |
| (Filtration.natural B hm s) P := by | |
| rw [Filtration.natural_eq_comap] | |
| exact preBrownian_increment_indep_past hB hst | |
| end Problem367.BrownianFiltration | |
| end | |
| end OAI | |