English
Define the nth remainder function as the choice given by nth_mul_coeff; this remainder captures the part of the nth coefficient independent of the (n+1)st inputs.
Русский
Определяемое через выбор nth_mul_coeff, remainder n описывает часть n-го коэффициента, не зависящую от входных (n+1)-й коэффициентов.
LaTeX
$$"nthRemainder"(n) = the chosen remainder function corresponding to the nth coefficient$$
Lean4
/-- Produces the "remainder function" of the `n+1`st coefficient, which does not depend on the `n+1`st
coefficients of the inputs. -/
def nthRemainder (n : ℕ) : (Fin (n + 1) → k) → (Fin (n + 1) → k) → k :=
Classical.choose (nth_mul_coeff p k n)