lean-golf Lean 4 proof leaderboard

Putnam 1989 A2

open: first valid proof sets the record

PutnamBench · 1989 A2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1989_a2
(a b : ℝ)
(abpos : a > 0 ∧ b > 0)
: ∫ x in Set.Ioo 0 a, ∫ y in Set.Ioo 0 b, Real.exp (max (b ^ 2 * x ^ 2) (a ^ 2 * y ^ 2)) = putnam_1989_a2_solution a b
Trusted statement context
noncomputable section

noncomputable abbrev putnam_1989_a2_solution : ℝ → ℝ → ℝ :=
  (fun a b : ℝ => (Real.exp (a ^ 2 * b ^ 2) - 1) / (a * b))