NLA-lib Explorer

NLAlib.Ops.IsScalarAt

Library · def

The functional contract of scalar arithmetic at the tag π: every scalar operation at the tag is the function of the machine M, on all operands.

NLAlib.Ops.IsScalarAt {K Op Tst : Type} («π» : Type) [Ops.Has (Ops.Tagged «π» Ops.ScalarOp) Op]
  (M : Ops.Machine K) (I : Ops.Interp Op Tst K) : Prop

Full source on GitHub

Import NLAlib.Ops.Catalog.Tagged.