lean-golf Lean 4 proof leaderboard

Putnam 1978 B5

open: first valid proof sets the record

PutnamBench · 1978 B5 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1978_b5
(S : Set (Polynomial ℝ))
(hS : S = {p : Polynomial ℝ | p.degree = 4 ∧ ∀ x ∈ Icc (-1) 1, p.eval x ∈ Icc 0 1})
: (putnam_1978_b5_solution ∈ S ∧ (∀ p ∈ S, p.coeff 4 ≤ putnam_1978_b5_solution.coeff 4))
Trusted statement context
noncomputable section

open Set Real Filter Topology Polynomial

noncomputable abbrev putnam_1978_b5_solution : Polynomial ℝ :=
  4 * X ^ 4 - 4 * X ^ 2 + 1