Theorem (FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le). Deterministic accuracy of randomized deflation (Theorem 3.3, deterministic half): 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 \mu_{\mathrm{MM}}(n) \ge 0, u \ge 0, r \le n, \mathbf{U}, \mathbf{V} \in \mathbb{C}^{n \times r} have orthonormal columns, \mathbf{S} \in \mathbb{C}^{r \times r} be invertible, \mathbf{A} = \mathbf{U}\mathbf{S}\mathbf{V}^{\mathsf{H}}, \widetilde{\mathbf{A}} stored with \|\mathbf{A} - \bar{\widetilde{\mathbf{A}}}\|_2 \le \beta, and \mathbf{G} have \mathbf{V}^{\mathsf{H}}\mathbf{G}_1 invertible, \mathbf{G}_1 its first r columns. With m = (\|\mathbf{S}\|_2 + \beta + 1)\|\mathbf{S}^{-1}\|_2\|\mathbf{G}\|_2 \|(\mathbf{V}^{\mathsf{H}}\mathbf{G}_1)^{-1}\|_2, if 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{G}\|_2, \sqrt n\,\tau \le \|\mathbf{G}\|_2 (the floor of the normal sampler, absorbed into a factor 2) and 2(\|\mathbf{S}\|_2 + \beta)\|\mathbf{G}\|_2 \le \Omega, \|\mathbf{G}\|_2 \le \Omega (so the normal sampler's contract covers every entry), then there is a unitary \mathbf{W} with \|\mathbf{U}\mathbf{W} - \mathsf{deflate}(\widetilde{\mathbf{A}}, r)\|_2 \le 6m\beta \,, \mathsf{deflate} the decoded output of NLAlib.deflate with ideal sample \mathbf{G}. [Shah2024, Theorem 3.3], there for \mathbf{S} the diagonal of singular values and with the probability folded in.
Headline
Lean statement and details
NLAlib.FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le.{u_4}
{F : Type u_4} {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω cN β mval : ℝ} {μ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 : ℕ} (hμM : 0 ≤ μM n)
(hu₀ : 0 ≤ u) (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 G : Matrix (Fin n) (Fin n) ℂ} {A' : Matrix (Fin n) (Fin n) (F × F)} (hA : A = U * S * Vᴴ)
(hβ : specNorm (A - decodeMatrix dec A') ≤ β) (hG : IsUnit (Vᴴ * G.submatrix id (Fin.castLE hr)))
(hm :
mval =
(specNorm S + β + 1) * specNorm S⁻¹ * specNorm G *
specNorm (Vᴴ * G.submatrix id (Fin.castLE hr))⁻¹)
(hmβ : mval * β ≤ 1 / 5) (hu : (4 * μQ n + 4 * √↑n * cN + 2 * μM n) * u ≤ β)
(hτ : τ ≤ specNorm S * specNorm G) (hτN : τ * √↑n ≤ specNorm G)
(hΩ : 2 * (specNorm S + β) * specNorm G ≤ Ω) (hΩG : specNorm G ≤ Ω) :
∃ W, HasOrthonormalCols W ∧ specNorm (U * W - decodeMatrix dec (deflate M r A' G)) ≤ 6 * mval * β