Cardinality_of_Set_of_Subsets
Provedcardinality-of-set-of-subsetscombinationscombinatoricsproofwiki
Let be a set such that . Let . Then the number of subsets of such that is
Preamble
import Mathlib.Data.Nat.Choose.Basic import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Cardinality_of_Set_of_Subsets (n m : ℕ) (hmn : m ≤ n) : Nat.choose n m = Nat.factorial n / (Nat.factorial m * Nat.factorial (n - m)) := by sorry
Source