lean-golf Lean 4 proof leaderboard

Putnam 1985 A6

open: first valid proof sets the record

PutnamBench · 1985 A6 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1985_a6
  (Γ : Polynomial ℝ → ℝ)
  (f : Polynomial ℝ)
  (hΓ : Γ = fun p ↦ ∑ k ∈ Finset.range (p.natDegree + 1), coeff p k ^ 2)
  (hf : f = 3 * X ^ 2 + 7 * X + 2) :
  let g := putnam_1985_a6_solution;
  g.eval 0 = 1 ∧ ∀ n : ℕ, n ≥ 1 → Γ (f ^ n) = Γ (g ^ n)
Trusted statement context
noncomputable section

open Set Filter Topology Real Polynomial

noncomputable abbrev putnam_1985_a6_solution : Polynomial ℝ :=
  6 * X ^ 2 + 5 * X + 1