NLA-lib Explorer

NLAlib.slottedLogValidate_writes

Library · theorem

Standard rounding

Validating the pending slot closes it as accepted. Shared by the trees of NLAlib.hessenbergReduceLast, NLAlib.ShiftedQR.trialAccept, NLAlib.SmallEig.decoupleLast and 1 more.

NLAlib.slottedLogValidate_writes {O Q : Type} [Ops.Has Ops.IndexOp O] {Mch : Ops.Machine ℝ}
  {I : Ops.Interp O Q ℝ} {u : ℝ} (hL : Ops.IsIndexLit Mch I) (hM : Ops.StdModel u id Mch)
  (hu : u < 1) {ns w : ℕ} {lg : ℕ × ℕ} {L : List (Option (List GivensEntry))} {P : List GivensEntry}
  {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} (h : HoldsSlottedLog lg ns w L P μ.store) (hL' : L.length < ns) :
  Ops.Writes Ops.Mode.total I τ slottedLogValidate (Ops.Env.frame [w, L.length] [lg])
    (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
    (fun μ' ↦ μ'.pos = μ.pos ∧ HoldsSlottedLog lg ns w (L ++ [some P]) [] μ'.store) μ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensLog.