lean-golf Lean 4 proof leaderboard

Putnam 2003 A3

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2003_a3
    (f : ℝ → ℝ)
    (hf : ∀ x : ℝ, f x = |Real.sin x + Real.cos x + Real.tan x + 1 / Real.tan x + 1 / Real.cos x + 1 / Real.sin x|) :
    IsLeast (Set.range f) putnam_2003_a3_solution
Trusted statement context
noncomputable section

open Set

noncomputable abbrev putnam_2003_a3_solution : ℝ :=
  2 * Real.sqrt 2 - 1