English
The representation function repr for the projection assigns to an element x in α_i a polynomial representation in Prj.P i α by embedding x into the polynomial shape and providing the rest of the structure via a dependent recursor.
Русский
Функция представления repr для проекции добавляет элемент x из α_i в полиномиальное представление Prj.P_i α и заполняет остальную структуру за счёт зависимого рекурсора.
LaTeX
$$$\\\\mathrm{repr}:\\\\ Prj_i\\\\alpha \\to (\\\\mathrm{Prj}.P_i\\\\alpha) \\\\; x \\\\mapsto \\\\langle x, \\\\text{rest}\\\\rangle.$$$
Lean4
/-- Representation function of the `QPF` instance -/
def repr ⦃α : TypeVec n⦄ : Prj i α → Prj.P i α := fun x : α i => ⟨⟨⟩, fun j ⟨⟨h⟩⟩ => (h.rec x : α j)⟩