NLAlib.Ops.ContextDense.impl
Library · def
The entry of a context table (NLAlib.Ops.ContextTable) for a product with a stored matrix: select context input index and the ordinary vector input, then execute the dense scalar leaf. The index is fixed syntax; out-of-range context selection cannot obtain a certificate.
It is an Impl, not built from a routine: its first count inputs are the context that NLAlib.Ops.Stmt.linkContext forwards to every call (the stored data of the linked program), not operands of the product, so it has no interface of its own; its contract is proved by the context linking lemmas (NLAlib.Ops.ContextLinear).
NLAlib.Ops.ContextDense.impl {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (count index : ℕ) :
Ops.Impl Op TstImport NLAlib.Ops.Profiles.ContextDense.