The Gaussian random projection #
This file defines the Johnson–Lindenstrauss random projection
jlMap k n A x = (1/√k) • (A.mulVec x),
where A : Matrix (Fin k) (Fin n) ℝ is the (random) matrix of i.i.d. N(0,1)
entries, and proves the deterministic row-product reduction
‖f x‖² = (1/k) · Σ_i (Aᵢ · x)²,
expressing the squared norm of the projection as 1/k times a sum of squared
row–vector products. Under the Gaussian law on A, each Aᵢ · x is N(0, ‖x‖²)
(Gaussian rotation invariance), so k · ‖f x‖² / ‖x‖² has the chi-squared law of
JL.ChiSquared; that probabilistic reduction is the one ingredient consumed as a
labeled hypothesis by the existence theorem.