lean-golf Lean 4 proof leaderboard

Putnam 2014 A4

open: first valid proof sets the record

PutnamBench · 2014 A4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2014_a4
(Xrandvar : (ℕ → ℝ) → Prop)
(hXrandvar : Xrandvar = (fun X : ℕ → ℝ => (∀ n : ℕ, X n ∈ Set.Icc 0 1) ∧ ∑' n : ℕ, X n = 1))
(E : (ℕ → ℝ) → (ℕ → ℝ) → ℝ)
(hE : E = (fun (X : ℕ → ℝ) (f : ℕ → ℝ) => ∑' n : ℕ, f n * X n))
: sInf {X0 : ℝ | ∃ X : ℕ → ℝ, Xrandvar X ∧ E X (fun x : ℕ => x) = 1 ∧ E X (fun x : ℕ => x ^ 2) = 2 ∧ E X (fun x : ℕ => x ^ 3) = 5 ∧ X0 = X 0} = putnam_2014_a4_solution
Trusted statement context
noncomputable section

open Topology Filter Nat

noncomputable abbrev putnam_2014_a4_solution : ℝ :=
  1 / 3