NLAlib.MGS.sweep_writes
Library ยท theorem
The sweep with the columns of Q given one by one, as the trees that run it hold them: the column loop of NLAlib.MGS.factorRoutine and the probe projection of Hutch++ keep their basis as a list of column facts. It is the judgment NLAlib.MGS.sweepRoutine_meets at the block of the first k columns.
NLAlib.MGS.sweep_writes {๐ Op Tst : Type} [RCLike ๐] [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] {I : Ops.Interp Op Tst ๐} {ฯ : Ops.Tape ๐} {m : Ops.Mem ๐}
(hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hB : Ops.RCLikeBlas.IsExact I) {n k : โ}
{q v r : โ ร โ} (Q : โ โ Fin n โ ๐) (w : Fin n โ ๐) (hl : m.Live [q, v, r])
(hQ : โ i < k, m.store.readBlock q.1 (q.2 + n * i) n = some (List.ofFn (Q i)))
(hv : m.store.readBlock v.1 v.2 n = some (List.ofFn w))
(hdis :
โ i < k,
(Ops.Store.inBlock r.1 r.2 1 โ Ops.Store.inBlock v.1 v.2 n).Disj
(Ops.Store.inBlock q.1 (q.2 + n * i) n))
(hrv : Ops.Fp.Disj (Ops.Store.inBlock r.1 r.2 1) (Ops.Store.inBlock v.1 v.2 n))
(hr : r.2 + 1 โค m.store.len r.1) (hz : v.2 + n โค m.store.len v.1) :
Ops.Writes Ops.Mode.total I ฯ MGS.sweep (Ops.Env.frame [n, k] [q, v, r])
(Ops.Store.inBlock r.1 r.2 1 โ Ops.Store.inBlock v.1 v.2 n)
(fun m' โฆ m'.pos = m.pos โง m'.store.readBlock v.1 v.2 n = some (List.ofFn (mgsSweep Q w k))) mImport NLAlib.Matrix.Factorizations.MGS.Sweep.