NLA-lib Explorer

Randomized deflation

Library · Result group

Theorem (FloatMachine.IsArithAccurate.measureReal_not_exists_specNorm_mul_sub_deflate_le_le_of_hasLaw_complexGaussianMatrix). Randomized deflation (Theorem 3.3): under the arithmetic contract NLAlib.FloatMachine.IsArithAccurate u \tau \Omega with product constant \mu_{\mathrm{MM}}, with the QR routine meeting NLAlib.IsQRErr with constant \mu_{\mathrm{QR}} and the normal sampler meeting NLAlib.IsNormalSampler with constant c_{\mathrm{N}} (at u, \tau, \Omega, through the decoding), let r \le n, \mathbf{U}, \mathbf{V} \in \mathbb{C}^{n \times r} have orthonormal columns, \mathbf{S} be invertible, \mathbf{A} = \mathbf{U}\mathbf{S}\mathbf{V}^{\mathsf{H}} and the stored \widetilde{\mathbf{A}} decode within \beta \le 1 of \mathbf{A}, and let \mathbf{G} be a standard complex Gaussian n \times n matrix. For t \ge 0 and \mathbf{x} > 0 put \bar m = (\|\mathbf{S}\|_2 + 2)\|\mathbf{S}^{-1}\|_2\,\frac{\sqrt2\,(2\sqrt n + t)}{\mathbf{x}} \,. If \bar m\beta \le 1/5, (4\mu_{\mathrm{QR}}(n) + 4\sqrt n\,c_{\mathrm{N}} + 2\mu_{\mathrm{MM}}(n))u \le \beta, \tau \le \|\mathbf{S}\|_2 \mathbf{x}, \sqrt n\,\tau \le \mathbf{x} and 2(\|\mathbf{S}\|_2 + 1)\sqrt2(2\sqrt n + t) \le \Omega, then \mathbb{P}\bigl[\text{no unitary } \mathbf{W} \text{ has } \|\mathbf{U}\mathbf{W} - \mathsf{deflate}(\widetilde{\mathbf{A}}, r)\|_2 \le 6\bar m\beta\bigr] \le 2e^{-t^2/2} + r^2\mathbf{x}^2 \,, \mathsf{deflate} the algorithm NLAlib.deflate with sample \mathbf{G}. [Shah2024, Theorem 3.3], there with (2\sqrt2 + t)\sqrt n, failure 2e^{-nt^2} + (r/2)\mathbf{x}^2 and the requirement on \beta written out; the constants differ through Lemmas 3.1 and 3.2.

Headline

Lean statement and details
NLAlib.FloatMachine.IsArithAccurate.measureReal_not_exists_specNorm_mul_sub_deflate_le_le_of_hasLaw_complexGaussianMatrix.{u_1,
    u_2}
  {F : Type u_1} {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω cN β t x : ℝ} {μM μQ : ℕ → ℝ}
  (hM : M.IsArithAccurate dec u τ Ω μM)
  (hqr : IsQRErr (decodeComplex dec) u τ Ω μQ fun {m n} ↦ M.qr)
  (hnormal : IsNormalSampler (decodeComplex dec) u cN τ Ω M.normal) {n r : ℕ} (hr : r ≤ n)
  {U V : Matrix (Fin n) (Fin r) ℂ} (hU : HasOrthonormalCols U) (hV : HasOrthonormalCols V)
  {S : Matrix (Fin r) (Fin r) ℂ} (hS : IsUnit S) {A : Matrix (Fin n) (Fin n) ℂ}
  {A' : Matrix (Fin n) (Fin n) (F × F)} (hA : A = U * S * Vᴴ)
  (hβ : specNorm (A - decodeMatrix dec A') ≤ β) (hβ₁ : β ≤ 1) (ht : 0 ≤ t) (hx : 0 < x)
  (hmβ : (specNorm S + 2) * specNorm S⁻¹ * (√2 * (2 * √↑n + t)) / x * β ≤ 1 / 5)
  (hu : (4 * μQ n + 4 * √↑n * cN + 2 * μM n) * u ≤ β) (hτ : τ ≤ specNorm S * x) (hτN : τ * √↑n ≤ x)
  (hΩ : 2 * (specNorm S + 1) * (√2 * (2 * √↑n + t)) ≤ Ω) {Ω' : Type u_2} {mΩ' : MeasurableSpace Ω'}
  {μ : Measure Ω'} {G : Ω' → Matrix (Fin n) (Fin n) ℂ}
  (hG : HasLaw G (complexGaussianMatrix (Fin n) (Fin n)) μ) :
  μ.real
      {ω |
        ¬∃ W,
            HasOrthonormalCols W ∧
              specNorm (U * W - decodeMatrix dec (deflate M r A' (G ω))) ≤
                6 * ((specNorm S + 2) * specNorm S⁻¹ * (√2 * (2 * √↑n + t)) / x) * β} ≤
    2 * rexp (-t ^ 2 / 2) + ↑r ^ 2 * x ^ 2

Full source on GitHub

Copy link