NLA-lib Explorer

NLAlib.Ops.isScalar_ofFns

Library · theorem

An interpretation given by the block functions of a machine on the scalar operations (and anything on the others) satisfies the functional contract.

NLAlib.Ops.isScalar_ofFns {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (M : Ops.Machine K)
  (F : Op → Ops.BlockFn K) (hF : ∀ (a : Ops.ScalarOp), F (Ops.Has.inj a) = M.fn a) :
  Ops.IsScalar M (Ops.Interp.ofFns F)

Full source on GitHub

Import NLAlib.Ops.Catalog.Scalar.