NLA-lib Explorer

NLAlib.ShiftedQR.shPotential_writes

Library · theorem

Standard rounding

The rounded potential of Sh (NLAlib.ShiftedQR.roundedPotential_writes) reaches NLAlib.ShiftedQR.ShState1, for k = 2^q \le n and 20000k\boldsymbol{u} \le 1. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine, on their scratch.

NLAlib.ShiftedQR.shPotential_writes {n : ℕ} {O Q : Type} [Ops.Has Ops.ScalarOp O]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
  (hM : Ops.StdModel u id M) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {L k q : ℕ} (hkq : k = 2 ^ q)
  (hkn : k ≤ n) (hu : 20000 * ↑k * u ≤ 1) {ε : ℝ} {a s wg wr ww wp g thr f : ℕ × ℕ}
  (hv : ShiftedQR.ShViews L n k ε a s wg wr ww wp g thr f)
  {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ss : List ℂ} {cg cr cw cp tv : ℝ}
  (hm : ShiftedQR.ShCtx L k ε H ss cg cr cw cp tv a s wg wr ww wp g thr f m) :
  Ops.Writes Ops.Mode.total I τ ShiftedQR.roundedPotential
    (Ops.Env.frame [n + 1, k, q] [a, (L + 1, 0)]) (Ops.Store.inBlock (L + 1) 0 1)
    (ShiftedQR.ShState1 u L k ε H ss cg cr cw cp tv a s wg wr ww wp g thr f) m

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSh.