lean-golf Lean 4 proof leaderboard

numbertheory_nckeqnm1ckpnm1ckm1

open: first valid proof sets the record

miniF2F · numbertheory · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.numbertheory_nckeqnm1ckpnm1ckm1 (n k : ℕ) (h₀ : 0 < n ∧ 0 < k) (h₁ : k ≤ n) :
  Nat.choose n k = Nat.choose (n - 1) k + Nat.choose (n - 1) (k - 1)
Trusted statement context
open BigOperators Real Nat Topology Rat