NLAlib.slottedLogOpen_writes_of_lit_zero
Library · theorem
Opening a log stores the empty log, on any scalar machine whose literal 0 is exact. Shared by the trees of NLAlib.hessenbergReduceQ, NLAlib.ShiftedQR.roundedDecoupleLoopWith, NLAlib.ShiftedQR.roundedDecoupleWith and 3 more.
NLAlib.slottedLogOpen_writes_of_lit_zero {O Q : Type} [Ops.Has Ops.ScalarOp O] {Mch : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar Mch I) (h0 : Mch.lit 0 = 0) {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) μImport NLAlib.Matrix.FinitePrecision.GivensLogClose.