lean-golf Lean 4 proof leaderboard

Putnam 2004 B6

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2004_b6
  (A B : Set ℕ)
  (N : ℝ → ℕ)
  (b : ℕ → ℕ)
  (Anempty : A.Nonempty)
  (Apos : ∀ a ∈ A, a > 0)
  (hN : ∀ x : ℝ, N x = Set.encard {a : A | a ≤ x})
  (hB : B = {b' > 0 | ∃ a ∈ A, ∃ a' ∈ A, b' = a - a'})
  (hbB : Set.range b = B ∧ ∀ i : ℕ, b i < b (i + 1)) :
  (∀ r : ℕ, ∃ i : ℕ, (b (i + 1) - b i) ≥ r) → Tendsto (fun x => N x / x) atTop (𝓝 0)
Trusted statement context
open Nat Topology Filter