lean-golf Lean 4 proof leaderboard

Putnam 1979 A1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1979_a1
    (P : Multiset ℕ → Prop)
    (hP : ∀ a, P a ↔ Multiset.card a > 0 ∧ (∀ i ∈ a, i > 0) ∧ a.sum = 1979) :
    P putnam_1979_a1_solution ∧ ∀ a : Multiset ℕ, P a → putnam_1979_a1_solution.prod ≥ a.prod
Trusted statement context
noncomputable section

abbrev putnam_1979_a1_solution : Multiset ℕ :=
  Multiset.replicate 659 3 + {2}