NLAlib.samplingSketchWithoutReplacement_eq_sum_smul_dirac
Library · theorem
The law of the row-sampling sketch without replacement as a finite mixture of Diracs, one atom per injection e : k \hookrightarrow n with mass 1 / (\lvert n \rvert)_{\lvert k \rvert} (the falling factorial).
NLAlib.samplingSketchWithoutReplacement_eq_sum_smul_dirac.{u_2, u_3, u_4} {𝕜 : Type u_2} [RCLike 𝕜]
{k : Type u_3} {n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n] :
samplingSketchWithoutReplacement k n =
∑ e,
(↑((Fintype.card n).descFactorial (Fintype.card k)))⁻¹ •
Measure.dirac (samplingSketchMatrix (fun x ↦ (↑(Fintype.card n))⁻¹) ⇑e)Import NLAlib.Sketching.Sampling.WithoutReplacement.