NLA-lib Explorer

NLAlib.Ops.Slot.buffer_derivedOfLength

Library · theorem

At an input whose words have the length of the slot, the buffer holds those words.

NLAlib.Ops.Slot.buffer_derivedOfLength {K In : Type} [Inhabited K] {len : ℕ} {f : In → List K}
  {x : In} (h : (f x).length = len) :
  (Ops.Slot.derivedOfLength len f).buffer x = List.map some (f x)

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.