NLA-lib Explorer

NLAlib.Ops.Routine.withData_lens

Library · theorem

The lengths of the operands of the routine on data.

NLAlib.Ops.Routine.withData_lens {Op Lo Tst : Type} {R : Ops.Routine Op Tst}
  {lens : List (List ℕ → ℕ)} {T : Ops.ContextTable Op Lo Tst} (d : List ℕ) :
  (R.withData lens T).lens d = List.map (fun x ↦ x d) lens ++ R.lens d

Full source on GitHub

Import NLAlib.Ops.RoutineData.