Theorem (exists_forall_hasJLProperty_of_hasLaw_srht).Distributional JL for the SRHT, asymptotic form: O(\beta(1 + \log(\lvert n\rvert/\delta))\log(1/\delta)/\varepsilon^2) rows suffice for the SRHT of a bounded orthonormal \mathbf{F} with constant \beta to have the JL property with distortion \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and before \beta, and the \log\lvert n\rvert of the flattening stays in the threshold. Proved from NLAlib.hasJLProperty_of_hasLaw_srht_of_samplingEmbeddingDim_le with \varepsilon_0 = 1 and \delta \le 1/2. [Woodruff2014, Theorem 7].
Headline (provisional)General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_hasJLProperty_of_hasLaw_srht :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω 𝕜 k n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
[inst_3 : Fintype n] [inst_4 : DecidableEq n] (μ : Measure Ω) (S : Ω → Matrix k n 𝕜)
(F : Matrix n n 𝕜) (β ε δ : ℝ),
IsBoundedOrthonormal F β →
HasLaw S (srht k F) μ →
0 < ε →
ε ≤ ε₀ →
0 < δ →
δ ≤ 1 / 2 →
C * (β * (1 + Real.log (↑(Fintype.card n) / δ)) * Real.log (1 / δ) / ε ^ 2) ≤
↑(Fintype.card k) →
HasJLProperty S ε δ μ
Theorem (exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement).Distributional JL for the SRHT with replacement, asymptotic form: O(\beta(1 + \log(\lvert n\rvert/\delta))\log(1/\delta)/\varepsilon^2) rows suffice for the SRHT with i.i.d. uniform row indices of a bounded orthonormal \mathbf{F} with constant \beta to have the JL property with distortion \varepsilon and failure probability \delta, for \varepsilon and \delta below absolute constants; the constants come before every dimension and before \beta. Proved from NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le with \varepsilon_0 = 1 and \delta \le 1/2. [MartinssonTropp2020, §9.3].
General form: sizes are index types
Lean statement and details
NLAlib.exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement :
∃ C ε₀,
0 < C ∧
0 < ε₀ ∧
∀ {Ω 𝕜 k n : Type} [inst : MeasurableSpace Ω] [inst_1 : RCLike 𝕜] [inst_2 : Fintype k]
[inst_3 : Fintype n] [inst_4 : DecidableEq n] (μ : Measure Ω) (S : Ω → Matrix k n 𝕜)
(F : Matrix n n 𝕜) (β ε δ : ℝ),
IsBoundedOrthonormal F β →
HasLaw S (srhtWithReplacement k F) μ →
0 < ε →
ε ≤ ε₀ →
0 < δ →
δ ≤ 1 / 2 →
C * (β * (1 + Real.log (↑(Fintype.card n) / δ)) * Real.log (1 / δ) / ε ^ 2) ≤
↑(Fintype.card k) →
HasJLProperty S ε δ μ
Theorem (hasJLProperty_of_hasLaw_srht).Distributional JL for the SRHT: for a bounded orthonormal \mathbf{F} with constant \beta, the SRHT \mathbf{S} built from it (independent random signs and an independent uniform choice of \lvert k\rvert distinct rows), 0 \le \varepsilon \le 1 and t \ge 0, \mathbf{S} has the JL property with distortion \varepsilon and failure probability 2\exp\Bigl(-\frac{\varepsilon^2\lvert k\rvert}{3\beta(1 + 2\sqrt{t} + 2t)}\Bigr) + \lvert n\rvert e^{-t}\,, the OSE bound of NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_srht at d = 1, through NLAlib.IsObliviousSubspaceEmbedding.hasJLProperty at every \varepsilon' < \varepsilon and continuity of the bound. [Woodruff2014, Theorem 7] and [Tropp2011a, Theorems 1.3 and 3.1] for the SRHT as an embedding; the fast JL transform of Ailon and Chazelle (not in hand). Any field.
General form: sizes are index types
Lean statement and details
NLAlib.hasJLProperty_of_hasLaw_srht.{u_1, u_2, u_3, u_4} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
{μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4} [Fintype k] [Fintype n]
[DecidableEq n] {β ε t : ℝ} {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜}
(hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srht k F) μ) (hε : 0 ≤ ε) (hε1 : ε ≤ 1)
(ht : 0 ≤ t) :
HasJLProperty S ε
(2 * rexp (-ε ^ 2 * ↑(Fintype.card k) / (3 * (β * (1 + 2 * √t + 2 * t)))) +
↑(Fintype.card n) * rexp (-t))
μ
Theorem (hasJLProperty_of_hasLaw_srhtWithReplacement).Distributional JL for the SRHT with replacement: for a bounded orthonormal \mathbf{F} with constant \beta, the SRHT \mathbf{S} built from it with \lvert k\rvert i.i.d. uniform row indices, 0 \le \varepsilon \le 1 and t \ge 0, \mathbf{S} has the JL property with distortion \varepsilon and failure probability 2\exp\Bigl(-\frac{\varepsilon^2\lvert k\rvert}{3\beta(1 + 2\sqrt{t} + 2t)}\Bigr) + \lvert n\rvert e^{-t}\,, the OSE bound of NLAlib.isObliviousSubspaceEmbedding_of_hasLaw_srhtWithReplacement at d = 1. [MartinssonTropp2020, §9.3]. Any field.
General form: sizes are index types
Lean statement and details
NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement.{u_1, u_2, u_3, u_4} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4}
[Fintype k] [Fintype n] [DecidableEq n] {β ε t : ℝ} {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜}
(hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srhtWithReplacement k F) μ) (hε : 0 ≤ ε)
(hε1 : ε ≤ 1) (ht : 0 ≤ t) :
HasJLProperty S ε
(2 * rexp (-ε ^ 2 * ↑(Fintype.card k) / (3 * (β * (1 + 2 * √t + 2 * t)))) +
↑(Fintype.card n) * rexp (-t))
μ
Theorem (hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le).Distributional JL for the SRHT with replacement, sample-size form: for 0 < \varepsilon \le 1, \delta > 0 and at least <!-- value samplingEmbeddingDim {\cdot 1} L \varepsilon (\delta/2) --> \lvert k \rvert \ge \frac{3 L \log(2\cdot 1/(\delta/2))}{\varepsilon^2} rows (NLAlib.samplingEmbeddingDim 1 L ε (δ/2)), where the flattened coherence <!-- value srhtRowBound {\lvert n \rvert} 1 (\delta/2) --> L = \beta\,\bigl(1 + 2\sqrt{1 \log(\lvert n \rvert/(\delta/2))} + 2 \log(\lvert n \rvert/(\delta/2))\bigr) is \beta times NLAlib.srhtRowBound (Fintype.card n) 1 (δ / 2), the SRHT with i.i.d. uniform row indices has the JL property with distortion \varepsilon and failure probability \delta. [MartinssonTropp2020, §9.3]. Asymptotic form: NLAlib.exists_forall_hasJLProperty_of_hasLaw_srhtWithReplacement.
General form: sizes are index types
Lean statement and details
NLAlib.hasJLProperty_of_hasLaw_srhtWithReplacement_of_samplingEmbeddingDim_le.{u_1, u_2, u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3}
{n : Type u_4} [Fintype k] [Fintype n] [DecidableEq n] {β ε δ : ℝ} {S : Ω → Matrix k n 𝕜}
{F : Matrix n n 𝕜} (hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srhtWithReplacement k F) μ)
(hε : 0 < ε) (hε1 : ε ≤ 1) (hδ : 0 < δ)
(hk :
samplingEmbeddingDim 1 (β * srhtRowBound (Fintype.card n) 1 (δ / 2)) ε (δ / 2) ≤
↑(Fintype.card k)) :
HasJLProperty S ε δ μ
Theorem (hasJLProperty_of_hasLaw_srht_of_samplingEmbeddingDim_le).Distributional JL for the SRHT, sample-size form: for 0 < \varepsilon \le 1, \delta > 0 and at least <!-- value samplingEmbeddingDim {\cdot 1} L \varepsilon (\delta/2) --> \lvert k \rvert \ge \frac{3 L \log(2\cdot 1/(\delta/2))}{\varepsilon^2} rows (NLAlib.samplingEmbeddingDim 1 L ε (δ/2)), where the flattened coherence <!-- value srhtRowBound {\lvert n \rvert} 1 (\delta/2) --> L = \beta\,\bigl(1 + 2\sqrt{1 \log(\lvert n \rvert/(\delta/2))} + 2 \log(\lvert n \rvert/(\delta/2))\bigr) is \beta times NLAlib.srhtRowBound (Fintype.card n) 1 (δ / 2), the SRHT has the JL property with distortion \varepsilon and failure probability \delta: the OSE size at d = 1. [Woodruff2014, Theorem 7]; [Tropp2011a, Theorem 3.1]. Asymptotic form: NLAlib.exists_forall_hasJLProperty_of_hasLaw_srht.
General form: sizes are index types
Lean statement and details
NLAlib.hasJLProperty_of_hasLaw_srht_of_samplingEmbeddingDim_le.{u_1, u_2, u_3, u_4} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {k : Type u_3} {n : Type u_4}
[Fintype k] [Fintype n] [DecidableEq n] {β ε δ : ℝ} {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜}
(hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srht k F) μ) (hε : 0 < ε) (hε1 : ε ≤ 1)
(hδ : 0 < δ)
(hk :
samplingEmbeddingDim 1 (β * srhtRowBound (Fintype.card n) 1 (δ / 2)) ε (δ / 2) ≤
↑(Fintype.card k)) :
HasJLProperty S ε δ μ
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.