English
All FunLike objects are finite if the domain α and codomain γ are finite.
Русский
Все FunLike-подобные объекты конечно конечны, если и домен α, и кодом γ конечны.
LaTeX
$$$[Finite\ α] [Finite\ γ] \Rightarrow Finite\ G$$$
Lean4
/-- All `FunLike`s are finite if their domain and codomain are.
Non-dependent version of `DFunLike.fintype` that might be easier to infer.
This is not an instance because specific `FunLike` types might have a better-suited definition.
-/
noncomputable def fintype [DecidableEq α] [Fintype α] [Fintype γ] : Fintype G :=
DFunLike.fintype G