English
Split an arrow between TypeVecs by forgetting the last coordinate: the map dropFun takes an arrow f : α ⟹ β to an arrow drop α ⟹ drop β on the prefixes.
Русский
Разделите стрелу между векторами типов, забывая последнюю координату: функция dropFun переводит стрелу f : α ⟹ β в стрелу drop α ⟹ drop β на префиксах.
LaTeX
$$$\mathrm{dropFun} : (\alpha \Rightarrow \beta) \to (\mathrm{drop}\alpha \Rightarrow \mathrm{drop}\beta)$$$
Lean4
/-- split off the prefix of an arrow -/
def dropFun {α β : TypeVec (n + 1)} (f : α ⟹ β) : drop α ⟹ drop β := fun i => f i.fs