lean-golf Lean 4 proof leaderboard

Putnam 2013 B1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2013_b1
(c : ℕ → ℤ)
(hc1 : c 1 = 1)
(hceven : ∀ n : ℕ, n > 0 → c (2 * n) = c n)
(hcodd : ∀ n : ℕ, n > 0 → c (2 * n + 1) = (-1) ^ n * c n)
: (∑ n : Set.Icc 1 2013, c n * c (n.1 + 2)) = putnam_2013_b1_solution
Trusted statement context
noncomputable section

open Function Set

abbrev putnam_2013_b1_solution : ℤ :=
  -1