NLA-lib Explorer

NLAlib.Ops.scalarBroadcastRoutine_meets

Library · theorem

The broadcast loop with its output apart meets its specification, for an operation that is the total function f.

NLAlib.Ops.scalarBroadcastRoutine_meets {K Op Tst : Type} [Inhabited K] {o : Op} {f : K → K → K}
  {I : Ops.Interp Op Tst K}
  (hI : I.IsFn Ops.Mode.total o (Ops.BlockFn.bin fun x y ↦ some (f x y)) Ops.AnyOperands) :
  (Ops.scalarBroadcastRoutine o).Meets I (Ops.scalarBroadcastSpec f)

Full source on GitHub

Import NLAlib.Ops.Blas.Broadcast.