Mathlib.Probability.Kernel.Disintegration.Density
61 declarations. Mathlib docs · Source
Kernel density
Let κ : Kernel α (γ × β) and ν : Kernel α γ be two finite kernels with Kernel.fst κ ≤ ν,
where γ has a countably generated σ-algebra (true in particular for standard Borel spaces).
We build a function density κ ν : α → γ → Set β → ℝ jointly measurable in the first two arguments
such that for all a : α and all measurable sets s : Set β and A : Set γ,
∫ x in A, density κ ν a x s ∂(ν a) = (κ a).real (A ×ˢ s).
There are two main applications of this construction.
- Disintegration of kernels: for
κ : Kernel α (γ × β), we want to build a kernelη : Kernel (α × γ) βsuch thatκ = fst κ ⊗ₖ η. Forβ = ℝ, we can use the density ofκwith respect tofst κfor intervals to build a kernel cumulative distribution function forη. The construction can then be extended toβstandard Borel. - Radon-Nikodym theorem for kernels: for
κ ν : Kernel α γ, we can use the density to build a Radon-Nikodym derivative ofκwith respect toν. We don't needβhere but we can apply the density construction toβ = Unit. The derivative construction will usedensitybut will not be exactly equal to it because we will want to remove thefst κ ≤ νassumption.
Main definitions
ProbabilityTheory.Kernel.density: forκ : Kernel α (γ × β)andν : Kernel α γtwo finite kernels,Kernel.density κ νis a functionα → γ → Set β → ℝ.
Main statements
ProbabilityTheory.Kernel.setIntegral_density: for all measurable setsA : Set γands : Set β,∫ x in A, Kernel.density κ ν a x s ∂(ν a) = (κ a).real (A ×ˢ s).ProbabilityTheory.Kernel.measurable_density: the functionp : α × γ ↦ Kernel.density κ ν p.1 p.2 sis measurable.
Construction of the density
If we were interested only in a fixed a : α, then we could use the Radon-Nikodym derivative to
build the density function density κ ν, as follows.
def density' (κ : Kernel α (γ × β)) (ν : kernel a γ) (a : α) (x : γ) (s : Set β) : ℝ :=
(((κ a).restrict (univ ×ˢ s)).fst.rnDeriv (ν a) x).toReal
However, we can't turn those functions for each a into a measurable function of the pair (a, x).
In order to obtain measurability through countability, we use the fact that the measurable space γ
is countably generated. For each n : ℕ, we define (in the file
Mathlib/Probability/Process/PartitionFiltration.lean) a finite partition of γ, such that those
partitions are finer as n grows, and the σ-algebra generated by the union of all partitions is the
σ-algebra of γ. For x : γ, countablePartitionSet n x denotes the set in the partition such
that x ∈ countablePartitionSet n x.
For a given n, the function densityProcess κ ν n : α → γ → Set β → ℝ defined by
fun a x s ↦ (κ a (countablePartitionSet n x ×ˢ s) / ν a (countablePartitionSet n x)).toReal has
the desired property that ∫ x in A, densityProcess κ ν n a x s ∂(ν a) = (κ a (A ×ˢ s)).toReal for
all A in the σ-algebra generated by the partition at scale n and is measurable in (a, x).
countableFiltration γ is the filtration of those σ-algebras for all n : ℕ.
The functions densityProcess κ ν n described here are a bounded ν-martingale for the filtration
countableFiltration γ. By Doob's martingale L1 convergence theorem, that martingale converges to
a limit, which has a product-measurable version and satisfies the integral equality for all A in
⨆ n, countableFiltration γ n. Finally, the partitions were chosen so that the supremum is equal
to the σ-algebra on γ, hence the equality holds for all measurable sets.
We have obtained the desired density function.
References
The construction of the density process in this file follows the proof of Theorem 9.27 in
[O. Kallenberg, Foundations of modern probability][kallenberg2021], adapted to use a countably
generated hypothesis instead of specializing to ℝ.
We specialize to ν = fst κ, for which density κ (fst κ) a t univ = 1 almost everywhere.
theorem MeasurableSpace.countablePartitionSet.congr_simp E1 #
∀ {α : Type u_1} [m : MeasurableSpace α] [h : MeasurableSpace.CountablyGenerated α] (n n_1 : ℕ),
n = n_1 →
∀ (a a_1 : α), a = a_1 → MeasurableSpace.countablePartitionSet n a = MeasurableSpace.countablePartitionSet n_1 a_1
theorem MeasurableSpace.countablePartition.congr_simp E1 #
∀ (α : Type u_3) [inst : MeasurableSpace α] [inst_1 : MeasurableSpace.CountablyGenerated α] (a a_1 : ℕ),
a = a_1 → MeasurableSpace.countablePartition α a = MeasurableSpace.countablePartition α a_1
theorem ProbabilityTheory.Kernel.densityProcess.congr_simp E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ κ_1 : ProbabilityTheory.Kernel α (γ × β)),
κ = κ_1 →
∀ (ν ν_1 : ProbabilityTheory.Kernel α γ),
ν = ν_1 →
∀ (n n_1 : ℕ),
n = n_1 →
∀ (a a_1 : α),
a = a_1 →
∀ (x x_1 : γ),
x = x_1 →
∀ (s s_1 : Set β), s = s_1 → κ.densityProcess ν n a x s = κ_1.densityProcess ν_1 n_1 a_1 x_1 s_1
theorem ProbabilityTheory.Kernel.density.congr_simp E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ κ_1 : ProbabilityTheory.Kernel α (γ × β)),
κ = κ_1 →
∀ (ν ν_1 : ProbabilityTheory.Kernel α γ),
ν = ν_1 →
∀ (a a_1 : α),
a = a_1 →
∀ (x x_1 : γ), x = x_1 → ∀ (s s_1 : Set β), s = s_1 → κ.density ν a x s = κ_1.density ν_1 a_1 x_1 s_1
def ProbabilityTheory.Kernel.densityProcess E1 #
{α : Type u_1} →
{β : Type u_2} →
{γ : Type u_3} →
{mα : MeasurableSpace α} →
{mβ : MeasurableSpace β} →
{mγ : MeasurableSpace γ} →
[MeasurableSpace.CountablyGenerated γ] →
ProbabilityTheory.Kernel α (γ × β) → ProbabilityTheory.Kernel α γ → ℕ → α → γ → Set β → ℝ
An ℕ-indexed martingale that is a density for κ with respect to ν on the sets in
countablePartition γ n. Used to define its limit ProbabilityTheory.Kernel.density, which is
a density for those kernels for all measurable sets.
theorem ProbabilityTheory.Kernel.densityProcess_def E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (a : α) (s : Set β),
(fun t ↦ κ.densityProcess ν n a t s) = fun t ↦
((κ a) (MeasurableSpace.countablePartitionSet n t ×ˢ s) / (ν a) (MeasurableSpace.countablePartitionSet n t)).toReal
theorem ProbabilityTheory.Kernel.measurable_densityProcess_countableFiltration_aux E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) {s : Set β},
MeasurableSet s →
Measurable fun p ↦
(κ p.1) (MeasurableSpace.countablePartitionSet n p.2 ×ˢ s) / (ν p.1) (MeasurableSpace.countablePartitionSet n p.2)
theorem ProbabilityTheory.Kernel.measurable_densityProcess_aux E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) {s : Set β},
MeasurableSet s →
Measurable fun p ↦
(κ p.1) (MeasurableSpace.countablePartitionSet n p.2 ×ˢ s) / (ν p.1) (MeasurableSpace.countablePartitionSet n p.2)
theorem ProbabilityTheory.Kernel.measurable_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) {s : Set β},
MeasurableSet s → Measurable fun p ↦ κ.densityProcess ν n p.1 p.2 s
theorem ProbabilityTheory.Kernel.measurable_densityProcess_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (x : γ) {s : Set β},
MeasurableSet s → Measurable fun a ↦ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.measurable_densityProcess_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) {s : Set β} (a : α),
MeasurableSet s → Measurable fun x ↦ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.measurable_countableFiltration_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → Measurable fun x ↦ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.stronglyMeasurable_countableFiltration_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → MeasureTheory.StronglyMeasurable fun x ↦ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.stronglyAdapted_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (a : α) {s : Set β},
MeasurableSet s →
MeasureTheory.StronglyAdapted (ProbabilityTheory.countableFiltration γ) fun n x ↦ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.densityProcess_nonneg E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (a : α) (x : γ) (s : Set β), 0 ≤ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.meas_countablePartitionSet_le_of_fst_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ (n : ℕ) (a : α) (x : γ) (s : Set β),
(κ a) (MeasurableSpace.countablePartitionSet n x ×ˢ s) ≤ (ν a) (MeasurableSpace.countablePartitionSet n x)
theorem ProbabilityTheory.Kernel.densityProcess_le_one E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ}, κ.fst ≤ ν → ∀ (n : ℕ) (a : α) (x : γ) (s : Set β), κ.densityProcess ν n a x s ≤ 1
theorem ProbabilityTheory.Kernel.eLpNorm_densityProcess_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → MeasureTheory.eLpNorm (fun x ↦ κ.densityProcess ν n a x s) 1 (ν a) ≤ (ν a) Set.univ
theorem ProbabilityTheory.Kernel.integrable_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → MeasureTheory.Integrable (fun x ↦ κ.densityProcess ν n a x s) (ν a)
theorem ProbabilityTheory.Kernel.setIntegral_densityProcess_of_mem E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [hν : ProbabilityTheory.IsFiniteKernel ν] (n : ℕ) (a : α) {s : Set β},
MeasurableSet s →
∀ {u : Set γ},
u ∈ MeasurableSpace.countablePartition γ n →
∫ (x : γ) in u, κ.densityProcess ν n a x s ∂ν a = (κ a).real (u ×ˢ s)
theorem ProbabilityTheory.Kernel.setIntegral_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (n : ℕ) (a : α) {s : Set β},
MeasurableSet s →
∀ {A : Set γ}, MeasurableSet A → ∫ (x : γ) in A, κ.densityProcess ν n a x s ∂ν a = (κ a).real (A ×ˢ s)
theorem ProbabilityTheory.Kernel.integral_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → ∫ (x : γ), κ.densityProcess ν n a x s ∂ν a = (κ a).real (Set.univ ×ˢ s)
theorem ProbabilityTheory.Kernel.setIntegral_densityProcess_of_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] {n m : ℕ},
n ≤ m →
∀ (a : α) {s : Set β},
MeasurableSet s →
∀ {A : Set γ}, MeasurableSet A → ∫ (x : γ) in A, κ.densityProcess ν m a x s ∂ν a = (κ a).real (A ×ˢ s)
theorem ProbabilityTheory.Kernel.condExp_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] {i j : ℕ},
i ≤ j →
∀ (a : α) {s : Set β},
MeasurableSet s →
(ν a)[fun x ↦ κ.densityProcess ν j a x s | ↑(ProbabilityTheory.countableFiltration γ) i] =ᵐ[ν a] fun x ↦
κ.densityProcess ν i a x s
theorem ProbabilityTheory.Kernel.martingale_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
MeasureTheory.Martingale (fun n x ↦ κ.densityProcess ν n a x s) (ProbabilityTheory.countableFiltration γ) (ν a)
theorem ProbabilityTheory.Kernel.densityProcess_mono_set E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ (n : ℕ) (a : α) (x : γ) {s s' : Set β}, s ⊆ s' → κ.densityProcess ν n a x s ≤ κ.densityProcess ν n a x s'
theorem ProbabilityTheory.Kernel.densityProcess_mono_kernel_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ} {κ' : ProbabilityTheory.Kernel α (γ × β)},
κ ≤ κ' → κ'.fst ≤ ν → ∀ (n : ℕ) (a : α) (x : γ) (s : Set β), κ.densityProcess ν n a x s ≤ κ'.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.densityProcess_antitone_kernel_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν ν' : ProbabilityTheory.Kernel α γ},
ν ≤ ν' → κ.fst ≤ ν → ∀ (n : ℕ) (a : α) (x : γ) (s : Set β), κ.densityProcess ν' n a x s ≤ κ.densityProcess ν n a x s
theorem ProbabilityTheory.Kernel.densityProcess_empty E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (n : ℕ) (a : α) (x : γ), κ.densityProcess ν n a x ∅ = 0
theorem ProbabilityTheory.Kernel.tendsto_densityProcess_atTop_empty_of_antitone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsFiniteKernel κ] (n : ℕ) (a : α) (x : γ) (seq : ℕ → Set β),
Antitone seq →
⋂ i, seq i = ∅ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
Filter.Tendsto (fun m ↦ κ.densityProcess ν n a x (seq m)) Filter.atTop (nhds (κ.densityProcess ν n a x ∅))
theorem ProbabilityTheory.Kernel.tendsto_densityProcess_atTop_of_antitone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) [ProbabilityTheory.IsFiniteKernel κ] (n : ℕ) (a : α) (x : γ) (seq : ℕ → Set β),
Antitone seq →
⋂ i, seq i = ∅ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
Filter.Tendsto (fun m ↦ κ.densityProcess ν n a x (seq m)) Filter.atTop (nhds 0)
theorem ProbabilityTheory.Kernel.tendsto_densityProcess_limitProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
∀ᵐ (x : γ) ∂ν a,
Filter.Tendsto (fun n ↦ κ.densityProcess ν n a x s) Filter.atTop
(nhds
(MeasureTheory.Filtration.limitProcess (fun n x ↦ κ.densityProcess ν n a x s)
(ProbabilityTheory.countableFiltration γ) (ν a) x))
theorem ProbabilityTheory.Kernel.memL1_limitProcess_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
MeasureTheory.MemLp
(MeasureTheory.Filtration.limitProcess (fun n x ↦ κ.densityProcess ν n a x s)
(ProbabilityTheory.countableFiltration γ) (ν a))
1 (ν a)
theorem ProbabilityTheory.Kernel.tendsto_eLpNorm_one_densityProcess_limitProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
Filter.Tendsto
(fun n ↦
MeasureTheory.eLpNorm
((fun x ↦ κ.densityProcess ν n a x s) -
MeasureTheory.Filtration.limitProcess (fun n x ↦ κ.densityProcess ν n a x s)
(ProbabilityTheory.countableFiltration γ) (ν a))
1 (ν a))
Filter.atTop (nhds 0)
theorem ProbabilityTheory.Kernel.tendsto_eLpNorm_one_restrict_densityProcess_limitProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ} [ProbabilityTheory.IsFiniteKernel ν],
κ.fst ≤ ν →
∀ (a : α) {s : Set β},
MeasurableSet s →
∀ (A : Set γ),
Filter.Tendsto
(fun n ↦
MeasureTheory.eLpNorm
((fun x ↦ κ.densityProcess ν n a x s) -
MeasureTheory.Filtration.limitProcess (fun n x ↦ κ.densityProcess ν n a x s)
(ProbabilityTheory.countableFiltration γ) (ν a))
1 ((ν a).restrict A))
Filter.atTop (nhds 0)
def ProbabilityTheory.Kernel.density E3 #
{α : Type u_1} →
{β : Type u_2} →
{γ : Type u_3} →
{mα : MeasurableSpace α} →
{mβ : MeasurableSpace β} →
{mγ : MeasurableSpace γ} →
[MeasurableSpace.CountablyGenerated γ] →
ProbabilityTheory.Kernel α (γ × β) → ProbabilityTheory.Kernel α γ → α → γ → Set β → ℝ
Density of the kernel κ with respect to ν. This is a function α → γ → Set β → ℝ which
is measurable on α × γ for all measurable sets s : Set β and satisfies that
∫ x in A, density κ ν a x s ∂(ν a) = (κ a).real (A ×ˢ s) for all measurable A : Set γ.
theorem ProbabilityTheory.Kernel.density_ae_eq_limitProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
(fun x ↦ κ.density ν a x s) =ᵐ[ν a]
MeasureTheory.Filtration.limitProcess (fun n x ↦ κ.densityProcess ν n a x s)
(ProbabilityTheory.countableFiltration γ) (ν a)
theorem ProbabilityTheory.Kernel.tendsto_m_density E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ (a : α) [ProbabilityTheory.IsFiniteKernel ν] {s : Set β},
MeasurableSet s →
∀ᵐ (x : γ) ∂ν a, Filter.Tendsto (fun n ↦ κ.densityProcess ν n a x s) Filter.atTop (nhds (κ.density ν a x s))
theorem ProbabilityTheory.Kernel.measurable_density E3 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) {s : Set β}, MeasurableSet s → Measurable fun p ↦ κ.density ν p.1 p.2 s
theorem ProbabilityTheory.Kernel.measurable_density_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) (x : γ) {s : Set β}, MeasurableSet s → Measurable fun a ↦ κ.density ν a x s
theorem ProbabilityTheory.Kernel.measurable_density_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(ν : ProbabilityTheory.Kernel α γ) {s : Set β}, MeasurableSet s → ∀ (a : α), Measurable fun x ↦ κ.density ν a x s
theorem ProbabilityTheory.Kernel.density_mono_set E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν → ∀ (a : α) (x : γ) {s s' : Set β}, s ⊆ s' → κ.density ν a x s ≤ κ.density ν a x s'
theorem ProbabilityTheory.Kernel.density_nonneg E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ}, κ.fst ≤ ν → ∀ (a : α) (x : γ) (s : Set β), 0 ≤ κ.density ν a x s
theorem ProbabilityTheory.Kernel.density_le_one E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ}, κ.fst ≤ ν → ∀ (a : α) (x : γ) (s : Set β), κ.density ν a x s ≤ 1
theorem ProbabilityTheory.Kernel.eLpNorm_density_le E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ (a : α) {s : Set β}, MeasurableSet s → MeasureTheory.eLpNorm (fun x ↦ κ.density ν a x s) 1 (ν a) ≤ (ν a) Set.univ
theorem ProbabilityTheory.Kernel.integrable_density E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s → MeasureTheory.Integrable (fun x ↦ κ.density ν a x s) (ν a)
theorem ProbabilityTheory.Kernel.tendsto_setIntegral_densityProcess E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
∀ (A : Set γ),
Filter.Tendsto (fun i ↦ ∫ (x : γ) in A, κ.densityProcess ν i a x s ∂ν a) Filter.atTop
(nhds (∫ (x : γ) in A, κ.density ν a x s ∂ν a))
theorem ProbabilityTheory.Kernel.setIntegral_density_of_measurableSet E2 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (n : ℕ) (a : α) {s : Set β},
MeasurableSet s → ∀ {A : Set γ}, MeasurableSet A → ∫ (x : γ) in A, κ.density ν a x s ∂ν a = (κ a).real (A ×ˢ s)
Auxiliary lemma for setIntegral_density.
theorem ProbabilityTheory.Kernel.integral_density E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s → ∫ (x : γ), κ.density ν a x s ∂ν a = (κ a).real (Set.univ ×ˢ s)
theorem ProbabilityTheory.Kernel.setIntegral_density E3 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s → ∀ {A : Set γ}, MeasurableSet A → ∫ (x : γ) in A, κ.density ν a x s ∂ν a = (κ a).real (A ×ˢ s)
theorem ProbabilityTheory.Kernel.setLIntegral_density E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s →
∀ {A : Set γ}, MeasurableSet A → ∫⁻ (x : γ) in A, ENNReal.ofReal (κ.density ν a x s) ∂ν a = (κ a) (A ×ˢ s)
theorem ProbabilityTheory.Kernel.lintegral_density E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) {s : Set β},
MeasurableSet s → ∫⁻ (x : γ), ENNReal.ofReal (κ.density ν a x s) ∂ν a = (κ a) (Set.univ ×ˢ s)
theorem ProbabilityTheory.Kernel.tendsto_integral_density_of_monotone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) (seq : ℕ → Set β),
Monotone seq →
⋃ i, seq i = Set.univ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
Filter.Tendsto (fun m ↦ ∫ (x : γ), κ.density ν a x (seq m) ∂ν a) Filter.atTop (nhds ((κ a).real Set.univ))
theorem ProbabilityTheory.Kernel.tendsto_integral_density_of_antitone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) (seq : ℕ → Set β),
Antitone seq →
⋂ i, seq i = ∅ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
Filter.Tendsto (fun m ↦ ∫ (x : γ), κ.density ν a x (seq m) ∂ν a) Filter.atTop (nhds 0)
theorem ProbabilityTheory.Kernel.tendsto_density_atTop_ae_of_antitone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
{ν : ProbabilityTheory.Kernel α γ},
κ.fst ≤ ν →
∀ [ProbabilityTheory.IsFiniteKernel ν] (a : α) (seq : ℕ → Set β),
Antitone seq →
⋂ i, seq i = ∅ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
∀ᵐ (x : γ) ∂ν a, Filter.Tendsto (fun m ↦ κ.density ν a x (seq m)) Filter.atTop (nhds 0)
theorem ProbabilityTheory.Kernel.densityProcess_fst_univ E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
[ProbabilityTheory.IsFiniteKernel κ] (n : ℕ) (a : α) (x : γ),
κ.densityProcess κ.fst n a x Set.univ = if (κ.fst a) (MeasurableSpace.countablePartitionSet n x) = 0 then 0 else 1
theorem ProbabilityTheory.Kernel.densityProcess_fst_univ_ae E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
[ProbabilityTheory.IsFiniteKernel κ] (n : ℕ) (a : α), ∀ᵐ (x : γ) ∂κ.fst a, κ.densityProcess κ.fst n a x Set.univ = 1
theorem ProbabilityTheory.Kernel.tendsto_densityProcess_fst_atTop_univ_of_monotone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
(n : ℕ) (a : α) (x : γ) (seq : ℕ → Set β),
Monotone seq →
⋃ i, seq i = Set.univ →
Filter.Tendsto (fun m ↦ κ.densityProcess κ.fst n a x (seq m)) Filter.atTop
(nhds (κ.densityProcess κ.fst n a x Set.univ))
theorem ProbabilityTheory.Kernel.tendsto_densityProcess_fst_atTop_ae_of_monotone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
[ProbabilityTheory.IsFiniteKernel κ] (n : ℕ) (a : α) (seq : ℕ → Set β),
Monotone seq →
⋃ i, seq i = Set.univ →
∀ᵐ (x : γ) ∂κ.fst a, Filter.Tendsto (fun m ↦ κ.densityProcess κ.fst n a x (seq m)) Filter.atTop (nhds 1)
theorem ProbabilityTheory.Kernel.density_fst_univ E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] (κ : ProbabilityTheory.Kernel α (γ × β))
[ProbabilityTheory.IsFiniteKernel κ] (a : α), ∀ᵐ (x : γ) ∂κ.fst a, κ.density κ.fst a x Set.univ = 1
theorem ProbabilityTheory.Kernel.tendsto_density_fst_atTop_ae_of_monotone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
{mγ : MeasurableSpace γ} [inst : MeasurableSpace.CountablyGenerated γ] {κ : ProbabilityTheory.Kernel α (γ × β)}
[ProbabilityTheory.IsFiniteKernel κ] (a : α) (seq : ℕ → Set β),
Monotone seq →
⋃ i, seq i = Set.univ →
(∀ (m : ℕ), MeasurableSet (seq m)) →
∀ᵐ (x : γ) ∂κ.fst a, Filter.Tendsto (fun m ↦ κ.density κ.fst a x (seq m)) Filter.atTop (nhds 1)