NLAlib.hasLaw_samplingSketchMatrix_of_hasLaw_uniformOn_injective
Library · theorem
From the user's own injection: if \iota is a uniformly random injection k \to n, the sketch built from it at uniform weights has law NLAlib.samplingSketchWithoutReplacement k n.
NLAlib.hasLaw_samplingSketchMatrix_of_hasLaw_uniformOn_injective.{u_1, u_2, u_3, u_4} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4}
[Fintype k] [Fintype n] [DecidableEq n] [MeasurableSpace n] [MeasurableSingletonClass n]
{ι : Ω → k → n} (hι : HasLaw ι (uniformOn {f | Function.Injective f}) μ) :
HasLaw (fun ω ↦ samplingSketchMatrix (fun x ↦ (↑(Fintype.card n))⁻¹) (ι ω))
(samplingSketchWithoutReplacement k n) μImport NLAlib.Sketching.Sampling.WithoutReplacement.