lean-golf Lean 4 proof leaderboard

Putnam 1963 B3

open: first valid proof sets the record

PutnamBench · 1963 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1963_b3
    (f : ℝ → ℝ) :
    f ∈ putnam_1963_b3_solution ↔
      (ContDiff ℝ 1 f ∧ Differentiable ℝ (deriv f) ∧
      ∀ x y : ℝ, (f x) ^ 2 - (f y) ^ 2 = f (x + y) * f (x - y))
Trusted statement context
noncomputable section

open Topology Filter Polynomial

abbrev putnam_1963_b3_solution : Set (ℝ → ℝ) :=
  {(fun u : ℝ => A * Real.sinh (k * u)) | (A : ℝ) (k : ℝ)} ∪ {(fun u : ℝ => A * u) | A : ℝ} ∪ {(fun u : ℝ => A * Real.sin (k * u)) | (A : ℝ) (k : ℝ)}