lean_workbook_plus_13963
ProvedLet be the expected number of points Alice gets with red and black cards. Remark that , and also for all . Now, for , we have where we define if is true and if is false for an assertion . Use this recursion a few times to get
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_13963 (f : ℕ → ℕ → ℝ) (h₀ : ∀ m, f m 0 = m) (h₁ : ∀ m, f 0 m = m) (h₂ : ∀ m, f m m = 1 / 2 + f m (m - 1)) (h₃ : ∀ m n, m ≠ n → f m n = n / (m + n) * (f m (n - 1) + if n > m then 1 else 0) + m / (m + n) * (f (m - 1) n + if m > n then 1 else 0)) : f 3 3 = 41 / 10 := by sorry
Source