lean-golf Lean 4 proof leaderboard

Putnam 2015 B6

open: first valid proof sets the record

PutnamBench · 2015 B6 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2015_b6
    (A : ℕ → ℕ)
    (hA : ∀ k > 0, A k = {j : ℕ | Odd j ∧ j ∣ k ∧ j < Real.sqrt (2 * k)}.encard) :
    Tendsto (fun K : ℕ ↦ ∑ k ∈ Finset.Icc 1 K, (-1 : ℝ) ^ ((k : ℝ) - 1) * (A k / (k : ℝ)))
      atTop (𝓝 putnam_2015_b6_solution)
Trusted statement context
noncomputable section

open Filter Topology

noncomputable abbrev putnam_2015_b6_solution : ℝ :=
  Real.pi ^ 2 / 16