cfahlgren1's picture
download
raw
2.83 kB
import Mathlib
import OAI.Probability.SphericalField.Cascade.FocusedShapes
namespace OAI
section
noncomputable section
open MeasureTheory ProbabilityTheory Filter Set
open scoped ENNReal NNReal Topology BigOperators BoundedContinuousFunction
noncomputable section
open MeasureTheory ProbabilityTheory Set Filter
open scoped ENNReal NNReal BigOperators Topology RealInnerProductSpace
open scoped Pointwise
namespace SphericalPerceptron
lemma stablePoisson_descendant_transform {S C D : Type*}
[MeasurableSpace S] [MeasurableSpace C] [MeasurableSpace D]
[Nonempty S] [Nonempty C] [Nonempty D]
(ν : Measure S) (ρ : Measure C) (θ : Measure D)
[IsProbabilityMeasure ν] [IsProbabilityMeasure ρ] [IsProbabilityMeasure θ]
{b : ℝ} (hb : 0 ≤ b) (T : S×C → D) (hT : Measurable T)
(hLaw : ∀ s, ρ.map (fun c => T (s,c)) = θ)
{F : S → ℝ} (hF : Measurable F)
(hI : Integrable (fun x => Real.exp (b*F x)) ν)
(hM : (∫ x, Real.exp (b*F x) ∂ν) = 1) :
(poissonRandomMeasureLaw ((stableLogIntensity b).prod (ν.prod ρ))).map
(Measure.map (fun p : ℝ×(S×C) => (p.1+F p.2.1,T p.2))) =
poissonRandomMeasureLaw ((stableLogIntensity b).prod θ) := by
rw [poissonRandomMeasureLaw_map _ (by fun_prop)]
congr 1
exact stableIntensity_descendant_transform ν ρ θ hb T hT hLaw hF hI hM
lemma countKernel_parameter_map_measurable {X S D : Type*}
[MeasurableSpace X] [MeasurableSpace S] [MeasurableSpace D]
(F : X×(ℝ×S) → D) (hF : Measurable F) :
Measurable (fun p : X×Measure (ℝ×S) =>
(markedStableCountKernel p.2).map (fun q => F (p.1,q))) := by
apply Measure.measurable_of_measurable_coe
intro s hs
let κ : Kernel (X×Measure (ℝ×S)) (ℝ×S) := markedStableCountKernel.comap Prod.snd measurable_snd
have hh : Measurable (fun p : (X×Measure (ℝ×S))×(ℝ×S) =>
(s.indicator (fun _ => (1:ℝ≥0∞))) (F (p.1.1,p.2))) :=
(measurable_const.indicator hs).comp (hF.comp (measurable_fst.fst.prodMk measurable_snd))
have hi := hh.lintegral_kernel_prod_right' (κ := κ)
convert hi using 1
funext p
calc
_ = ∫⁻ d, s.indicator (fun _ => (1:ℝ≥0∞)) d ∂(markedStableCountKernel p.2).map (fun q => F (p.1,q)) :=
(lintegral_indicator_one hs).symm
_ = _ := lintegral_map (measurable_const.indicator hs)
(hF.comp (measurable_const.prodMk measurable_id))
lemma markedStableCountKernel_ae_eq {S : Type*} [MeasurableSpace S] [Nonempty S]
(ν : Measure S) [IsProbabilityMeasure ν] {b : ℝ} (hb0 : 0 < b) (hb1 : b < 1) :
∀ᵐ η ∂poissonRandomMeasureLaw ((stableLogIntensity b).prod ν), markedStableCountKernel η = η := by
exact (markedStable_regular ν hb0 hb1).mono (fun η hη => markedStableCountKernel_eq η hη.1 hη.2)
end SphericalPerceptron
end
end
end
end OAI

Xet Storage Details

Size:
2.83 kB
·
Xet hash:
00855d18a7c6c0ca8ec0dcf4cf9a151aba0a176d715ce7c604662b03a59f490a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.