The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V02. Numbers

Mathlib.Data.Nat.Choose.Central

18 declarations and 1 deprecated aliases. Mathlib docs · Source

Central binomial coefficients

This file proves properties of the central binomial coefficients (that is, Nat.choose (2 * n) n).

Main definition and results

  • Nat.centralBinom: the central binomial coefficient, (2 * n).choose n.
  • Nat.succ_mul_centralBinom_succ: the inductive relationship between successive central binomial coefficients.
  • Nat.four_pow_lt_mul_centralBinom: an exponential lower bound on the central binomial coefficient.
  • succ_dvd_centralBinom: The result that n+1 ∣ n.centralBinom, ensuring that the explicit definition of the Catalan numbers is integer-valued.

def Nat.centralBinom E1 #

ℕ → ℕ

The central binomial coefficient, Nat.choose (2 * n) n.

theorem Nat.centralBinom_eq_two_mul_choose E1 #

∀ (n : ℕ), n.centralBinom = (2 * n).choose n

theorem Nat.centralBinom_pos E1 #

∀ (n : ℕ), 0 < n.centralBinom

theorem Nat.centralBinom_ne_zero E1 #

∀ (n : ℕ), n.centralBinom ≠ 0

theorem Nat.centralBinom_zero E0 #

Nat.centralBinom 0 = 1

theorem Nat.choose_le_centralBinom E1 #

∀ (r n : ℕ), (2 * n).choose r ≤ n.centralBinom

The central binomial coefficient is the largest binomial coefficient.

theorem Nat.centralBinom_strictMono E1 #

StrictMono Nat.centralBinom

theorem Nat.two_le_centralBinom E1 #

∀ (n : ℕ), 0 < n → 2 ≤ n.centralBinom

theorem Nat.centralBinom_le_four_pow E1 #

∀ (n : ℕ), n.centralBinom ≤ 4 ^ n

theorem Nat.centralBinom_lt_four_pow E1 #

∀ {n : ℕ}, n ≠ 0 → n.centralBinom < 4 ^ n

theorem Nat.succ_mul_centralBinom_succ E1 #

∀ (n : ℕ), (n + 1) * (n + 1).centralBinom = 2 * (2 * n + 1) * n.centralBinom

An inductive property of the central binomial coefficient.

theorem Nat.four_pow_lt_mul_centralBinom E1 #

∀ (n : ℕ), 4 ≤ n → 4 ^ n < n * n.centralBinom

An exponential lower bound on the central binomial coefficient. This bound is of interest because it appears in [Tochiori's refinement of Erdős's proof of Bertrand's postulate][tochiori_bertrand].

theorem Nat.four_pow_le_two_mul_self_mul_centralBinom E1 #

∀ (n : ℕ), 0 < n → 4 ^ n ≤ 2 * n * n.centralBinom

An exponential lower bound on the central binomial coefficient. This bound is weaker than Nat.four_pow_lt_mul_centralBinom, but it is of historical interest because it appears in Erdős's proof of Bertrand's postulate.

theorem Nat.four_pow_le_two_mul_add_one_mul_centralBinom E1 #

∀ (n : ℕ), 4 ^ n ≤ (2 * n + 1) * n.centralBinom

theorem Nat.four_pow_le_add_one_mul_choose E1 #

∀ (n : ℕ), 4 ^ n ≤ (n + 1) * (2 * n + 1).choose n

theorem Nat.two_dvd_centralBinom_succ E1 #

∀ (n : ℕ), 2 ∣ (n + 1).centralBinom

theorem Nat.two_dvd_centralBinom_of_one_le E1 #

∀ {n : ℕ}, 0 < n → 2 ∣ n.centralBinom

theorem Nat.succ_dvd_centralBinom E1 #

∀ (n : ℕ), n + 1 ∣ n.centralBinom

A crucial lemma to ensure that Catalan numbers can be defined via their explicit formula catalan n = n.centralBinom / (n + 1).

Deprecated aliases

NameNew nameSince
Nat.four_pow_le_two_mul_add_one_mul_central_binomNat.four_pow_le_two_mul_add_one_mul_centralBinom2026-09-13