NLAlib.ShiftedQR.excOutcome_of_excShifts
Library · theorem
The outcome of the exceptional shifts, read from the memory: let \mathbf{H}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{e}) with \kappa(\mathbf{V}) \le B, the k shifts ss (2 \le k \le n) \theta-optimal (\theta \ge 1), none an eigenvalue, r an \alpha-promising one (\alpha \ge 1) that stagnates with the ratio 0.998(1 - \gamma), 0 < \gamma < 1, \psi_k(\mathbf{H}) > 0, the radius \tilde R in the window [1.998^{1/k}, 2.002^{1/k}]\,\theta\alpha B^{1/k}\psi_k(\mathbf{H}), \varepsilon = (0.998(1 - \gamma)^2/((13B^4)^{1/k}\alpha^2\theta^2))^{k/(k-1)} \le 1/2, \varphi > 0, d > 0 and \delta = \varepsilon\tilde R\sqrt{\varphi/(11(n + 1))}/4. If N shifts are stored as pairs at b, cover \mathbb{D}(r, \tilde R) at radius \varepsilon\tilde R, are at most 9/\varepsilon^2, at distance at least \delta from every eigenvalue and in \mathbb{D}(r, 2.1\tilde R), then the column read at b is initialised, contains a contracting shift, and its entries are at distance at least d \le \varepsilon\,1.998^{1/k}\theta\alpha B^{1/k}\psi_k(\mathbf{H}) \sqrt{\varphi/(11(n + 1))}/4 from every eigenvalue and of modulus at most C\|\mathbf{H}\|_2, for \lvert r\rvert \le 1.1\|\mathbf{H}\|_2 and 1.1 + 2.1 \cdot 2.002^{1/k}\theta\alpha B^{1/k} \le C.
NLAlib.ShiftedQR.excOutcome_of_excShifts {n : ℕ} {s : Ops.Store ℝ} {b : ℕ × ℕ} {N : ℕ} {zs : List ℂ}
{B θ α γ R ε φ d C : ℝ} {k : ℕ} {H V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {e : Fin (n + 1) → ℂ}
{ss : List ℂ} {r : ℂ} (hk : 2 ≤ k) (hkn : k ≤ n) (hlen : ss.length = k) (hV : IsUnit V)
(hHV : H * V = V * diagonal e) (hκ : pseudoConditionNumber V ≤ B)
(hopt : IsOptimalRitzValues θ H ss) (hr : IsPromisingRitzValue α V e ss r)
(hd0 : ∀ (i : Fin (n + 1)), ∀ s ∈ ss, e i ≠ s) (hψ : 0 < hessenbergPotential k H) (hγ : 0 < γ)
(hγ1 : γ < 1) (hθ : 1 ≤ θ) (hα : 1 ≤ α)
(hτ :
‖WithLp.toLp 2 (((Polynomial.aeval H) (shiftPoly (List.replicate k r)))⁻¹ (Fin.last n))‖ ≤
(0.998 * (1 - γ) * hessenbergPotential k H)⁻¹ ^ k)
(hRlo : 1.998 ^ (↑k)⁻¹ * θ * α * B ^ (↑k)⁻¹ * hessenbergPotential k H ≤ R)
(hRhi : R ≤ 2.002 ^ (↑k)⁻¹ * θ * α * B ^ (↑k)⁻¹ * hessenbergPotential k H)
(hε : ε = (0.998 * (1 - γ) * (1 - γ) / ((13 * B ^ 4) ^ (↑k)⁻¹ * α ^ 2 * θ ^ 2)) ^ (↑k / (↑k - 1)))
(hφ : 0 < φ)
(hd :
d ≤
ε * (1.998 ^ (↑k)⁻¹ * θ * α * B ^ (↑k)⁻¹ * hessenbergPotential k H) * √(φ / (11 * ↑(n + 1))) /
4)
(hd' : 0 < d) (hrH : ‖r‖ ≤ 1.1 * specNorm H)
(hC : 1.1 + 2.1 * (2.002 ^ (↑k)⁻¹ * θ * α * B ^ (↑k)⁻¹) ≤ C) (hzl : zs.length = N)
(hblk : s.readBlock b.1 b.2 (2 * N) = some (List.flatMap (fun z ↦ [z.re, z.im]) zs))
(hcard : ↑zs.length ≤ 9 / ε ^ 2) (hcover : ∀ (z : ℂ), ‖z - r‖ ≤ R → ∃ s ∈ zs, ‖z - s‖ ≤ ε * R)
(hdist : ∀ s ∈ zs, ∀ (i : Fin (n + 1)), ε * R * √(φ / (11 * ↑(n + 1))) / 4 ≤ ‖e i - s‖)
(hnear : ∀ s ∈ zs, ‖s - r‖ ≤ 2.1 * R) :
(∀ j < 2 * (1 * N), (s.get b.1 (b.2 + j)).isSome = true) ∧
(∃ j,
((1 - γ) * hessenbergPotential k H)⁻¹ ^ k ≤
‖WithLp.toLp 2
(((Polynomial.aeval H) (shiftPoly (List.replicate k (storedMatrix b N 1 s j 0))))⁻¹
(Fin.last n))‖) ∧
(∀ (j : Fin N) (i : Fin (n + 1)), d ≤ ‖e i - storedMatrix b N 1 s j 0‖) ∧
∀ (j : Fin N), ‖storedMatrix b N 1 s j 0‖ ≤ C * specNorm HImport NLAlib.Eigensolvers.ShiftedQR.RoundedShExc.