NLA-lib Explorer

NLAlib.ShiftedQR.roundedShQRSchur_terminatingSchurCore

Library · theorem

Standard rounding

The Schur core with the small-eigenvalue program 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, draws that store the tape entry and an exact polar disk sampler, for any B, \Gamma, \Sigma, \delta, \varphi, k the degree of (eqn:setk) at 4B and any tail records, roundedShQRSchur with the words shqrSchurParams 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.shqrSmallEigRotations.

NLAlib.ShiftedQR.roundedShQRSchur_terminatingSchurCore {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.SampleOp 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) (hSmp : Ops.IsSample I) {sU sG : ℕ}
  (hDisk : ShiftedQR.IsPolarDiskSampler sU I) {c₁ c₂ : PolyLogTail} {k : ℕ} {B Γ S δ φ : ℝ}
  (hk : k = ShiftedQR.shqrDegree (4 * B)) :
  Schur.TerminatingSchurCore
    ((1 + 24 * u) ^ ShiftedQR.shqrSmallEigRotations n k B Γ S δ φ c₁ c₂ - 1) k
    (ShiftedQR.shqrCap n B Γ S δ) (ShiftedQR.shqrSmallEigCap n k B Γ S δ φ c₁ c₂) (n + 1)
    (ShiftedQR.shqrSchurParams n k B Γ S δ φ c₁ c₂) (ShiftedQR.roundedShQRSchur sG) I

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSmallEig.