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 k
is increasing for small values ofk
nat.choose_le_middle
:choose n r
is maximised whenr
isn/2
nat.desc_factorial_eq_factorial_mul_choose
: Relates binomial coefficients to the descending factorial. This is used to provenat.choose_le_pow
and variants. We provide similar statements for the ascending factorial.
Inequalities #
Show that nat.choose
is increasing for small values of the right argument.