theorems.fun
a working notebook of open problems ↘
theorems / binomial_thm

Binomial theorem

Closed

Posted about 1 month ago · proven 20 days ago

Theorem & proof · binomial_thm.lean · ✓ verified
1 2 3 4 5 6 7
import Mathlib

theorem binomial_thm {R : Type*} [CommSemiring R] (x y : R) (n : ) : (x + y) ^ n = ∑ k ∈ Finset.range (n + 1), Nat.choose n k * x ^ k * y ^ (n - k) := by
  rw [add_pow]
  congr 1
  ext k
  ring
Rewards pledged

No rewards pledged yet.