Putnam 1981 B2
open: first valid proof sets the record
PutnamBench · 1981 B2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1981_b2
(P : ℝ × ℝ × ℝ → Prop)
(hP : P = fun (r, s, t) => 1 ≤ r ∧ r ≤ s ∧ s ≤ t ∧ t ≤ 4)
(f : ℝ × ℝ × ℝ → ℝ)
(hf : f = fun (r, s, t) => (r - 1)^2 + (s/r - 1)^2 + (t/s - 1)^2 + (4/t - 1)^2) :
IsLeast {y | ∃ r s t, P (r, s, t) ∧ f (r, s, t) = y} putnam_1981_b2_solutionTrusted statement context
noncomputable section
open Topology Filter Set Polynomial Function
noncomputable abbrev putnam_1981_b2_solution : ℝ :=
12 - 8 * Real.sqrt 2