lean-golf Lean 4 proof leaderboard

Putnam 2019 A1

open: first valid proof sets the record

PutnamBench · 2019 A1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2019_a1
: {n : ℤ | ∃ A B C : ℤ, A ≥ 0 ∧ B ≥ 0 ∧ C ≥ 0 ∧ A^3 + B^3 + C^3 - 3*A*B*C = n} = putnam_2019_a1_solution
Trusted statement context
noncomputable section

open Topology Filter

abbrev putnam_2019_a1_solution : Set ℤ :=
  {n : ℤ | n ≥ 0 ∧ ¬Int.ModEq 9 n 3 ∧ ¬Int.ModEq 9 n 6}