Haar sketches
Library · Source module
Haar sketches
The Haar sketch is \mathbf{S} = \sqrt{\lvert n \rvert / \lvert k \rvert} \, \mathbf{Q}^{\mathsf{H}} for an n \times k \mathbf{H}aar frame \mathbf{Q}, \lvert k \rvert \le \lvert n \rvert: \lvert k \rvert orthonormal rows, scaled. It is written out in each statement, fun ω => √(Fintype.card n / Fintype.card k : ℝ) • (Q ω)ᴴ, with the hypothesis HasLaw Q (haarFrame n k) μ; there is no named sketch law.
It is exactly isotropic, like a Gaussian sketch, and unlike it has a deterministic norm \|\mathbf{S}\|_2 = \sqrt{\lvert n \rvert / \lvert k \rvert}. Its upper half is deterministic: (\mathbf{S}\mathbf{U})^{\mathsf{H}} (\mathbf{S}\mathbf{U}) \preceq (\lvert n \rvert / \lvert k \rvert) \, \mathbf{U}^{\mathsf{H}}\mathbf{U} almost surely, and at \lvert k \rvert = \lvert n \rvert the sketch is orthogonal, an exact embedding. Its Gram matrix on \mathbf{U} has the law of (\lvert n \rvert / \lvert k \rvert) \, \mathbf{U}^{\mathsf{H}} \mathbf{P}_{\mathbf{G}} \mathbf{U} for the range projector \mathbf{P}_{\mathbf{G}} of an n \times k Gaussian \mathbf{G} (the transfer of NLAlib/RandomMatrix/Haar/Transfer.lean); the subspace embeddings built on it are in NLAlib/Sketching/Gaussian/HaarEmbedding.lean.
The JL tails are the projection tails of a uniform unit vector (NLAlib/RandomMatrix/Haar/Sphere.lean), with the Gaussian's constants; the JL variance is 2 (\lvert n \rvert - \lvert k \rvert) / (\lvert k \rvert (\lvert n \rvert + 2)), below the Gaussian's 2 / \lvert k \rvert and 0 at \lvert k \rvert = \lvert n \rvert. The one-sided projection tails give the JL moment property at every exponent, with the Gaussian's parameters, and O(\log(1/\delta)/\varepsilon^2) rows give it at p = \max(2, \log(1/\delta)).
Degenerate cases: for empty k, \sqrt{\lvert n \rvert / 0} = 0 and \mathbf{S} = \mathbf{0}, hence [Nonempty k] on isotropy and the moments.
Main results
* NLAlib.isIsotropicSketch_of_hasLaw_haarFrame, NLAlib.ae_specNorm_eq_of_hasLaw_haarFrame. * NLAlib.hasLaw_conjTranspose_mul_self_mul_of_hasLaw_haarFrame: the Gaussian transfer. * NLAlib.ae_conjTranspose_mul_self_mul_le_smul_of_hasLaw_haarFrame: the upper half. * NLAlib.hasSubspaceEmbedding_of_hasLaw_haarFrame_of_card_eq: exact at \lvert k \rvert = \lvert n \rvert. * NLAlib.hasJLProperty_of_hasLaw_haarFrame, NLAlib.hasJLMoment_of_hasLaw_haarFrame. * NLAlib.hasJLProperty_of_hasLaw_haarFrame_of_jlDim_le and its asymptotic form NLAlib.exists_forall_hasJLProperty_of_hasLaw_haarFrame. * NLAlib.hasJLMoment_subexponentialMomentBound_of_hasLaw_haarFrame: the JL moment property at every p > 0; its size form NLAlib.hasJLMoment_of_hasLaw_haarFrame_of_jlMomentDim_le and asymptotic form NLAlib.exists_forall_hasJLMoment_of_hasLaw_haarFrame.
Declarations
- NLAlib.ae_conjTranspose_mul_self_mul_le_smul_of_hasLaw_haarFrame
- NLAlib.ae_specNorm_eq_of_hasLaw_haarFrame
- NLAlib.exists_forall_hasJLMoment_of_hasLaw_haarFrame
- NLAlib.exists_forall_hasJLProperty_of_hasLaw_haarFrame
- NLAlib.hasJLMoment_of_hasLaw_haarFrame
- NLAlib.hasJLMoment_of_hasLaw_haarFrame_of_jlMomentDim_le
- NLAlib.hasJLMoment_subexponentialMomentBound_of_hasLaw_haarFrame
- NLAlib.hasJLProperty_of_hasLaw_haarFrame
- NLAlib.hasJLProperty_of_hasLaw_haarFrame_of_jlDim_le
- NLAlib.hasLaw_conjTranspose_mul_self_mul_of_hasLaw_haarFrame
- NLAlib.hasSubspaceEmbedding_of_hasLaw_haarFrame_of_card_eq
- NLAlib.integrable_norm_mulVec_sq_sub_norm_sq_sq_of_hasLaw_haarFrame
- NLAlib.integral_norm_mulVec_sq_sub_norm_sq_sq_of_hasLaw_haarFrame
- NLAlib.isIsotropicSketch_of_hasLaw_haarFrame