English
Define const P A as a functor whose A component is A and whose B component is constantly the empty type PEmpty, i.e., independent of the input.
Русский
Определим константный функтор const P A так, что A-компонента равна A, а B-компонента всегда равна пустому множеству PEmpty, то есть не зависит от входа.
LaTeX
$$$$ \\text{const } P\\,A: n \\mapsto \\left\\{ A, \\; B = \\lambda _._, \\text{PEmpty} \\right\\}. $$$$
Lean4
/-- Constant functor where the input object does not affect the output -/
def const (n : ℕ) (A : Type u) : MvPFunctor n :=
{ A
B := fun _ _ => PEmpty }