Documentation

PFR.Mathlib.Probability.UniformOn

theorem ProbabilityTheory.uniformOn_apply_singleton_of_mem {Ω : Type u_1} [MeasurableSpace Ω] [MeasurableSingletonClass Ω] {s : Set Ω} {x : Ω} (hx : x s) (hs : s.Finite) :
(uniformOn s) {x} = 1 / (Nat.card s)
theorem ProbabilityTheory.uniformOn_apply {Ω : Type u_1} [MeasurableSpace Ω] [MeasurableSingletonClass Ω] {s : Set Ω} (hs : s.Finite) (t : Set Ω) :
(uniformOn s) t = (Nat.card ↑(s t)) / (Nat.card s)
theorem ProbabilityTheory.map_uniformOn_apply {Ω : Type u_1} {Ω' : Type u_2} [MeasurableSpace Ω] [MeasurableSingletonClass Ω] [MeasurableSpace Ω'] [MeasurableSingletonClass Ω'] {s : Set Ω} {f : ΩΩ'} (hmes : Measurable f) (hf : Function.Injective f) {t : Set Ω'} (ht : MeasurableSet t) :