lean-golf Lean 4 proof leaderboard

Putnam 1999 A3

open: first valid proof sets the record

PutnamBench · 1999 A3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1999_a3
    (f : ℝ → ℝ)
    (hf : f = fun x ↦ 1 / (1 - 2 * x - x ^ 2))
    (a : ℕ → ℝ)
    (hf' : ∀ᶠ x in 𝓝 0, Tendsto (fun N : ℕ ↦ ∑ n ∈ Finset.range N, (a n) * x ^ n) atTop (𝓝 (f x)))
    (n : ℕ) :
    ∃ m : ℕ, (a n) ^ 2 + (a (n + 1)) ^ 2 = a m
Trusted statement context
open Filter Topology Metric