NLAlib.ShiftedQR.roundedDecoupleExit_writes
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
The exit of the decoupling loop: from the state before round i \le F at the cap or with a scan that passed, the loop sets the flag to 0 and holds an upper Hessenberg perturbed unitary similarity with error FE and a bottom entry of modulus at most \omega_D (t_L \le (1 - \boldsymbol{u})^2\omega_D^2). At the cap the scan has passed: a coupled matrix has \psi_k \le c^F\psi_k(\mathbf{H}) \le c^F N_{\max}, and one of its bottom entries is at most \psi_k, which fails the loop's test when (1 + \boldsymbol{u})^2(c^F N_{\max})^2 \le t_L. Also in the tree of NLAlib.SmallEig.smallEigRoutine. Shared by the trees of NLAlib.ShiftedQR.roundedDecoupleLoopWith, NLAlib.SmallEig.decoupleLast.
NLAlib.ShiftedQR.roundedDecoupleExit_writes {n : ℕ} {O Q : Type} [Ops.Has Ops.IndexOp O]
[Ops.Has Ops.CmpTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hu1 : u < 1)
(hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp id I) (h0lit : M.lit 0 = 0) {τ : Ops.Tape ℝ}
{μ : Ops.Mem ℝ} {k L i F : ℕ} (hk : 0 < k) (hkn : k ≤ n) {w p f : ℕ × ℕ} {ps : List ℝ}
{H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {tL c E ωD Nmax : ℝ} (hcut : tL ≤ (1 - u) ^ 2 * ωD ^ 2)
(hωD : 0 ≤ ωD) (hc0 : 0 ≤ c) (hE0 : 0 ≤ E) (hψH : hessenbergPotential k H ≤ Nmax)
(hfuel : (1 + u) ^ 2 * (c ^ F * Nmax) ^ 2 ≤ tL) (hiF : i ≤ F)
(hctx : ShiftedQR.DecoupleLoopCtx n L w p f ps μ) {lg : ℕ × ℕ} {ns ws s : ℕ}
(hst : ShiftedQR.DecoupleLoopState u k H tL c E w (L, 0) i lg ns ws s μ)
(hend : i = F ∨ I.test (Ops.Has.inj Ops.CmpTst.isZero) [] [(L, 3)] μ = some false) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.roundedDecoupleExit (Ops.Env.frame [] [(L, 0), f])
(Ops.Store.inBlock f.1 f.2 1)
(fun μ' ↦
μ'.store.get f.1 f.2 = some 0 ∧
∃ H',
IsPerturbedUnitarySimilar H H' (↑F * E) ∧
IsUpperHessenberg H' ∧
(∃ j, n ≤ ↑j + k ∧ ‖H' j.succ j.castSucc‖ ≤ ωD) ∧ HoldsMatrix w H' μ'.store)
μImport NLAlib.Eigensolvers.ShiftedQR.RoundedDecouple.