NLA-lib Explorer

NLAlib.ShiftedQR.DecoupleLoopCtx.routine_words

Library · theorem

The words of the small-eigenvalue routine in the decoupling loop: with the parameter words NLAlib.ShiftedQR.roundedDecoupleParams followed by qs (none, or 12), the words qs are stored at the view P[np - 12], apart from the matrix and the flag.

NLAlib.ShiftedQR.DecoupleLoopCtx.routine_words {n L : ℕ} {w p f : ℕ × ℕ} {ps qs : List ℝ}
  {tL R tv γ Bi α ε : ℝ} {k q : ℕ} {μ : Ops.Mem ℝ} (hctx : ShiftedQR.DecoupleLoopCtx n L w p f ps μ)
  (hps : ps = ShiftedQR.roundedDecoupleParams tL R tv γ Bi α ε k q ++ qs)
  (hq12 : qs = [] ∨ qs.length = 12) :
  μ.store.readBlock p.1 (p.2 + (ps.length - 12)) qs.length = some qs ∧
    (Ops.Store.inBlock w.1 w.2 (2 * ((n + 1) * (n + 1))) ⊔ Ops.Store.inBlock f.1 f.2 1).Disj
      (Ops.Store.inBlock p.1 (p.2 + (ps.length - 12)) qs.length)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedDecouple.