NLAlib.ShiftedQR.multiStepStable_isStableQRChain
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
Standard rounding
The degree k rounded step is a stable chain (the setting of [BanksGarzaVargasSrivastava2022, Lemma 3.6]): NLAlib.ShiftedQR.multiStepStable_isStableQRChainBy without the unitary.
NLAlib.ShiftedQR.multiStepStable_isStableQRChain {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.IndexOp Op] [Ops.Has Ops.CmpTst Tst] {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ}
{u : ℝ} (hS : Ops.IsScalar M I) (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (hCmp : Ops.IsCmp id I)
(hL : Ops.IsIndexLit M I) {nmax : ℕ} (hNat : Ops.IsExactNatLit id M nmax) {τ : Ops.Tape ℝ}
{m : Ops.Mem ℝ} {n : ℕ} {a s ds lg : ℕ × ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
{ss : List ℂ} (hH : IsUpperHessenberg H) (hnu : (↑n + 1) * u ≤ 1 / 2500) (hn : n ≤ nmax)
{ns w : ℕ} {L : List (Option (List GivensEntry))} (hlog : HoldsSlottedLog lg ns w L [] m.store)
(hj : L.length < ns) (hw : ss.length * n ≤ w) (hl : m.Live [a, s, ds, lg])
(hA : HoldsMatrix a H m.store)
(hs : m.store.readBlock s.1 s.2 (2 * ss.length) = some (List.flatMap (fun z ↦ [z.re, z.im]) ss))
(hd : ds.2 + 2 * ss.length ≤ m.store.len ds.1)
(has :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(Ops.Store.inBlock s.1 s.2 (2 * ss.length)))
(had :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))))
(Ops.Store.inBlock ds.1 ds.2 (2 * ss.length)))
(hsd :
Ops.Fp.Disj (Ops.Store.inBlock s.1 s.2 (2 * ss.length))
(Ops.Store.inBlock ds.1 ds.2 (2 * ss.length)))
(hlgd :
Ops.Fp.Disj (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
(Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))) ⊔
Ops.Store.inBlock s.1 s.2 (2 * ss.length) ⊔
Ops.Store.inBlock ds.1 ds.2 (2 * ss.length))) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.multiStepStable
(Ops.Env.frame [n + 1, ss.length, w, L.length] [a, s, a, ds, lg])
(Ops.Store.inBlock a.1 a.2 (2 * ((n + 1) * (n + 1))) ⊔
Ops.Store.inBlock ds.1 ds.2 (2 * ss.length) ⊔
Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
(fun m' ↦
m'.pos = m.pos ∧
∃ H' Rs,
IsStableQRChain (300 * (↑n + 1) ^ 2 * u) H ss H' Rs ∧
IsUpperHessenberg H' ∧
HoldsMatrix a H' m'.store ∧
m'.store.readBlock ds.1 ds.2 (2 * ss.length) =
some
(List.flatMap
(fun R ↦ [(R (Fin.last n) (Fin.last n)).re, (R (Fin.last n) (Fin.last n)).im])
Rs))
mImport NLAlib.Eigensolvers.ShiftedQR.MultiStepStable.