NLAlib.Ops.ContextDenseRounded.source_wp_fn_of_ne
Library · theorem
Functional refinement of the isolated dense leaf. The function is the actual scalar word recurrence, and its operands retain the matrix product's separate-output admission. A step in the proof of NLAlib.Ops.ContextDenseRounded.callS_source_fn_of_ne.
NLAlib.Ops.ContextDenseRounded.source_wp_fn_of_ne {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
{I : Ops.Interp Op Tst ℝ} {tape : Ops.Tape ℝ} {mem : Ops.Mem ℝ} {M : Ops.Machine ℝ}
(hS : Ops.IsScalar M I) (context : List (ℕ × ℕ)) (index : Fin context.length) {n : ℕ}
(raw : List ℝ) (hLive : mem.Live context)
(hData : mem.store.readBlock context[index].1 context[index].2 (n * n) = some raw) {d : List ℕ}
{ins outs : List (ℕ × ℕ)} (hOut : ∀ z ∈ outs, z.1 ≠ context[index].1)
(hp :
(((Ops.matvecFn (Ops.ContextDenseRounded.wordKernel M n raw)).rel.spec
(Ops.MatvecOperands n n)).on
Ops.Mode.total d ins outs tape mem).pre
mem) :
Ops.Wp Ops.Mode.total I tape (Ops.ContextDense.impl context.length ↑index).body
(Ops.Env.frame d (context ++ ins ++ outs))
((((Ops.matvecFn (Ops.ContextDenseRounded.wordKernel M n raw)).rel.spec
(Ops.MatvecOperands n n)).on
Ops.Mode.total d ins outs tape mem).post
mem)
memImport NLAlib.Ops.Profiles.ContextLinearRoundedGuarded.