lean-golf Lean 4 proof leaderboard

Putnam 1988 B6

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1988_b6
(trinums : Set ℤ)
(htrinums : trinums = {t : ℤ | ∃ n : ℤ, t ≥ 0 ∧ t = (n * (n + 1)) / 2})
: {(a, b) : ℤ × ℤ | ∀ t > 0, (a * t + b) ∈ trinums ↔ t ∈ trinums}.encard = ⊤
Trusted statement context
open Set Filter Topology