The end-to-end Gaussian Johnson–Lindenstrauss theorem #
This file assembles the complete Johnson–Lindenstrauss statement for an arbitrary finite
point set in a Euclidean space, with the target dimension k explicitly bounded (not
merely assumed via an abstract counting hypothesis):
For any
mpointsp : Fin m → EuclideanSpace ℝ (Fin d)and any0 < ε < 1, if the projection dimension satisfies4 · log (2 m²) < (ε² − ε³) · k, then there EXISTS a Gaussian random projection matrixA : Fin k → Fin d → ℝsuch that every pairwise squared distance is preserved within a relative factor1 ± ε.
The proof combines:
jlMap_concentration(JL.Rotation): the per-vector concentration bound for the real Gaussian projection, obtained through Gaussian rotation invariance;card_condition: the elementary derivation that the dimension bound onkdischarges the union-bound counting conditionm² · C < 1withC = 2·exp(-(ε²−ε³)k/4);johnson_lindenstrauss(JL.Lemma): the abstract probabilistic-method union bound, which is kept as a standalone lemma.
Johnson–Lindenstrauss (end-to-end Gaussian form). For an arbitrary set of m
distinct points in EuclideanSpace ℝ (Fin d), any 0 < ε < 1, and any target dimension
k with 4·log(2 m²) < (ε²−ε³)·k, there exists a Gaussian projection matrix
A : Fin k → Fin d → ℝ whose induced map jlMap k d A preserves all pairwise squared
distances to within a factor 1 ± ε.