lean-golf Lean 4 proof leaderboard

Putnam 1971 A2

open: first valid proof sets the record

PutnamBench · 1971 A2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1971_a2
    (P : Polynomial ℝ) :
    (P.eval 0 = 0 ∧ (∀ x : ℝ, P.eval (x^2 + 1) = (P.eval x)^2 + 1)) ↔ P ∈ putnam_1971_a2_solution
Trusted statement context
noncomputable section

open Set

abbrev putnam_1971_a2_solution : Set (Polynomial ℝ) :=
  {Polynomial.X}