NLAlib.Ops.ColumnProducts.step_writes
Library ยท theorem
A local contraction step writes the old accumulator plus the exact Hermitian product. The input vectors may overlap; the temporary cell must preserve the accumulator. Shared by the trees of NLAlib.reduceLastStep, NLAlib.hessenbergReduceLast, NLAlib.ShiftedQR.shiftedStep and 44 more.
NLAlib.Ops.ColumnProducts.step_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.Blas1Op Op] {๐ : Type} [RCLike ๐] {I : Ops.Interp Op Tst ๐} {ฯ : Ops.Tape ๐}
{m : Ops.Mem ๐} (hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hB : Ops.RCLikeBlas.IsExact I)
{n : โ} {x y t out : โ ร โ} (xs ys : List ๐) (a : ๐) (hl : m.Live [x, y, t, out])
(hX : m.store.readBlock x.1 x.2 n = some xs) (hY : m.store.readBlock y.1 y.2 n = some ys)
(hA : m.store.readBlock out.1 out.2 1 = some [a])
(hTX : Ops.Fp.Disj (Ops.Store.inBlock t.1 t.2 1) (Ops.Store.inBlock x.1 x.2 n))
(hTY : Ops.Fp.Disj (Ops.Store.inBlock t.1 t.2 1) (Ops.Store.inBlock y.1 y.2 n))
(hdis : Ops.Fp.Disj (Ops.Store.inBlock t.1 t.2 1) (Ops.Store.inBlock out.1 out.2 1))
(ht : t.2 + 1 โค m.store.len t.1) (ho : out.2 + 1 โค m.store.len out.1) :
Ops.Writes Ops.Mode.total I ฯ Ops.ColumnProducts.step (Ops.Env.frame [n] [x, y, t, out])
(Ops.Store.inBlock t.1 t.2 1 โ Ops.Store.inBlock out.1 out.2 1)
(fun m' โฆ
m'.pos = m.pos โง m'.store.readBlock out.1 out.2 1 = some [a + Ops.RCLikeBlas.dot n xs ys])
mImport NLAlib.Ops.Blas.ColumnProducts.