Binomial coefficients
This file contains a definition of binomial coefficients and simple lemmas (i.e. those not requiring more imports).
Main definition and results
nat.choose
: binomial coefficients, defined inductivelynat.choose_eq_fact_div_fact
: a proof thatchoose n k = fact n / (fact k * fact (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
Inequalities
Show that nat.choose
is increasing for small values of the right argument.