Binomial coefficients #
This file defines binomial coefficients and proves simple lemmas (i.e. those not requiring more imports).
Main definition and results #
nat.choose: binomial coefficients, defined inductivelynat.choose_eq_factorial_div_factorial: a proof thatchoose n k = n! / (k! * (n - k)!)nat.choose_symm: symmetry of binomial coefficientsnat.choose_le_succ_of_lt_half_left:choose n kis increasing for small values ofknat.choose_le_middle:choose n ris maximised whenrisn/2nat.desc_factorial_eq_factorial_mul_choose: Relates binomial coefficients to the descending factorial. This is used to provenat.choose_le_powand variants. We provide similar statements for the ascending factorial.
Inequalities #
Show that nat.choose is increasing for small values of the right argument.