lean_workbook_plus_56500
ProvedThe number of ways of getting exactly 2 heads from tossing 4 coins is . There are total possibilities, so the probability is .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_56500 : ((Nat.choose 4 2) : ℚ) / (2^4) = 3 / 8 := by sorry
Source