lean-golf Lean 4 proof leaderboard

Putnam 1972 B4

open: first valid proof sets the record

PutnamBench · 1972 B4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1972_b4
(n : ℕ)
(hn : n > 1)
(vars : ℤ → ℤ → ℤ → (Fin 3 → ℤ))
(hvars : vars = fun a b c ↦ fun i ↦ ite (i = 0) a (ite (i = 1) b c))
: ∃ P : MvPolynomial (Fin 3) ℤ, ∀ x : ℤ, x = MvPolynomial.eval (vars (x^n) (x^(n+1)) (x + x^(n+2))) P
Trusted statement context
open EuclideanGeometry Filter Topology Set MeasureTheory Metric