NLAlib.ShiftedQR.roundedLarge_pwrites
Library · theorem
This statement changed in the recorded rename: 2026-11-schur, 2026-11-smalleig.
Standard rounding
The large branch of a round on the good tapes: from the copied state of round j < 2(n + 1) on the range (lo, d + 1), k \le d, the scoped log, the decoupling call (NLAlib.ShiftedQR.roundedDecoupleCall_pwrites) and the rest of the branch (NLAlib.ShiftedQR.roundedLargeRest_reached) reach the state before round j + 1, except with probability at most \varphi_D.
Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.ShiftedQR.roundedLarge_pwrites {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) (hI : I.IsMeasurable) {win : O → List ℕ → ℕ}
(hloc : ∀ (o : O), I.TapeLocal o (win o)) {law : ℕ → Measure ℝ} {B g φD N₀ εL e ω c thr : ℝ}
{k F T ns w m : ℕ} (hm : ns * w ≤ m) {ps : List ℝ} {ε : ℝ → ℝ} (D : Ops.Stmt O Q)
(hD : ShiftedQR.RandomDecouplingRoutineContract law (2 * B) (g / 2) φD k F T n N₀ ps ns w ω ε D I)
{H U V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {dd : Fin (n + 1) → ℂ} (hV : IsUnit V)
(hHV : H * V = V * diagonal dd) (hκ : pseudoConditionNumber V ≤ B) (hg : 0 < g)
(hgap : ∀ (i j : Fin (n + 1)), i ≠ j → g ≤ ‖dd i - dd j‖) (hεL : 0 ≤ εL)
(hfind : (1 + u) ^ 2 * ω ^ 2 ≤ thr) (hcut : thr ≤ (1 - u) ^ 2 * c ^ 2) (hc : 0 ≤ c)
(he : ε N₀ + 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₀) (hsmall : 2 * (↑n + 1) * e ≤ g / (16 * (↑n + 1) * B))
{a t p uo f st wk ub r : ℕ × ℕ} {j lo d : ℕ} (hj : j < 2 * (n + 1)) (hk : k ≤ d) (hdn : d ≤ n) :
Ops.PWrites law I (ShiftedQR.roundedProcessLargeWith D)
(Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w, lo, d + 1] [a, t, p, st, uo, wk, r, f])
(ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
(ShiftedQR.SchurPopped true n H U u εL e m thr ps a t p uo f st wk ub r j lo (d + 1))
(ShiftedQR.SchurReached n H U u εL e m thr ps a t p uo f st wk ub r (j + 1)) φDImport NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistSchur.