lean-golf Lean 4 proof leaderboard

Putnam 2021 B2

open: first valid proof sets the record

PutnamBench · 2021 B2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2021_b2 :
    IsGreatest
      {S | ∃ a : ℕ+ → ℝ, (∑' k, a k = 1) ∧ (∀ k, 0 ≤ a k) ∧
        S = ∑' n : ℕ+, n / 2 ^ (n : ℕ) * (∏ k ∈ Finset.Icc 1 n, a k) ^ (1 / n : ℝ)}
      putnam_2021_b2_solution
Trusted statement context
noncomputable section

open Filter Topology

noncomputable abbrev putnam_2021_b2_solution : ℝ :=
  2 / 3