← ALL STATEMENTS
AcceptedTheorem · Statement with omitted proof

Expected error of a Gaussian rangefinder

A Gaussian test matrix controls spectral residual error through the next singular value and the singular-value tail.

Martinsson & Tropp ↗
Source label: thm:rrf-gauss

Formal statement. The assumptions and conclusion are explicit; the theorem proof is omitted (sorry).

01 / MATHEMATICAL STATEMENT

Meaning & conditions

Mathematical summary

A Gaussian test matrix controls spectral residual error through the next singular value and the singular-value tail.

E∥(I−PBΩ)B∥≤(1+kℓ−k−1)σk+1+(EZ)(∑j>kσj2)1/2\mathbb E\|(I-P_{B\Omega})B\|\le\left(1+\sqrt{\frac{k}{\ell-k-1}}\right)\sigma_{k+1}+(\mathbb EZ)\left(\sum_{j>k}\sigma_j^2\right)^{1/2}

Assumptions & context

  • B is real, Ω is n × ℓ standard Gaussian, k < ℓ−1, and Z is the norm of a standard Gaussian k × ℓ pseudoinverse.

Source

Martinsson & Tropp. Randomized numerical linear algebra: Foundations and algorithms.

Source label: thm:rrf-gauss

02 / LEAN REPRESENTATION

Formal statement

Statement with omitted proof. Expand the complete file below to read imports, local definitions and surrounding context.

theorem rrf_gauss {S : Type*} [MeasurableSpace S] (P : Measure S)
    {m n ℓ k : ℕ} (B : Matrix (Fin m) (Fin n) ℝ)
    (G : S → Matrix (Fin n) (Fin ℓ) ℝ) (hG : StandardGaussianTestMatrix P G)
    (Gam : S → Matrix (Fin k) (Fin ℓ) ℝ) (hGam : StandardGaussianTestMatrix P Gam)
    (hk : k < ℓ - 1) :
    ∫ ω, ‖(1 - orthogonalProjector (B * G ω)) * B‖ ∂P ≤
      (1 + Real.sqrt ((k : ℝ) / ((ℓ : ℝ) - k - 1))) * singularValue B (k + 1) +
        (∫ ω, ‖pinv (Gam ω)‖ ∂P) * Real.sqrt (singularTailSq B k) := by
  sorry
Complete Lean file and local definitions
import RNLAPhaseB.B3Base
import RNLAPhaseB.Complexity

open MeasureTheory
open scoped Matrix
open scoped Matrix.Norms.L2Operator
open scoped BigOperators
open scoped ENNReal

namespace RNLAPhaseB.MT2020RrfGauss

/-- The four Moore–Penrose conditions: `X` is the pseudoinverse of the real matrix `A`. -/
def IsMoorePenroseInverse {k ℓ : ℕ} (A : Matrix (Fin k) (Fin ℓ) ℝ)
    (X : Matrix (Fin ℓ) (Fin k) ℝ) : Prop :=
  A * X * A = A ∧ X * A * X = X ∧ (A * X)ᵀ = A * X ∧ (X * A)ᵀ = X * A

/-- The Moore–Penrose pseudoinverse `A^†`: a matrix satisfying the Moore–Penrose
conditions. Such a matrix exists and is unique, so this is the pseudoinverse. The
`else` branch is never reached mathematically. -/
noncomputable def pinv {k ℓ : ℕ} (A : Matrix (Fin k) (Fin ℓ) ℝ) :
    Matrix (Fin ℓ) (Fin k) ℝ := by
  classical
  exact if h : ∃ X, IsMoorePenroseInverse A X then Classical.choose h else 0

/-- The singular values of `B`, in weakly decreasing order: the square roots of the
eigenvalues (with multiplicity) of `Bᵀ B`, i.e. of the real roots of its
characteristic polynomial (which splits, `Bᵀ B` being symmetric psd). -/
noncomputable def singularValues {m n : ℕ} (B : Matrix (Fin m) (Fin n) ℝ) : List ℝ :=
  ((((Bᵀ * B).charpoly.roots).sort (· ≤ ·)).reverse).map Real.sqrt

/-- The singular value `σ_j` of `B` (1-based index `j`), zero-padded beyond the list. -/
noncomputable def singularValue {m n : ℕ} (B : Matrix (Fin m) (Fin n) ℝ) (j : ℕ) : ℝ :=
  (singularValues B).getD (j - 1) 0

/-- The tail sum `∑_{j > k} σ_j^2` of squared singular values of `B`. -/
noncomputable def singularTailSq {m n : ℕ} (B : Matrix (Fin m) (Fin n) ℝ) (k : ℕ) : ℝ :=
  (((singularValues B).drop k).map (fun s => s ^ 2)).sum

/-- mt2020 thm:rrf-gauss. `B ∈ ℝ^{m×n}`, `Ω` a (real) standard normal `n×ℓ` test
matrix, `Y = BΩ`, `k < ℓ - 1`, `Z = ‖Γ^†‖` with `Γ ∈ ℝ^{k×ℓ}` standard normal. Then
`E‖(I - P_Y)B‖ ≤ (1 + √(k/(ℓ-k-1))) σ_{k+1} + (E Z)(∑_{j>k} σ_j²)^{1/2}`,
with `‖·‖` the spectral norm. -/
theorem rrf_gauss {S : Type*} [MeasurableSpace S] (P : Measure S)
    {m n ℓ k : ℕ} (B : Matrix (Fin m) (Fin n) ℝ)
    (G : S → Matrix (Fin n) (Fin ℓ) ℝ) (hG : StandardGaussianTestMatrix P G)
    (Gam : S → Matrix (Fin k) (Fin ℓ) ℝ) (hGam : StandardGaussianTestMatrix P Gam)
    (hk : k < ℓ - 1) :
    ∫ ω, ‖(1 - orthogonalProjector (B * G ω)) * B‖ ∂P ≤
      (1 + Real.sqrt ((k : ℝ) / ((ℓ : ℝ) - k - 1))) * singularValue B (k + 1) +
        (∫ ω, ‖pinv (Gam ω)‖ ∂P) * Real.sqrt (singularTailSq B k) := by
  sorry

end RNLAPhaseB.MT2020RrfGauss

How to read the formalization

  • The expected value of Z is retained as a mathematical quantity rather than replaced by a separate estimate.
← Back to all statements