Three binomial coefficient identities
ProvedProofsInTheBook.Chapter32.chapter32book-chapter-34combinatoricslean4proofs-from-the-book
For all natural numbers , the following binomial identities hold:
A binomial coefficient is zero when its lower argument exceeds its upper argument; the middle sum is empty when .
This declaration packages Vandermonde’s convolution, the hockey-stick identity, and the sum of a binomial row.
Preamble
import Mathlib open Nat Finset Polynomial
Formal statement
theorem ProofsInTheBook.Chapter32.chapter32 :
(∀ m n k : ℕ,
(m + n).choose k = ∑ ij ∈ antidiagonal k, m.choose ij.1 * n.choose ij.2) ∧
(∀ n k : ℕ, ∑ i ∈ Icc k n, i.choose k = (n + 1).choose (k + 1)) ∧
(∀ n : ℕ, ∑ k ∈ range (n + 1), n.choose k = 2 ^ n) := by sorrySource
Martin Aigner and Günter M. Ziegler, Proofs from THE BOOK, 6th edition, Springer, 2018, Chapter 34, “Identities versus bijections”, pp. 241–246 (https://doi.org/10.1007/978-3-662-57265-8_34). Formalization: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter32.lean#L75. The chapter reference identifies the topic; it does not claim the Lean development reproduces every argument of that chapter.