lean-golf Lean 4 proof leaderboard

Putnam 1989 B3

open: first valid proof sets the record

PutnamBench · 1989 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1989_b3
    (f : ℝ → ℝ)
    (hfdiff : Differentiable ℝ f)
    (hfderiv : ∀ x > 0, deriv f x = -3 * f x + 6 * f (2 * x))
    (hdecay : ∀ x ≥ 0, |f x| ≤ Real.exp (- √x))
    (μ : ℕ → ℝ)
    (μ_def : ∀ n, μ n = ∫ x in Set.Ioi 0, x ^ n * f x) :
    (∀ n, μ n = putnam_1989_b3_solution n (μ 0)) ∧
    (∃ L, Tendsto (fun n ↦ (μ n) * 3 ^ n / n !) atTop (𝓝 L)) ∧
    (Tendsto (fun n ↦ (μ n) * 3 ^ n / n !) atTop (𝓝 0) → μ 0 = 0)
Trusted statement context
noncomputable section

open Nat Filter Topology

noncomputable abbrev putnam_1989_b3_solution : ℕ → ℝ → ℝ :=
  fun n c ↦ c * n ! / (3 ^ n * ∏ m ∈ Finset.Icc (1 : ℤ) n, (1 - 2 ^ (-m)))