NLAlib.ShiftedQR.roundedLargeRest_reached
Library · theorem
Standard rounding
The rest of the large branch on the good tapes: under the conditions of NLAlib.ShiftedQR.roundedSplitUpdate_reached, with the threshold word t, (1 + \boldsymbol{u})^2\omega^2 \le t \le (1 - \boldsymbol{u})^2c^2, c \ge 0, k \le d, the decoupler's flag 0 and one of the bottom k subdiagonal entries of \mathbf{H}' of modulus at most \omega, the branch on the flag, the bottom scan, the split and the update (NLAlib.ShiftedQR.roundedLargeRest) reach the core of round j + 1: the scan always finds a cut of modulus at most c.
NLAlib.ShiftedQR.roundedLargeRest_reached {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch)
(hu0 : 0 ≤ u) (hu : u ≤ 1 / 100) (hL : Ops.IsIndexLit Mch I) {n : ℕ}
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I)
{k F T ns w m : ℕ} (hm : ns * w ≤ m) {np : ℕ} {tape : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {lo d j lgb : ℕ}
(hj : j < 2 * (n + 1)) (hk : k ≤ d) {a t p uo f st wk ub r : ℕ × ℕ} {rs done : List (ℕ × ℕ)}
{H U A U' : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {H' : Matrix (Fin (d + 1)) (Fin (d + 1)) ℂ}
{εL εD c e N₀ thr ω : ℝ} (hεL : 0 ≤ εL) (hfind : (1 + u) ^ 2 * ω ^ 2 ≤ thr)
(hcut : thr ≤ (1 - u) ^ 2 * c ^ 2) (hc : 0 ≤ c) (he : εD + 78 * u * ↑(ns * w) * N₀ + c ≤ e)
(hroom : 2 * (↑n + 1) * (78 * u * ↑(ns * w) * N₀) ≤ N₀) (he0 : 0 ≤ e)
(hN₀ : specNorm H + 2 * (↑n + 1) * e ≤ N₀) {L : List (Option (List GivensEntry))}
(hG : ShiftedQR.SchurGeometry (n + 1) np a t p uo f st wk ub r μ)
(ht : μ.store.get t.1 t.2 = some thr) (hf : μ.store.get f.1 f.2 = some 0)
(hA : HoldsMatrix a A μ.store) (hU' : HoldsMatrix uo U' μ.store) (hW : HoldsMatrix wk H' μ.store)
(hSt : ShiftedQR.StackHolds st rs μ.store)
(hsh : ShiftedQR.SchurShape n (rs ++ [(lo, d + 1)]) done A)
(hcnt : 2 * done.length + rs.length = j)
(htr :
IsTrackedUnitarySimilar ((1 + 24 * u) ^ (j * m) * (1 + εL) ^ done.length - 1) (↑j * e) U H U' A)
(hlog : HoldsSlottedLog (lgb, 0) ns w L [] μ.store) (hlen : L.length = ns)
(hpl : ∀ e ∈ slotEntries w L, e.1 + 1 < d + 1) (hlgb : lgb < List.length μ.store)
(hlgv : ∀ v ∈ [a, t, p, uo, f, st, wk, ub, r], v.1 < lgb)
(hblk :
IsPerturbedUnitarySimilarBy (givensLog (d + 1) (slotEntries w L)) (subBlock A (lo, d + 1)) H'
εD)
(hH' : IsUpperHessenberg H') (hsm : ∃ i, d ≤ ↑i + k ∧ ‖H' i.succ i.castSucc‖ ≤ ω) :
Ops.Writes Ops.Mode.total I tape ShiftedQR.roundedLargeRest
{ idx := (Ops.Env.frame [n + 1, k, np, F, T, ns, w, lo, d + 1] [a, t, p, st, uo, wk, r, f]).idx,
buf :=
(Ops.Env.frame [n + 1, k, np, F, T, ns, w, lo, d + 1] [a, t, p, st, uo, wk, r, f]).buf ++
[lgb] }
(ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
(ShiftedQR.SchurReachedCore n H U u εL e m a uo f st (j + 1)) μImport NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSchur.