Cast of binomial coefficients #
This file allows calculating the binomial coefficient a.choose b
as an element of a division ring
of characteristic 0
.
theorem
Nat.cast_choose_eq_ascPochhammer_div
(K : Type u_1)
[DivisionRing K]
[CharZero K]
(a b : ℕ)
:
↑(a.choose b) = Polynomial.eval (↑(a - (b - 1))) (ascPochhammer K b) / ↑b.factorial