NLAlib.ShiftedQR.exists_forall_isStableQRChain_exists_norm_subdiag_le
Library · theorem
The dichotomy of Regularize, with rounded steps ([BanksGarzaVargasSrivastava2022, proof of Lemma 4.6], corrected: the dichotomy constant is \tfrac12 k^{-1/(2k)}, the printed (2k)^{-1/(2k)} drops a factor 2, and the proof's test is \psi_k(\mathbf{H}) \ge \varepsilon where the paper prints \le): let \mathbf{H} be upper Hessenberg of order n + 1, \mathbf{H}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{e}) with \kappa(\mathbf{V}) \le B, B^{2/k} \le 2, 1 \le k \le n, eigenvalues separated by 2\omega^2/\Sigma, \|\mathbf{H}\|_2 \le \Sigma, 0 < \omega \le \psi_k(\mathbf{H}), and shifts z_1, \dots, z_k within \omega^2/(2020\Sigma) of a listing of the eigenvalues of the trailing k \times k block, with \lvert z_j\rvert \le 1.1\|\mathbf{H}\|_2 and at distance at least d > 0 from every e_i. If the shifts are not 0.998^{1/k}\theta-optimal, \theta = 1.01 \cdot 0.998^{-1/k}(2B^4)^{1/(2k)}, then some z_{j_0} has the property that every backward-stable chain of k steps with the shift z_{j_0} and relative error \mathbf{x} \ge 0, \mathbf{x} \le (16B)^{-1}\Bigl(\frac{d}{4.2\Sigma}\Bigr)^k, \qquad 68.2B\Sigma\Bigl(\frac{4.2\Sigma}{d}\Bigr)^k\sqrt{n + 1}\,\mathbf{x} \le \frac{\omega}{2}, ends in a matrix with a bottom subdiagonal entry of modulus at most \omega.
NLAlib.ShiftedQR.exists_forall_isStableQRChain_exists_norm_subdiag_le {n k : ℕ} {B S ω d x : ℝ}
{H V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {e : Fin (n + 1) → ℂ} {zs lam : Fin k → ℂ}
(hH : IsUpperHessenberg H) (hk : 0 < k) (hkn : k ≤ n) (hBk : B ^ (2 / ↑k) ≤ 2) (hω : 0 < ω)
(hV : IsUnit V) (hHV : H * V = V * diagonal e) (hκ : pseudoConditionNumber V ≤ B)
(hgap : ∀ (i j : Fin (n + 1)), i ≠ j → 2 * ω ^ 2 / S ≤ ‖e i - e j‖) (hS : specNorm H ≤ S)
(hψ : ω ≤ hessenbergPotential k H) (hlam : IsEigenvalueListing (trailingBlock k H) lam)
(hzl : ∀ (j : Fin k), ‖zs j - lam j‖ ≤ ω ^ 2 / (20 * 101 * S))
(hz : ∀ (j : Fin k), ‖zs j‖ ≤ 1.1 * specNorm H) (hd : 0 < d)
(hdist : ∀ (j : Fin k) (i : Fin (n + 1)), d ≤ ‖e i - zs j‖)
(hopt :
¬IsOptimalRitzValues (0.998 ^ (↑k)⁻¹ * (1.01 * 0.998 ^ (-(↑k)⁻¹) * (2 * B ^ 4) ^ (2 * ↑k)⁻¹)) H
(List.ofFn zs))
(hx : 0 ≤ x) (hxu : x ≤ (16 * B)⁻¹ * (d / ((2 + 2 * 1.1) * S)) ^ k)
(hbound : (66 + 2 * 1.1) * B * S * ((2 + 2 * 1.1) * S / d) ^ k * √(↑n + 1) * x ≤ ω / 2) :
∃ jstar,
∀ (H' : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
(Rs : List (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)),
IsStableQRChain x H (List.replicate k (zs jstar)) H' Rs →
∃ i, n ≤ ↑i + k ∧ ‖H' i.succ i.castSucc‖ ≤ ωImport NLAlib.Eigensolvers.ShiftedQR.RoundedRegularizeTrial.