Putnam 1989 B1
open: first valid proof sets the record
PutnamBench · 1989 B1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1989_b1
(square Scloser perimeter: Set (EuclideanSpace ℝ (Fin 2)))
(center : EuclideanSpace ℝ (Fin 2))
(square_def : square = {p | ∀ i : Fin 2, p i ∈ Set.Icc 0 1})
(perimeter_def : perimeter = {p ∈ square | p 0 = 0 ∨ p 0 = 1 ∨ p 1 = 0 ∨ p 1 = 1})
(center_def : center = WithLp.toLp 2 (fun i : Fin 2 => 1 / 2))
(hScloser : Scloser = {p ∈ square | ∀ q ∈ perimeter, dist p center < dist p q}) :
let (a, b, c, d) := putnam_1989_b1_solution;
b > 0 ∧ d > 0 ∧ (¬∃ n : ℤ, n^2 = b) ∧
(volume Scloser).toReal / (volume square).toReal = (a * Real.sqrt b + c) / dTrusted statement context
noncomputable section
open Nat MeasureTheory
abbrev putnam_1989_b1_solution : ℤ × ℤ × ℤ × ℤ :=
(4, 2, -5, 3)