NLAlib.ShiftedQR.shOutcome_of_accepted
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
Standard rounding
An accepted trial is the outcome of Sh: a backward-stable step with the shift s repeated, \lvert s\rvert \le C\|\mathbf{H}\|_2, accepted against the potential threshold \mathrm{fl}(1.0015(1 - \gamma)p_\mathbf{H}), p_\mathbf{H} within 20\boldsymbol{u}, relatively, of \psi_k(\mathbf{H}), \gamma \le 1, 2 \cdot 10^5\boldsymbol{u} \le 1, with the error (1 + C)\|\mathbf{H}\|_2((1 + \mathbf{x})^k - 1), by the exact unitary of the closed slots Ls.
NLAlib.ShiftedQR.shOutcome_of_accepted {n : ℕ} {M : Ops.Machine ℝ} {u x C γ tv pH : ℝ}
(hM : Ops.StdModel u id M) (hu : 200000 * u ≤ 1) (hx : 0 ≤ x) (hγ1 : γ ≤ 1) {k : ℕ}
{H H' : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {s : ℂ}
{Rs : List (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)} {a f lg : ℕ × ℕ} {m' : Ops.Mem ℝ} {ns w : ℕ}
{LL Ls : List (Option (List GivensEntry))} (hlog : HoldsSlottedLog lg ns w (LL ++ Ls) [] m'.store)
(hpl : ∀ x ∈ slotEntries w Ls, x.1 + 1 < n + 1)
(hpH : |pH - hessenbergPotential k H| ≤ 20 * u * hessenbergPotential k H)
(hs : ‖s‖ ≤ C * specNorm H)
(hch : IsStableQRChainBy x H (List.replicate k s) H' Rs (givensLog (n + 1) (slotEntries w Ls)))
(hH' : IsUpperHessenberg H') (hA : HoldsMatrix a H' m'.store) (hf : m'.store.get f.1 f.2 = some 1)
(hacc : ShiftedQR.ShAccepted u k tv (M.mul (1.0015 * (1 - γ)) pH) H') :
ShiftedQR.ShOutcome u k H γ tv ((1 + C) * specNorm H * ((1 + x) ^ k - 1)) a f lg ns w LL Ls.length
m'Import NLAlib.Eigensolvers.ShiftedQR.RoundedShExcTrials.