NLA-lib Explorer

NLAlib.ShiftedQR.roundedDecoupleExit_terminates

Library · theorem

The exit of the decoupling loop on any scan flag stores the flag and keeps the matrix.

NLAlib.ShiftedQR.roundedDecoupleExit_terminates {O Q : Type} [Ops.Has Ops.IndexOp O]
  [Ops.Has Ops.CmpTst Q] {n : ℕ} {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ}
  (hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp id I) {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {L : ℕ}
  {w p f : ℕ × ℕ} {ps : List ℝ} (hctx : ShiftedQR.DecoupleLoopCtx n L w p f ps μ)
  (hW : ∃ H, HoldsMatrix w H μ.store) {x : ℝ} (hx : μ.store.get L 3 = some x) :
  Ops.Writes Ops.Mode.total I τ ShiftedQR.roundedDecoupleExit (Ops.Env.frame [] [(L, 0), f])
    (Ops.Store.inBlock f.1 f.2 1)
    (fun μ' ↦ (∃ x, μ'.store.get f.1 f.2 = some x) ∧ ∃ H', HoldsMatrix w H' μ'.store) μ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedDecoupleTermination.