lean-golf Lean 4 proof leaderboard

Putnam 1990 B1

open: first valid proof sets the record

PutnamBench · 1990 B1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1990_b1
    (P : (ℝ → ℝ) → Prop)
    (P_def : ∀ f, P f ↔ ∀ x,
      (f x) ^ 2 = (∫ t in (0 : ℝ)..x, (f t) ^ 2 + (deriv f t) ^ 2) + 1990)
    (f : ℝ → ℝ) :
    (ContDiff ℝ 1 f ∧ P f) ↔ f ∈ putnam_1990_b1_solution
Trusted statement context
noncomputable section

open Filter Topology Nat

abbrev putnam_1990_b1_solution : Set (ℝ → ℝ) :=
  {fun x : ℝ => (Real.sqrt 1990) * Real.exp x, fun x : ℝ => -(Real.sqrt 1990) * Real.exp x}