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) :
theorem ProbabilityTheory.uniformOn_apply {Ω : Type u_1} [MeasurableSpace Ω] [MeasurableSingletonClass Ω] {s : Set Ω} (hs : s.Finite) (t : Set Ω) :
(ProbabilityTheory.uniformOn s) t = (Nat.card (s t)) / (Nat.card s)