Theorem (isObliviousSubspaceInjection_of_hasLaw_srht).The SRHT OSI: for a bounded orthonormal \mathbf{F} with constant \beta, nonempty k, \lvert k \rvert \le \lvert n \rvert, \varepsilon \ge 0 and t \ge 0, the SRHT is an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability d \exp\Bigl(-\frac{\varepsilon^2 \lvert k \rvert}{2 \beta (d + 2\sqrt{d t} + 2t)}\Bigr) + \lvert n \rvert e^{-t}\,: the lower matrix Chernoff half after flattening. [CamanoEpperlyMeyerTropp2025, §1.5.2] (the OSI view; k = \Omega(d \log d) is necessary, their citation of Tropp 2011a); [Tropp2011a, Theorem 3.1] (Walsh–Hadamard, orthonormal columns: \sigma_{\min} \ge 1/\sqrt{6} at 4(\sqrt{d} + \sqrt{8 \log(d \lvert n \rvert)})^2 \log d rows, outside probability 3/d for both halves). Flattening (NLAlib.measureReal_exists_leverageScore_mul_diagonal_gt_le_of_hasLaw_rademacherVector), then NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketchWithoutReplacement through NLAlib.hasSubspaceInjection_mul_of_indepFun_of_leverageScore_le.
Headline (provisional)General form: sizes are index types
Lean statement and details
NLAlib.isObliviousSubspaceInjection_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] {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜} {β ε t : ℝ}
[Nonempty k] (hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srht k F) μ)
(hk : Fintype.card k ≤ Fintype.card n) (d : ℕ) (hε : 0 ≤ ε) (ht : 0 ≤ t) :
IsObliviousSubspaceInjection S d (1 - ε)
(↑d * rexp (-ε ^ 2 * ↑(Fintype.card k) / (2 * (β * (↑d + 2 * √(↑d * t) + 2 * t)))) +
↑(Fintype.card n) * rexp (-t))
μ
Theorem (isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement).The SRHT OSI with replacement: with failure probability d\, e^{-\varepsilon^2 \lvert k \rvert / (2 \beta (d + 2 \sqrt{d t} + 2 t))} + \lvert n \rvert e^{-t} \,, the bound of NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht for i.i.d. uniform indices, nonempty k and n, through NLAlib.hasSubspaceInjection_of_hasLaw_samplingSketch at uniform weights. [CamanoEpperlyMeyerTropp2025, §1.5.2].
General form: sizes are index types
Lean statement and details
NLAlib.isObliviousSubspaceInjection_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] {S : Ω → Matrix k n 𝕜} {F : Matrix n n 𝕜}
{β ε t : ℝ} [Nonempty k] [Nonempty n] (hF : IsBoundedOrthonormal F β)
(hS : HasLaw S (srhtWithReplacement k F) μ) (d : ℕ) (hε : 0 ≤ ε) (ht : 0 ≤ t) :
IsObliviousSubspaceInjection S d (1 - ε)
(↑d * rexp (-ε ^ 2 * ↑(Fintype.card k) / (2 * (β * (↑d + 2 * √(↑d * t) + 2 * t)))) +
↑(Fintype.card n) * rexp (-t))
μ
Theorem (isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement_of_samplingInjectionDim_le).The SRHT OSI with replacement, sample-size form: for a bounded orthonormal transform \mathbf{F} with bound \beta (NLAlib.IsBoundedOrthonormal), \varepsilon > 0, \delta > 0 and nonempty k and n, the SRHT with i.i.d. uniform row indices is an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability \delta once the row count satisfies <!-- value samplingInjectionDim d L \varepsilon (\delta/2) --> \lvert k \rvert \ge \frac{2 L \log(d/(\delta/2))}{\varepsilon^2} rows (NLAlib.samplingInjectionDim d L ε (δ/2)), where the flattened coherence <!-- value srhtRowBound {\lvert n \rvert} d (\delta/2) --> L = \beta\,\bigl(d + 2\sqrt{d \log(\lvert n \rvert/(\delta/2))} + 2 \log(\lvert n \rvert/(\delta/2))\bigr) is \beta times NLAlib.srhtRowBound (Fintype.card n) d (δ / 2); flattening and sampling each fail with probability at most \delta/2. [Tropp2011a, Theorem 3.1] (without replacement, Walsh–Hadamard: \sigma_{\min} \ge 1/\sqrt{6} at 4(\sqrt{d} + \sqrt{8 \log(d \lvert n \rvert)})^2 \log d rows, failure 3/d); [MartinssonTropp2020, §9.6.2] (the sampling step with replacement, 2\varepsilon^{-2}\mu\log(2d) rows at coherence \mu). Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement.
General form: sizes are index types
Lean statement and details
NLAlib.isObliviousSubspaceInjection_of_hasLaw_srhtWithReplacement_of_samplingInjectionDim_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 𝕜}
{β ε δ : ℝ} [Nonempty k] [Nonempty n] (hF : IsBoundedOrthonormal F β)
(hS : HasLaw S (srhtWithReplacement k F) μ) (d : ℕ) (hε : 0 < ε) (hδ : 0 < δ)
(hk :
samplingInjectionDim d (β * srhtRowBound (Fintype.card n) d (δ / 2)) ε (δ / 2) ≤
↑(Fintype.card k)) :
IsObliviousSubspaceInjection S d (1 - ε) δ μ
Theorem (isObliviousSubspaceInjection_of_hasLaw_srht_of_samplingInjectionDim_le).The SRHT OSI, sample-size form: for \varepsilon > 0, \delta > 0, nonempty k and \lvert k \rvert \le \lvert n \rvert, the SRHT is an oblivious subspace injection for dimension d with constant 1 - \varepsilon and failure probability \delta once it has <!-- value samplingInjectionDim d L \varepsilon (\delta/2) --> \lvert k \rvert \ge \frac{2 L \log(d/(\delta/2))}{\varepsilon^2} rows (NLAlib.samplingInjectionDim d L ε (δ/2)), where the flattened coherence <!-- value srhtRowBound {\lvert n \rvert} d (\delta/2) --> L = \beta\,\bigl(d + 2\sqrt{d \log(\lvert n \rvert/(\delta/2))} + 2 \log(\lvert n \rvert/(\delta/2))\bigr) is \beta times NLAlib.srhtRowBound (Fintype.card n) d (δ / 2); the tail NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht at t = \log(2\lvert n \rvert / \delta). [Tropp2011a, Theorem 3.1] (Walsh–Hadamard: \sigma_{\min} \ge 1/\sqrt{6} at 4(\sqrt{d} + \sqrt{8 \log(d \lvert n \rvert)})^2 \log d rows, failure 3/d). Asymptotic form: NLAlib.exists_forall_isObliviousSubspaceInjection_of_hasLaw_srht.
General form: sizes are index types
Lean statement and details
NLAlib.isObliviousSubspaceInjection_of_hasLaw_srht_of_samplingInjectionDim_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 𝕜}
{β ε δ : ℝ} [Nonempty k] (hF : IsBoundedOrthonormal F β) (hS : HasLaw S (srht k F) μ)
(hkn : Fintype.card k ≤ Fintype.card n) (d : ℕ) (hε : 0 < ε) (hδ : 0 < δ)
(hk :
samplingInjectionDim d (β * srhtRowBound (Fintype.card n) d (δ / 2)) ε (δ / 2) ≤
↑(Fintype.card k)) :
IsObliviousSubspaceInjection S d (1 - ε) δ μ
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.