NLA-lib Explorer

NLAlib.LanczosData.abs_dotProduct_cfc_mulVec_sub_le_frobNorm

Library · theorem

The spectral measures are Wasserstein-close: for unit vectors and every 1-Lipschitz f, \lvert\mathbf{v}_1^{\mathsf{T}}f(\mathbf{H})\mathbf{v}_1 - \tilde{\mathbf{v}}^{\mathsf{T}}f(\tilde{\mathbf{H}})\tilde{\mathbf{v}}\rvert \le \|\tilde{\mathbf{H}} - \mathbf{I}_{k+1} \otimes \mathbf{H}\|_{\mathsf{F}}.

NLAlib.LanczosData.abs_dotProduct_cfc_mulVec_sub_le_frobNorm {n k : ℕ} (D : LanczosData n k)
  (hW : ∀ (j : Fin (k + 1)), (D.basisSuccᵀ * D.basisSucc) j j = 1) {f : ℝ → ℝ}
  (hf : LipschitzWith 1 f) :
  |D.v 1 ⬝ᵥ cfc f D.H *ᵥ D.v 1 - D.dilatedStart ⬝ᵥ cfc f D.backwardH *ᵥ D.dilatedStart| ≤
    frobNorm (D.backwardH - D.dilatedH)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.BackwardSpectral.