NLAlib.ShiftedQR.roundedShQRSchurWith_terminatingSchurCore
Library · theorem
Standard rounding
The Schur core with any terminating small-block Schur solver terminates on every tape: on a scalar machine with the standard model at \boldsymbol{u} \le 1/100, index literals, exact natural literals up to n + 1, exact toNat and comparisons and an exact polar disk sampler, and a leaf L that terminates on orders at most \min(k, n + 1) with the cap T and 12 words qs, its accumulator within 0 \le \varepsilon_L \le (1 + 24\boldsymbol{u})^{R_L} - 1 of a unitary, roundedShQRSchurWith L meets NLAlib.Schur.TerminatingSchurCore on the orders at most n + 1 with the relative accumulator error (1 + 24\boldsymbol{u})^R - 1, R = NLAlib.ShiftedQR.shqrSchurRotations (NLAlib.ShiftedQR.solveRoundedWith_terminates).
NLAlib.ShiftedQR.roundedShQRSchurWith_terminatingSchurCore {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
[Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} {n : ℕ}
(hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) (hu1 : u ≤ 1 / 100)
(hL : Ops.IsIndexLit Mch I) (hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I)
(hC : Ops.IsCmp id I) {sU : ℕ} (hDisk : ShiftedQR.IsPolarDiskSampler sU I) {k : ℕ} {B Γ S δ φ : ℝ}
(hk : k = ShiftedQR.shqrDegree (4 * B)) {εL : ℝ} {T RL : ℕ} {qs : List ℝ} {L : Ops.Stmt O Q}
(hLeaf : ShiftedQR.TerminatingLeafRoutine εL (min k (n + 1)) qs T L I) (hqs : qs.length = 12)
(hεL : 0 ≤ εL) (hεLR : εL ≤ (1 + 24 * u) ^ RL - 1) :
Schur.TerminatingSchurCore
((1 + 24 * u) ^
ShiftedQR.shqrSchurRotations n k (ShiftedQR.shqrParams n k B Γ S δ φ ++ qs).length
(ShiftedQR.shqrCap n B Γ S δ) RL -
1)
k (ShiftedQR.shqrCap n B Γ S δ) T (n + 1)
(ShiftedQR.shqrDeflationThreshold n k B Γ S δ φ :: (ShiftedQR.shqrParams n k B Γ S δ φ ++ qs))
(ShiftedQR.roundedShQRSchurWith L) IImport NLAlib.Eigensolvers.ShiftedQR.RoundedSchurLeaf.