lean-golf Lean 4 proof leaderboard

Putnam 1999 B2

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1999_b2
  (P Q : Polynomial ℂ)
  (hQ : Q.natDegree = 2)
  (hP : ∀ x : ℂ, P.eval x = (Q.eval x) * (Polynomial.derivative^[2] P).eval x) :
  (∃ x1 x2, x1 ≠ x2 ∧ P.eval x1 = 0 ∧ P.eval x2 = 0) →
  (∃ f : Fin (P.natDegree) → ℂ,
    (∀ i j, i ≠ j → f i ≠ f j) ∧
    (∀ i, P.eval (f i) = 0))
Trusted statement context
open Filter Topology Metric