NLAlib.Ops.ContextLinear.matvec_active
Library · theorem
The actual context-linked matvec meets its source local post on an isolated raw snapshot. All matrix arithmetic is performed by the declared scalar leaf.
NLAlib.Ops.ContextLinear.matvec_active {I : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ}
(hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (context : List (ℕ × ℕ)) (index : Fin context.length)
{n : ℕ} {C : ℕ → Prop} {reference : Ops.Store ℝ} (raw : List ℝ) (hc : ∀ z ∈ context, C z.1)
(hData : reference.readBlock context[index].1 context[index].2 (n * n) = some raw) {d : List ℕ}
{ins outs : List (ℕ × ℕ)} {τ : Ops.Tape ℝ} {mem : Ops.Mem ℝ}
(hs : Ops.Mem.Isolated C reference mem) (ho : ∀ z ∈ outs, ¬C z.1)
(hp :
(((Ops.ContextLinear.relation (Ops.StoredOperator.denseMatrix n n raw)
Ops.Standard.Operation.matvec).spec
(Ops.ContextLinear.admissible n Ops.Standard.Operation.matvec)).on
Ops.Mode.total d ins outs τ mem).pre
mem) :
Ops.Mode.total.Holds
((I.linkContext (Ops.ContextLinear.table context.length ↑index) context).callS
Ops.Standard.Operation.matvec d ins outs τ mem)
((((Ops.ContextLinear.relation (Ops.StoredOperator.denseMatrix n n raw)
Ops.Standard.Operation.matvec).spec
(Ops.ContextLinear.admissible n Ops.Standard.Operation.matvec)).on
Ops.Mode.total d ins outs τ mem).post
mem)Import NLAlib.Ops.Profiles.ContextLinearGuarded.