NLAlib.HutchPlusPlus.projectProbes_writes
Library ยท theorem
A batch of probes is reduced in place against the retained prefix. The exact footprint contains only the probe tail and scalar workspace, so the basis remains readable. A fragment of NLAlib.HutchPlusPlus.estimateRoutine: run only inside its tree, on its operands and the buffers it allocates.
NLAlib.HutchPlusPlus.projectProbes_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 ell : โ}
{b t : โ ร โ} (Q G : โ โ Fin n โ ๐) (hl : m.Live [b, t])
(hQ : โ i < k, m.store.readBlock b.1 (b.2 + n * i) n = some (List.ofFn (Q i)))
(hG : โ j < ell, m.store.readBlock b.1 (b.2 + n * (k + j)) n = some (List.ofFn (G j)))
(hTB : Ops.Fp.Disj (Ops.Store.inBlock t.1 t.2 2) (Ops.Store.inBlock b.1 b.2 ((k + ell) * n)))
(ht : t.2 + 2 โค m.store.len t.1) (hb : b.2 + (k + ell) * n โค m.store.len b.1) :
Ops.Writes Ops.Mode.total I ฯ HutchPlusPlus.projectProbes (Ops.Env.frame [n, k, ell] [b, t])
(Ops.Store.inBlock b.1 (b.2 + n * k) (ell * n) โ Ops.Store.inBlock t.1 t.2 2)
(fun m' โฆ
m'.pos = m.pos โง
โ j < ell,
m'.store.readBlock b.1 (b.2 + n * (k + j)) n = some (List.ofFn (mgsSweep Q (G j) k)))
mImport NLAlib.Estimation.Trace.HutchPlusPlus.Project.