NLA-lib Explorer

NLAlib.map_eval_uniformOn_injective

Library · theorem

One draw without replacement is uniform: for \lvert k \rvert \le \lvert n \rvert and every position j, the law of \iota(j) under the uniform law on injections \iota : k \to n is the uniform law on n.

NLAlib.map_eval_uniformOn_injective.{u_1, u_2} {k : Type u_1} {n : Type u_2} [Fintype k] [Fintype n]
  [MeasurableSpace n] [MeasurableSingletonClass n] (hk : Fintype.card k ≤ Fintype.card n) (j : k) :
  Measure.map (fun f ↦ f j) (uniformOn {f | Function.Injective f}) = uniformOn Set.univ

Full source on GitHub

Import NLAlib.Probability.Distributions.UniformInjection.