NLAlib.givensReplayColumns_writes_word
Library · theorem
The words of a column replay: as NLAlib.givensReplayRows_writes_word, on the rows i_0, \dots, i_0 + n_r - 1, the replay stores the left fold of NLAlib.replayColumnStep. Shared by the trees of NLAlib.hessenbergReduceQ, NLAlib.ShiftedQR.roundedAbort, NLAlib.ShiftedQR.roundedDecoupleUpdate and 1 more.
NLAlib.givensReplayColumns_writes_word {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.CmpTst Q]
[Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar Mch I)
(hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I) {N lo i0 nr ns w : ℕ} (hi : i0 + nr ≤ N)
{L : List (Option (List GivensEntry))} {P : List GivensEntry}
(hrow : ∀ e ∈ slotEntries w L, lo + e.1 + 1 < N) {lg x : ℕ × ℕ} {X : Matrix (Fin N) (Fin N) ℂ}
{τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} (hlog : HoldsSlottedLog lg ns w L P μ.store)
(hlen : L.length = ns) (hX : HoldsMatrix x X μ.store) (hl : μ.Live [lg, x])
(hd :
Ops.Fp.Disj (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
(Ops.Store.inBlock x.1 x.2 (2 * (N * N)))) :
Ops.Writes Ops.Mode.total I τ givensReplayColumns
(Ops.Env.frame [N, lo, i0, nr, ns, w] [lg, x, x]) (Ops.Store.inBlock x.1 x.2 (2 * (N * N)))
(fun μ' ↦
μ'.pos = μ.pos ∧
HoldsMatrix x (List.foldl (replayColumnStep Mch lo i0 nr) X (slotEntries w L)) μ'.store)
μImport NLAlib.Matrix.FinitePrecision.GivensReplay.