lean-golf Lean 4 proof leaderboard

Putnam 1973 A3

open: first valid proof sets the record

PutnamBench · 1973 A3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1973_a3
(b : ℤ → ℝ)
(hb : b = fun (n : ℤ) => sInf {k + (n : ℝ)/(k : ℝ) | k > (0 : ℤ)})
: ∀ n : ℤ, n > 0 → floor (b n) = floor (Real.sqrt (4 * n + 1))
Trusted statement context
open Nat Set MeasureTheory Topology Filter