lean-golf Lean 4 proof leaderboard

Putnam 1972 A3

open: first valid proof sets the record

PutnamBench · 1972 A3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1972_a3
    (climit_exists : (ℕ → ℝ) → Prop)
    (supercontinuous : (ℝ → ℝ) → Prop)
    (hclimit_exists : ∀ x, climit_exists x ↔ ∃ C : ℝ, Tendsto (fun n => (∑ i ∈ Finset.range n, (x i))/(n : ℝ)) atTop (𝓝 C))
    (hsupercontinuous : ∀ f, supercontinuous f ↔ ∀ (x : ℕ → ℝ), (∀ i : ℕ, x i ∈ Icc 0 1) → climit_exists x → climit_exists (fun i => f (x i))) :
    {f | supercontinuous f} = putnam_1972_a3_solution
Trusted statement context
noncomputable section

open EuclideanGeometry Filter Topology Set

abbrev putnam_1972_a3_solution : Set (ℝ → ℝ) :=
  {f | ∃ A B : ℝ, ∀ x ∈ Set.Icc 0 1, f x = A * x + B}