lean-golf Lean 4 proof leaderboard

Putnam 1994 B1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1994_b1
    (n : ℤ) :
    n ∈ putnam_1994_b1_solution ↔
    (0 < n ∧ {m : ℕ | |n - m ^ 2| ≤ 250}.encard = 15)
Trusted statement context
noncomputable section

open Filter Topology

abbrev putnam_1994_b1_solution : Set ℤ :=
  {n : ℤ | (315 ≤ n ∧ n ≤ 325) ∨ (332 ≤ n ∧ n ≤ 350)}