cfahlgren1/math / lean /OAI /GroupTheory /PolycyclicRecognition /Analysis /CellProbabilityTransport.lean
cfahlgren1's picture
download
raw
1.74 kB
import OAI.GroupTheory.PolycyclicRecognition.Analysis.SequenceCellProfiles
namespace OAI
/-! # Transporting normalized cell sampling through an injective chart -/
noncomputable section
namespace PolycyclicRecognition
open MeasureTheory Set
open scoped ENNReal
/-- Equal relative masses of chart images identify the normalized sampling
laws. This is used with the exact exponential-coordinate Jacobian. -/
theorem map_cellProbabilityMeasure_of_image_ratio
{X Y : Type*} [MeasurableSpace X] [MeasurableSpace Y]
(μ : Measure X) (ν : Measure Y) (f : X → Y) (hf : Measurable f)
(C : Set X) (hC0 : μ C ≠ 0) (hCfin : μ C ≠ ∞)
(himage0 : ν (f '' C) ≠ 0) (himagefin : ν (f '' C) ≠ ∞)
(hratio : ∀ A : Set X, (ν (f '' A)).toReal / (ν (f '' C)).toReal =
(μ A).toReal / (μ C).toReal) :
ProbabilityMeasure.map (cellProbabilityMeasure μ C hC0 hCfin) f =
cellProbabilityMeasure ν (f '' C) himage0 himagefin := by
apply ProbabilityMeasure.toMeasure_injective
apply Measure.ext
intro B hB
apply (ENNReal.toReal_eq_toReal_iff' (measure_ne_top _ _) (measure_ne_top _ _)).mp
change (Measure.map f (cellProbabilityMeasure μ C hC0 hCfin : Measure X) B).toReal = _
rw [Measure.map_apply hf hB]
rw [cellProbabilityMeasure_apply_toReal μ C (f ⁻¹' B) hC0 hCfin (hf hB),
cellProbabilityMeasure_apply_toReal ν (f '' C) B himage0 himagefin hB]
have himage : f '' (f ⁻¹' B ∩ C) = B ∩ f '' C := by
ext y
constructor
· rintro ⟨x, ⟨hx, hxc⟩, rfl⟩
exact ⟨hx, x, hxc, rfl⟩
· rintro ⟨hy, x, hx, rfl⟩
exact ⟨x, ⟨hy, hx⟩, rfl⟩
rw [← himage]
exact (hratio (f ⁻¹' B ∩ C)).symm
end PolycyclicRecognition
end
end OAI

Xet Storage Details

Size:
1.74 kB
·
Xet hash:
377cc035d49eb93cec71482c600045b65f2fac6d8a0c8d56400437dc98d61026

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