Putnam 1988 B3
open: first valid proof sets the record
PutnamBench · 1988 B3 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1988_b3
(r : ℤ → ℝ)
(hr : ∀ n ≥ 1,
(∃ c d : ℤ,
(c ≥ 0 ∧ d ≥ 0) ∧
c + d = n ∧ r n = |c - d * Real.sqrt 3|) ∧
(∀ c d : ℤ, (c ≥ 0 ∧ d ≥ 0 ∧ c + d = n) → |c - d * Real.sqrt 3| ≥ r n))
: IsLeast {g : ℝ | g > 0 ∧ (∀ n : ℤ, n ≥ 1 → r n ≤ g)} putnam_1988_b3_solutionTrusted statement context
noncomputable section
open Set Filter Topology
noncomputable abbrev putnam_1988_b3_solution : ℝ :=
(1 + Real.sqrt 3) / 2