lean-golf Lean 4 proof leaderboard

Putnam 1982 B3

open: first valid proof sets the record

PutnamBench · 1982 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1982_b3
(p : ℕ → ℝ)
(hp : p = fun n : ℕ => ({(c, d) : Finset.Icc 1 n × Finset.Icc 1 n | ∃ m : ℕ, m^2 = c + d}.ncard : ℝ) / n^2)
: Tendsto (fun n : ℕ => p n * Real.sqrt n) atTop (𝓝 putnam_1982_b3_solution)
Trusted statement context
noncomputable section

open Set Function Filter Topology Polynomial Real

noncomputable abbrev putnam_1982_b3_solution : ℝ :=
  4/3 * (Real.sqrt 2 - 1)