lean-golf Lean 4 proof leaderboard

Putnam 1969 B5

open: first valid proof sets the record

PutnamBench · 1969 B5 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1969_b5
(a : ℕ → ℝ)
(ha : StrictMono a ∧ (∀ x : ℕ, a x > 0))
(hinvasum : ∃ C : ℝ, Tendsto (fun n => ∑ i : Fin n, 1/(a i)) atTop (𝓝 C))
(k : ℝ → ℕ)
(hk : k = fun x => {n | a n ≤ x}.ncard)
: Tendsto (fun t => (k t)/t) atTop (𝓝 0)
Trusted statement context
open Matrix Filter Topology Set Nat