lean-golf Lean 4 proof leaderboard

Putnam 2002 A1

open: first valid proof sets the record

PutnamBench · 2002 A1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2002_a1
(k : ℕ)
(P : ℕ → Polynomial ℝ)
(kpos : k > 0)
(Pderiv : ∀ n x, iteratedDeriv n (fun x' : ℝ => 1 / (x' ^ k - 1)) x = ((P n).eval x) / ((x ^ k - 1) ^ (n + 1)))
: ∀ n, (P n).eval 1 = putnam_2002_a1_solution k n
Trusted statement context
noncomputable section

open Nat

abbrev putnam_2002_a1_solution : ℕ → ℕ → ℝ :=
  (fun k n : ℕ => (-k) ^ n * (n)!)