NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_haarFrame_of_lt_sqrt_sub_sqrt
Library · theorem
General form: sizes are index types
The Haar OSE, Gaussian upper half: an oblivious subspace embedding for dimension d with constants \frac{(1 \mp (\sqrt{d} + t)/\sqrt{\lvert k \rvert})^2} {(1 \pm (\sqrt{\lvert k \rvert} + s)/\sqrt{\lvert n \rvert})^2} and failure probability 2 e^{-t^2/2} + 2 e^{-s^2/2}, for 0 \le t \le \sqrt{\lvert k \rvert} - \sqrt{d} and 0 \le s < \sqrt{\lvert n \rvert} - \sqrt{\lvert k \rvert}. Better than NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_haarFrame for \lvert k \rvert small against \lvert n \rvert (rule 4). Result: haar-sketch-ose
NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_haarFrame_of_lt_sqrt_sub_sqrt.{u_1, u_2, u_3}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_2} {n : Type u_3} [Fintype k]
[Fintype n] [DecidableEq k] {Q : Ω → Matrix n k ℝ} {t s : ℝ} (hQ : HasLaw Q (haarFrame n k) μ)
(hk : Fintype.card k ≤ Fintype.card n) (d : ℕ) (ht : 0 ≤ t) (htd : t ≤ √↑(Fintype.card k) - √↑d)
(hs : 0 ≤ s) (hsk : s < √↑(Fintype.card n) - √↑(Fintype.card k)) :
IsObliviousSubspaceEmbedding (fun ω ↦ √(↑(Fintype.card n) / ↑(Fintype.card k)) • (Q ω)ᴴ) d
((1 - (√↑d + t) / √↑(Fintype.card k)) ^ 2 /
(1 + (√↑(Fintype.card k) + s) / √↑(Fintype.card n)) ^ 2)
((1 + (√↑d + t) / √↑(Fintype.card k)) ^ 2 /
(1 - (√↑(Fintype.card k) + s) / √↑(Fintype.card n)) ^ 2)
(2 * rexp (-t ^ 2 / 2) + 2 * rexp (-s ^ 2 / 2)) μImport NLAlib.Sketching.Gaussian.HaarEmbedding.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.