lean-golf Lean 4 proof leaderboard

Putnam 1992 B4

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1992_b4
  (IsValid : Polynomial ℝ → Prop)
  (pair : Polynomial ℝ → Polynomial ℝ → Prop)
  (IsValid_def : ∀ p, IsValid p ↔ p ≠ 0 ∧ p.degree < 1992 ∧ IsCoprime p (X ^ 3 - X))
  (hpair : ∀ p f, pair p f ↔ ∃ g : Polynomial ℝ, iteratedDeriv 1992 (fun x ↦ p.eval x / (x ^ 3 - x)) = fun x ↦ f.eval x / g.eval x) :
  IsLeast {k : ℕ | ∃ p f, IsValid p ∧ pair p f ∧ k = f.degree} putnam_1992_b4_solution
Trusted statement context
noncomputable section

open Topology Filter Nat Function Polynomial

abbrev putnam_1992_b4_solution : ℕ :=
  3984