NLA-lib Explorer

NLAlib.Ops.Routine.sel_map

Library · theorem

Selecting operands commutes with a map of the aligned list.

NLAlib.Ops.Routine.sel_map {Op Tst α β : Type} (R : Ops.Routine Op Tst) (p : Ops.Access → Bool)
  (f : α → β) (xs : List α) : R.sel p (List.map f xs) = List.map f (R.sel p xs)

Full source on GitHub

Import NLAlib.Ops.Routine.