lean-golf Lean 4 proof leaderboard

Putnam 2005 B1

open: first valid proof sets the record

PutnamBench · 2005 B1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2005_b1
: putnam_2005_b1_solution ≠ 0 ∧ ∀ a : ℝ, MvPolynomial.eval (fun n : Fin 2 => if (n = 0) then (Int.floor a : ℝ) else (Int.floor (2 * a))) putnam_2005_b1_solution = 0
Trusted statement context
noncomputable section

open Nat Set

noncomputable abbrev putnam_2005_b1_solution : MvPolynomial (Fin 2) ℝ :=
  (MvPolynomial.X 1 - 2 * MvPolynomial.X 0) * (MvPolynomial.X 1 - 2 * MvPolynomial.X 0 - 1)