NLA-lib Explorer

NLAlib.IsStableQRChain.exists_frobNorm_conj_sub_le

Library · theorem

Forward error of a degree m step (corrected [BanksGarzaVargasSrivastava2022, Lemma 3.8]): let \mathbf{H} be upper Hessenberg, \mathbf{H}\mathbf{V} = \mathbf{V}\mathbf{D} with \kappa(\mathbf{V}) \le \kappa, every shift at distance at least d > 0 from every eigenvalue and in \mathbb{D}(0, C\|\mathbf{H}\|_2), \mathbf{H} \ne 0, and \mathbf{x} \le (16\kappa)^{-1}(d / ((2 + 2C)\|\mathbf{H}\|_2))^m (the paper's hypothesis lacks the factor (2 + 2C)^{-m}). Then for a diagonal unitary \mathbf{D} (the phase of the last diagonal entry of the computed triangular factor; the paper compares with the positive-diagonal QR factor directly), \|\mathbf{D}^{\mathsf H}\widehat{\mathbf{H}}'\mathbf{D} - \mathbf{H}'\|_{\mathsf F} \le (66 + 2C)\kappa\|\mathbf{H}\|_2((2 + 2C)\|\mathbf{H}\|_2 / d)^m\sqrt{n + 1}\,x, where \mathbf{H}' is the exact multishift step. 64 is the QR perturbation term with the loose constant 8 (NLAlib.IsQR.frobNorm_sub_le_of_add); 2 + 2C absorbs the accumulated similarity error, which the paper's 33 covers only when d \le \|\mathbf{H}\|_2 (false for large C: \mathbf{H} = -\mathbf{I}_2, s = 200). The Hessenberg hypothesis is needed: Givens QR of a matrix that is not Hessenberg is not a QR factorization, and a 3 \times 3 counterexample breaks the bound by a factor 1670 without it.

NLAlib.IsStableQRChain.exists_frobNorm_conj_sub_le {n : ℕ} {x C κ d : ℝ}
  {H H' V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {e : Fin (n + 1) → ℂ} {ss : List ℂ}
  {Rs : List (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)} (h : IsStableQRChain x H ss H' Rs) (hx : 0 ≤ x)
  (hC : 0 ≤ C) (hd : 0 < d) (hH0 : H ≠ 0) (hHess : IsUpperHessenberg H) (hV : IsUnit V)
  (hHV : H * V = V * diagonal e) (hκ : pseudoConditionNumber V ≤ κ)
  (hs : ∀ s ∈ ss, ‖s‖ ≤ C * specNorm H) (hdist : ∀ s ∈ ss, ∀ (i : Fin (n + 1)), d ≤ ‖e i - s‖)
  (hu : x ≤ (16 * κ)⁻¹ * (d / ((2 + 2 * C) * specNorm H)) ^ ss.length) :
  ∃ D,
    (∀ (i : Fin (n + 1)), ‖D i‖ = 1) ∧
      frobNorm ((diagonal D)ᴴ * H' * diagonal D - multiShiftedQRStep H ss) ≤
        (66 + 2 * C) * κ * specNorm H * ((2 + 2 * C) * specNorm H / d) ^ ss.length * √(↑n + 1) * x

Full source on GitHub

Import NLAlib.Matrix.QRIteration.StableStepForward.