NLAlib.ShiftedQR.comptauHalf_isHalfTau
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
Standard rounding
comptauHalf satisfies the contract of Find's comparison values ([BanksGarzaVargasSrivastava2022, Lemmas 3.9 and 5.1]): let \mathbf{H} of order n + 1 be upper Hessenberg and nonzero, \mathbf{H}\mathbf{V} = \mathbf{V}\mathbf{D} with \kappa(\mathbf{V}) \le \kappa, the k shifts in \mathbb{D}(0, C\|\mathbf{H}\|_2) and at distance at least d > 0 from every eigenvalue, and the machine the standard model with exact comparisons, (n + 1)\boldsymbol{u} \le 1/2500, 30000(k/2 + 1)\boldsymbol{u} \le 1 and 300(n + 1)^2\boldsymbol{u} \le (8004\kappa)^{-1} \Bigl(\frac{d}{(2 + 2C)\|\mathbf{H}\|_2}\Bigr)^{k/2}. Then for every half l of h shifts and exponent e with 2he = k, comptauHalf stores a t within 0.0011 (indeed 0.001), relatively, of \|\mathbf{e}_n^{\mathsf{T}}p_l(\mathbf{H})^{-e}\|^{-1}: NLAlib.ShiftedQR.stepComptau_writes with the he shifts l^e, and p_{l^e} = p_l^{\,e} (NLAlib.shiftPoly_flatten_replicate). The planes of the scratch log are natural literals below n, exact on the machine (hNat). For odd k the contract is empty; k/2 is the natural quotient.
NLAlib.ShiftedQR.comptauHalf_isHalfTau {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
[Ops.Has Ops.CmpTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
(hM : Ops.StdModel u id M) (hCmp : Ops.IsCmp id I) (hL : Ops.IsIndexLit M I) {nmax : ℕ}
(hNat : Ops.IsExactNatLit id M nmax) {n : ℕ} (hn : n ≤ nmax) {C κ d : ℝ}
{H V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ev : Fin (n + 1) → ℂ} {shifts : List ℂ}
(hH : IsUpperHessenberg H) (hH0 : H ≠ 0) (hV : IsUnit V) (hHV : H * V = V * diagonal ev)
(hκ : pseudoConditionNumber V ≤ κ) (hC : 0 ≤ C) (hd : 0 < d)
(hs : ∀ s ∈ shifts, ‖s‖ ≤ C * specNorm H)
(hdist : ∀ s ∈ shifts, ∀ (i : Fin (n + 1)), d ≤ ‖ev i - s‖) (hnu : (↑n + 1) * u ≤ 1 / 2500)
(hu : 30000 * (↑(shifts.length / 2) + 1) * u ≤ 1)
(hxu :
300 * (↑n + 1) ^ 2 * u ≤
(8004 * κ)⁻¹ * (d / ((2 + 2 * C) * specNorm H)) ^ (shifts.length / 2)) :
ShiftedQR.IsHalfTau H shifts ShiftedQR.comptauHalf IImport NLAlib.Eigensolvers.ShiftedQR.RoundedFind.