Theorem (HasSubspaceEmbedding.hasProjectionCostPreserving_of_hasOrthonormalCols).The head–tail constructor, tail form: under the frame hypotheses of NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving_of_hasOrthonormalCols, with \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}}, if the head embedding fails with probability \delta_1 and the three tail conditions \begin{aligned} \|\mathbf{E}\mathbf{S}^{\mathsf{H}}\mathbf{S}\mathbf{E}^{\mathsf{H}} - \mathbf{E}\mathbf{E}^{\mathsf{H}}\|_{\mathsf{F}} &\le \varepsilon_w\|\mathbf{E}\|_{\mathsf{F}}^2,\\ \|\mathbf{E}\mathbf{S}^{\mathsf{H}}\mathbf{S}\mathbf{Z} - \mathbf{E}\mathbf{Z}\|_{\mathsf{F}} &\le \varepsilon_\chi\|\mathbf{E}\|_{\mathsf{F}},\\ \|\mathbf{S}\mathbf{E}^{\mathsf{H}}\|_{\mathsf{F}}^2 &\le (1 + \varepsilon_{\mathrm{F}})\|\mathbf{E}\|_{\mathsf{F}}^2 \end{aligned} fail with probabilities \delta_2, \delta_3, \delta_4, then \mathbf{S} is a rank-k projection-cost-preserving sketch of \mathbf{A} with constants a - \sqrt{k}\,\varepsilon_w - 2\varepsilon_\chi and \mathbf{b} + \sqrt{k}\,\varepsilon_w + 2\varepsilon_\chi + \varepsilon_{\mathrm{F}}, except with probability \delta_1 + \delta_2 + \delta_3 + \delta_4 (union bound). The interface for a family with its own approximate-multiplication tails, over any field. [CohenElderMuscoMuscoPersu2015, proof of Theorem 12].
Headline (provisional)
Lean statement and details
NLAlib.HasSubspaceEmbedding.hasProjectionCostPreserving_of_hasOrthonormalCols.{u_1, u_2, u_3, u_4,
u_5, u_6}
{𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m]
[Fintype n] {Ω : Type u_5} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {r : Type u_6} [Fintype r]
[DecidableEq r] [IsFiniteMeasure μ] {S : Ω → Matrix l n 𝕜} {Z : Matrix n r 𝕜}
{a b δ₁ δ₂ δ₃ δ₄ εw εχ εF : ℝ} (h : HasSubspaceEmbedding S Z a b δ₁ μ) (hZ : HasOrthonormalCols Z)
(ha : a ≤ 1) (hb : 1 ≤ b) {A : Matrix m n 𝕜} {k : ℕ}
(hZA : frobNorm (A - A * Z * Zᴴ) ≤ frobNorm (A - truncatedSVD A k)) (hεw : 0 ≤ εw) (hεχ : 0 ≤ εχ)
(hεF : 0 ≤ εF)
(hw :
μ.real
{ω |
εw * frobNorm (A - A * Z * Zᴴ) ^ 2 <
frobNorm
((A - A * Z * Zᴴ) * (S ω)ᴴ * S ω * (A - A * Z * Zᴴ)ᴴ -
(A - A * Z * Zᴴ) * (A - A * Z * Zᴴ)ᴴ)} ≤
δ₂)
(hχ :
μ.real
{ω |
εχ * frobNorm (A - A * Z * Zᴴ) <
frobNorm ((A - A * Z * Zᴴ) * (S ω)ᴴ * S ω * Z - (A - A * Z * Zᴴ) * Z)} ≤
δ₃)
(hF :
μ.real {ω | (1 + εF) * frobNorm (A - A * Z * Zᴴ) ^ 2 < frobNorm (S ω * (A - A * Z * Zᴴ)ᴴ) ^ 2} ≤
δ₄) :
HasProjectionCostPreserving S A k (a - √↑k * εw - 2 * εχ) (b + √↑k * εw + 2 * εχ + εF)
(δ₁ + δ₂ + δ₃ + δ₄) μ
Theorem (IsObliviousSubspaceEmbedding.hasProjectionCostPreserving_of_hasJLMoment).An OSE plus the JL moment property gives a projection-cost-preserving sketch: a real sketch that is an OSE for dimension k with constants a \le 1 \le \mathbf{b} and failure probability \delta, and has the (\varepsilon, \delta', p) JL moment property with \varepsilon > 0, p \ge 2, \delta' \ge 0, is for every \mathbf{A} a rank-k projection-cost-preserving sketch with constants a - 3\sqrt{k}\,\varepsilon and \mathbf{b} + 3\sqrt{k}\,\varepsilon + \varepsilon, except with probability \delta + 3\delta'. No dimension of \mathbf{A} enters: the head is the top-k frame (the identity when k exceeds the number of columns), the tail terms are approximate matrix multiplication and NLAlib.HasJLMoment.measureReal_abs_frobNorm_mul_sq_sub_ge_le. With JL moments at p = 2 this is O((k+1)/(\varepsilon^2\delta)) rows; the (k + \log(1/\delta))/\varepsilon^2 of CEMMP's Lemma 11 needs stable-rank spectral approximate multiplication. [CohenElderMuscoMuscoPersu2015, proof of Theorem 12]; there O(k\log(1/\delta)/\varepsilon^2) for dense sign matrices with higher moments and unspecified constants; here explicit, any p \ge 2.
Lean statement and details
NLAlib.IsObliviousSubspaceEmbedding.hasProjectionCostPreserving_of_hasJLMoment.{u_2, u_3, u_4, u_5}
{l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] {Ω : Type u_5}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsFiniteMeasure μ] {S : Ω → Matrix l n ℝ} {k : ℕ}
{a b δ ε δ' p : ℝ} (h : IsObliviousSubspaceEmbedding S k a b δ μ) (hJL : HasJLMoment S ε δ' p μ)
(hS : AEMeasurable S μ) (ha : a ≤ 1) (hb : 1 ≤ b) (hε : 0 < ε) (hp : 2 ≤ p) (hδ' : 0 ≤ δ')
(A : Matrix m n ℝ) :
HasProjectionCostPreserving S A k (a - 3 * √↑k * ε) (b + 3 * √↑k * ε + ε) (δ + 3 * δ') μ
Theorem (IsSubspaceEmbedding.isProjectionCostPreserving_of_hasOrthonormalCols).Projection-cost preservation from a head embedding and tail approximate multiplication. Let \mathbf{Z} have orthonormal columns and \mathbf{E} = \mathbf{A} - \mathbf{A}\mathbf{Z}\mathbf{Z}^{\mathsf{H}} with \|\mathbf{E}\|_{\mathsf{F}} \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_k\|_{\mathsf{F}}; let \mathbf{\Omega}^{\mathsf{H}} be a subspace embedding for \operatorname{range}\mathbf{Z} with constants a \le 1 \le \mathbf{b}, and for \varepsilon_w, \varepsilon_\chi, \varepsilon_{\mathrm{F}} \ge 0\begin{aligned} \|\mathbf{E}\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}\mathbf{E}^{\mathsf{H}} - \mathbf{E}\mathbf{E}^{\mathsf{H}}\|_{\mathsf{F}} &\le \varepsilon_w\|\mathbf{E}\|_{\mathsf{F}}^2,\\ \|\mathbf{E}\mathbf{\Omega}\mathbf{\Omega}^{\mathsf{H}}\mathbf{Z} - \mathbf{E}\mathbf{Z}\|_{\mathsf{F}} &\le \varepsilon_\chi\|\mathbf{E}\|_{\mathsf{F}},\\ \|\mathbf{E}\mathbf{\Omega}\|_{\mathsf{F}}^2 &\le (1 + \varepsilon_{\mathrm{F}})\|\mathbf{E}\|_{\mathsf{F}}^2\,. \end{aligned} Then \mathbf{A}\mathbf{\Omega} is a rank-k projection-cost-preserving sketch of \mathbf{A} with constants a - \sqrt{k}\,\varepsilon_w - 2\varepsilon_\chi and \mathbf{b} + \sqrt{k}\,\varepsilon_w + 2\varepsilon_\chi + \varepsilon_{\mathrm{F}}, with offset \max\{0, \|\mathbf{E}\|_{\mathsf{F}}^2 - \|\mathbf{E}\mathbf{\Omega}\|_{\mathsf{F}}^2\}. Only the upper half of the tail's Frobenius preservation is needed, and the frame may be wider than k (at \mathbf{Z} = \mathbf{I} this is NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving). [CohenElderMuscoMuscoPersu2015, Lemma 6 and proof of Theorem 12]; there \mathbf{Z} = \mathbf{V}_k, error budgets summing to \varepsilon, over \mathbb{R}, with the cross terms through a semi-inner product; here any frame whose residual is at most the optimal one (their Lemma 10 uses width 2k), constants a, \mathbf{b}, any RCLike field, the cross term by Cauchy–Schwarz.
Lean statement and details
NLAlib.IsSubspaceEmbedding.isProjectionCostPreserving_of_hasOrthonormalCols.{u_1, u_2, u_3, u_4,
u_5}
{𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m]
[Fintype n] {r : Type u_5} [Fintype r] [DecidableEq r] {A : Matrix m n 𝕜} {X : Matrix n l 𝕜}
{Z : Matrix n r 𝕜} {a b εw εχ εF : ℝ} {k : ℕ} (h : IsSubspaceEmbedding Xᴴ Z a b)
(hZ : HasOrthonormalCols Z) (ha : a ≤ 1) (hb : 1 ≤ b)
(hZA : frobNorm (A - A * Z * Zᴴ) ≤ frobNorm (A - truncatedSVD A k)) (hεw : 0 ≤ εw) (hεχ : 0 ≤ εχ)
(hεF : 0 ≤ εF)
(hw :
frobNorm
((A - A * Z * Zᴴ) * X * Xᴴ * (A - A * Z * Zᴴ)ᴴ - (A - A * Z * Zᴴ) * (A - A * Z * Zᴴ)ᴴ) ≤
εw * frobNorm (A - A * Z * Zᴴ) ^ 2)
(hχ :
frobNorm ((A - A * Z * Zᴴ) * X * Xᴴ * Z - (A - A * Z * Zᴴ) * Z) ≤
εχ * frobNorm (A - A * Z * Zᴴ))
(hF : frobNorm ((A - A * Z * Zᴴ) * X) ^ 2 ≤ (1 + εF) * frobNorm (A - A * Z * Zᴴ) ^ 2) :
IsProjectionCostPreserving A (A * X) k (a - √↑k * εw - 2 * εχ) (b + √↑k * εw + 2 * εχ + εF)