NLA-lib Explorer

NLAlib.slottedLogOpen_writes

Library · theorem

Standard rounding

Opening a log stores the empty log. Shared by the trees of NLAlib.hessenbergReduceQ, NLAlib.ShiftedQR.roundedDecoupleLoopWith, NLAlib.ShiftedQR.roundedDecoupleWith and 3 more.

NLAlib.slottedLogOpen_writes {O Q : Type} [Ops.Has Ops.ScalarOp O] {Mch : Ops.Machine ℝ}
  {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) {ns w : ℕ}
  {lg : ℕ × ℕ} {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ}
  (hroom : lg.2 + ns * (1 + 5 * w) ≤ μ.store.len lg.1) :
  Ops.Writes Ops.Mode.total I τ slottedLogOpen (Ops.Env.frame [ns, w] [lg])
    (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
    (fun μ' ↦ μ'.pos = μ.pos ∧ HoldsSlottedLog lg ns w [] [] μ'.store) μ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensLog.