Buckets:
| import OAI.Probability.FreeIsing.Ising.InnovationIndependence | |
| import OAI.Probability.FreeIsing.Ising.ObservationLaw | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory | |
| open scoped NNReal | |
| namespace Problem367.IsingObservationInnovation | |
| private theorem indep_map_of_comap {Ω E : Type*} | |
| [mΩ : MeasurableSpace Ω] [mE : MeasurableSpace E] | |
| {P : Measure Ω} {f : Ω → E} (hf : Measurable f) | |
| {m n : MeasurableSpace E} (hm : m ≤ mE) (hn : n ≤ mE) | |
| (h : Indep (m.comap f) (n.comap f) P) : | |
| Indep m n (.map Ω E mΩ mE f P) := by | |
| rw [Indep_iff] | |
| intro A B hA hB | |
| rw [Measure.map_apply (μ := P) hf ((hm A hA).inter (hn B hB)), | |
| Measure.map_apply (μ := P) hf (hm A hA), Measure.map_apply (μ := P) hf (hn B hB)] | |
| exact (Indep_iff _ _ _).mp h _ _ | |
| ((comap_measurable (m := m) f) hA) ((comap_measurable (m := n) f) hB) | |
| def futureInnovation {d : ℕ} (beta : ℝ) (s : ℝ≥0) (x : Paths d) : | |
| Set.Ici s → TreeVertex d → ℝ := fun t v => | |
| innovationMap beta x v t.val - innovationMap beta x v s | |
| theorem measurable_futureInnovation {d : ℕ} (beta : ℝ) (s : ℝ≥0) : | |
| Measurable (futureInnovation (d := d) beta s) := by | |
| apply Measurable.of_eval | |
| intro t | |
| apply Measurable.of_eval | |
| intro v | |
| exact ((measurable_evaluation v t.val).comp (measurable_innovationMap beta)).sub | |
| ((measurable_evaluation v s).comp (measurable_innovationMap beta)) | |
| theorem innovationMap_stronglyAdapted {d : ℕ} (beta : ℝ) (v : TreeVertex d) : | |
| StronglyAdapted (filtration d) (fun t x => innovationMap beta x v t) := by | |
| exact (arrayNaturalFiltration_stronglyAdapted evaluation measurable_evaluation v).sub | |
| (stronglyAdapted_nnrealTimePrimitive (posterior_progressive beta v)) | |
| theorem innovationMap_isBrownianReal {d : ℕ} {beta : ℝ} | |
| {μ : Measure (TreeVertex d → IsingSpin)} | |
| (hμ : HasFreeIsingLaw (Real.tanh beta) μ) (v : TreeVertex d) : | |
| IsBrownianReal (fun t x => innovationMap beta x v t) (observationLaw μ) := by | |
| have hpath : HasLaw (fun x => innovationMap beta x v) | |
| WienerSampler.wienerMeasure (observationLaw μ) := by | |
| refine ⟨((measurable_pi_apply v).comp (measurable_innovationMap beta)).aemeasurable, ?_⟩ | |
| rw [show (fun x => innovationMap beta x v) = | |
| (fun y : Paths d => y v) ∘ innovationMap beta from rfl, | |
| ← Measure.map_map (measurable_pi_apply v) (measurable_innovationMap beta), | |
| map_innovationMap_observationLaw hμ, Measure.infinitePi_map_eval] | |
| exact { hasLaw := fun I => (WienerSampler.coordinate_isBrownianReal.hasLaw I).comp hpath | |
| cont := Filter.Eventually.of_forall (fun x => (innovationMap beta x v).continuous) } | |
| theorem innovationMap_future_indep_filtration {d : ℕ} {beta : ℝ} | |
| {μ : Measure (TreeVertex d → IsingSpin)} | |
| (hμ : HasFreeIsingLaw (Real.tanh beta) μ) (s : ℝ≥0) : | |
| Indep (filtration d s) | |
| (MeasurableSpace.comap (futureInnovation beta s) inferInstance) | |
| (observationLaw μ) := by | |
| change Indep _ _ ((μ.prod (labelMeasure d)).map (uniformObservation (d := d))) | |
| refine indep_map_of_comap (P := μ.prod (labelMeasure d)) | |
| (f := uniformObservation) measurable_uniformObservation (filtration d |>.le s) | |
| (measurable_futureInnovation beta s).comap_le ?_ | |
| have h := IsingInnovation.uniformInnovation_future_indep_filtration hμ s | |
| rw [MeasurableSpace.comap_comp] | |
| rw [filtration_comap_uniformObservation d s | |
| (fun t => WienerSampler.measurable_sample_eval.comp | |
| (measurable_const.prodMk measurable_id))] | |
| exact h | |
| theorem innovationMap_future_indep {d : ℕ} {beta : ℝ} | |
| {μ : Measure (TreeVertex d → IsingSpin)} | |
| (hμ : HasFreeIsingLaw (Real.tanh beta) μ) | |
| {E : Type*} [MeasurableSpace E] (s : ℝ≥0) {Y : Paths d → E} | |
| (hY : Measurable[filtration d s] Y) : | |
| IndepFun Y (futureInnovation beta s) (observationLaw μ) := | |
| indep_of_indep_of_le_left (innovationMap_future_indep_filtration hμ s) hY.comap_le | |
| theorem innovationMap_increment_indep_filtration {d : ℕ} {beta : ℝ} | |
| {μ : Measure (TreeVertex d → IsingSpin)} | |
| (hμ : HasFreeIsingLaw (Real.tanh beta) μ) (s t : ℝ≥0) (hst : s ≤ t) : | |
| Indep (MeasurableSpace.comap | |
| (fun x v => innovationMap beta x v t - innovationMap beta x v s) inferInstance) | |
| (filtration d s) (observationLaw μ) := by | |
| apply (indep_of_indep_of_le_right (innovationMap_future_indep_filtration hμ s) ?_).symm | |
| exact ((measurable_pi_apply (⟨t, hst⟩ : Set.Ici s)).comp | |
| (comap_measurable (futureInnovation beta s))).comap_le | |
| end Problem367.IsingObservationInnovation | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 4.59 kB
- Xet hash:
- b29128080b02afe1f586d34a7619c161c3a8616ef090f0a6eca7025131382dd0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.