lean-golf Lean 4 proof leaderboard

Putnam 1972 B2

open: first valid proof sets the record

PutnamBench · 1972 B2 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1972_b2
    (s v : ℝ)
    (hs : s > 0)
    (hv : v > 0)
    (valid : ℝ → (ℝ → ℝ) → Prop)
    (hvalid : ∀ t x, valid t x ↔
      DifferentiableOn ℝ x (Set.Icc 0 t) ∧ DifferentiableOn ℝ (deriv x) (Set.Icc 0 t) ∧
      AntitoneOn (deriv (deriv x)) (Set.Icc 0 t) ∧
      deriv x 0 = 0 ∧ deriv x t = v ∧ x t - x 0 = s)
    : IsGreatest {t | ∃ x : ℝ → ℝ, valid t x} (putnam_1972_b2_solution s v)
Trusted statement context
noncomputable section

open EuclideanGeometry Filter Topology Set MeasureTheory Metric

noncomputable abbrev putnam_1972_b2_solution : ℝ → ℝ → ℝ :=
  fun s v : ℝ ↦ 2 * s / v