lean_workbook_plus_13469
ProvedLet be the probability that F wins, starting from the beginning of the game. Let be the probability that F wins, given that tails has just been thrown, and let and be the probability that F wins, given that one or two heads have just been thrown, respectively. Then \n\begin{align*}f_0&=\tfrac12(f_T+f_H)\f_T&=\tfrac12(1+f_H)\f_H&=\tfrac12(f_T+f_{HH})\f_{HH}&=\tfrac12(f_T+0)\\end{align*} Thus by substitution from which we get .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_13469 (f₀ f₁ f₂ f₃ : ℚ) (h₀ : f₀ = (f₁ + f₂) / 2) (h₁ : f₁ = (1 + f₂) / 2) (h₂ : f₂ = (f₁ + f₃) / 2) (h₃ : f₃ = (f₁ + 0) / 2) : f₀ = 7 / 10 := by sorry
Source