English
In the category of 0-length vectors, there is a unique arrow between any two objects; nilFun selects this unique arrow between α and β.
Русский
В категориях нулевых длин векторов существует единственная стрелa между любыми двумя объектами; nilFun выбирает эту единственную стрелу между α и β.
LaTeX
$$$\mathrm{nilFun} : (\alpha:\mathrm{TypeVec}0) \to (\beta:\mathrm{TypeVec}0) \to (\alpha \Rightarrow \beta)$$$
Lean4
/-- arrow in the category of `0-length` vectors -/
def nilFun {α : TypeVec 0} {β : TypeVec 0} : α ⟹ β := fun i => by apply Fin2.elim0 i