roseking's picture
Add lean source and binary files (part 81)
6aac220 verified
Raw History Blame Contribute Delete
1.52 kB

The normalized cell measure is carried by the cell itself.

15
theorem ae_mem_cellProbabilityMeasure {A : Type*} [MeasurableSpace A]
    (μ : Measure A) (C : Set A) (hC : MeasurableSet C) (hC0 : μ C ≠ 0) (hCfin : μ C ≠ ⊤) :
    ∀ᵐ a ∂(cellProbabilityMeasure μ C hC0 hCfin : Measure A), a ∈ C :=
proof · 1 line
  Measure.ae_smul_measure (ae_restrict_mem hC) _

Restricting a sample to a measurable set of full probability does not change any pushed-forward profile law.

22
theorem map_supportedProbabilityRestriction
    {A X : Type*} [MeasurableSpace A] [MeasurableSpace X]
    (μ : ProbabilityMeasure A) (C : Set A) (hC : MeasurableSet C)
    (hfull : ∀ᵐ a ∂(μ : Measure A), a ∈ C) (f : A → X) (hf : Measurable f) :
    ProbabilityMeasure.map (supportedProbabilityRestriction μ C hC hfull)
      (fun a : C => f a.val) = ProbabilityMeasure.map μ f := by
proof · 5 lines
  apply Subtype.ext
  have h := Measure.map_map (μ := (supportedProbabilityRestriction μ C hC hfull : Measure C))
    hf (measurable_subtype_coe : Measurable (Subtype.val : C → A))
  rw [supportedProbabilityRestriction_map] at h
  exact h.symm