Product_Rule_for_Counting
Provedcombinatoricscountingproofwiki
If there are m ways to choose from S and n ways to choose from T, then there are m*n ways to choose an ordered pair.
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.Finset.Basic
Formal statement
import Mathlib.Analysis.Complex.Basic
import Mathlib.Data.Finset.Basic
theorem Product_Rule_for_Counting {α β : Type _} [DecidableEq α] [DecidableEq β] (S : Finset α) (T : Finset β) : (S ×ˢ T).card = S.card * T.card := by sorrySource