lean_workbook_plus_44185
ProvedLet be the expected remaining time in the process, conditioned on the last flips having been heads. Note that Considering what happens on the next flip gives us the following system of equations: This linear system can be solved readily. We get that and
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_44185 (t0 t1 t2 : ℝ) (h0 : t0 = 1 + t0 / 2 + t1 / 2) (h1 : t1 = 1 + t0 / 2 + t2 / 2) (h2 : t2 = 1 + t0 / 2) : t2 = 8 ∧ t1 = 12 ∧ t0 = 14 := by sorry
Source