Putnam 2013 B2
open: first valid proof sets the record
PutnamBench · 2013 B2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_2013_b2
(CN : ℕ → Set (ℝ → ℝ))
(hCN : ∀ N : ℕ, CN N =
{f : ℝ → ℝ |
(∀ x : ℝ, f x ≥ 0) ∧
∃ a : List ℝ, a.length = N + 1 ∧ (∀ n : Fin (N + 1), 3 ∣ (n : ℕ) → a[n]! = 0) ∧
∀ x : ℝ, f x = 1 + ∑ n ∈ Finset.Icc 1 N, a[(n : ℕ)]! * Real.cos (2*Real.pi*n*x)}) :
IsGreatest {f 0 | f ∈ ⋃ N ∈ Ici 1, CN N} putnam_2013_b2_solutionTrusted statement context
noncomputable section
open Function Set
abbrev putnam_2013_b2_solution : ℝ :=
3