lean_workbook_plus_4042
ProvedIf you chose the fair coin, the probability of getting HTHTH is . If you choose the unfair coin, the probability of getting HTHTH is . The probability that you chose the unfair die is
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_4042 : (3 / 4)^3 * (1 / 4)^2 / (2^5 / 4^5 + 3 / 4 * (1 / 4)^2 * (3 / 4)^3) = 27 / 59 := by sorry
Source