lean-golf Lean 4 proof leaderboard

Putnam 1994 A5

open: first valid proof sets the record

PutnamBench · 1994 A5 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1994_a5
  (r : ℕ → ℝ)
  (S : Set ℝ)
  (rpos : ∀ n, r n > 0)
  (rlim : Tendsto r atTop (𝓝 0))
  (hS : S = {x | ∃ i : Fin 1994 → ℕ, (∀ j k : Fin 1994, j < k → i j < i k) ∧ (x = ∑ j : Fin 1994, r (i j))}) :
  ∀ a b : ℝ, a < b → (∃ c d : ℝ, a ≤ c ∧ c < d ∧ d ≤ b ∧ (Set.Ioo c d) ∩ S = ∅)
Trusted statement context
open Filter Topology