Gaussian rotation invariance: the projection ↔ chi-squared link #
This file closes the substantive gap between the abstract chi-squared concentration of
JL.NormPreservation and the actual Gaussian random projection jlMap of
JL.Projection.
The key probabilistic fact is Gaussian rotation invariance: if the entries of the
matrix A : Matrix (Fin k) (Fin n) ℝ are i.i.d. N(0,1), then for a fixed unit vector
u (∑ⱼ uⱼ² = 1) the k row–vector products Aᵢ · u are themselves i.i.d. N(0,1).
Concretely, the i.i.d. Gaussian matrix measure pushes forward under A ↦ A.mulVec u to
gaussianVec k:
(gaussianMatrix k n).map (fun A i ↦ ∑ⱼ Aᵢⱼ uⱼ) = gaussianVec k.
The single-coordinate version (map_dotProduct_gaussianReal) is proven through mathlib's
multivariate-Gaussian machinery (ProbabilityTheory.stdGaussian, its invariance and dual
variance lemmas); the k-fold independence is assembled with Measure.pi_map_pi.
Combining this with the deterministic identity ‖jlMap A x‖² = (1/k)·∑ᵢ(Aᵢ·x)²
(jlMap_sq_norm) transports jl_norm_preservation to a genuine concentration bound on
the projected squared norm ∑ᵢ (jlMap A w i)² of any fixed w ≠ 0 (jlMap_concentration).
Single-coordinate rotation invariance #
Single-coordinate Gaussian rotation invariance. For a unit vector u
(∑ⱼ uⱼ² = 1), the linear form row ↦ ∑ⱼ rowⱼ · uⱼ pushes the i.i.d. standard Gaussian
product measure forward to the standard normal N(0,1).
The i.i.d. Gaussian matrix and the multi-row link #
The i.i.d. N(0,1) matrix measure on Fin k → Fin n → ℝ: every entry is an
independent standard Gaussian.
Equations
- JL.gaussianMatrix k n = MeasureTheory.Measure.pi fun (x : Fin k) => JL.gaussianVec n
Instances For
Projection ↔ chi-squared link. For a unit vector u, the i.i.d. Gaussian matrix
pushes forward under A ↦ A.mulVec u to gaussianVec k: the k row–vector products are
i.i.d. N(0,1).
Projection-level norm-preservation #
Distributional norm preservation of the Gaussian projection. For any fixed nonzero
vector w, the squared norm ∑ᵢ (jlMap A w i)² of its Gaussian projection deviates from
‖w‖² = ∑ⱼ wⱼ² by a relative factor ε with probability at most
2·exp(-(ε² - ε³) k / 4). This is jl_norm_preservation transported to the real
projection via Gaussian rotation invariance.