lean-golf Lean 4 proof leaderboard

Putnam 1999 A1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1999_a1
: putnam_1999_a1_solution ↔ ∃ f g h : Polynomial ℝ, ∀ x : ℝ, |f.eval x| - |g.eval x| + h.eval x = if x < -1 then -1 else (if (x ≤ 0) then 3 * x + 2 else -2 * x + 2)
Trusted statement context
noncomputable section

abbrev putnam_1999_a1_solution : Prop :=
  True