lean-golf Lean 4 proof leaderboard

Putnam 2012 B1

open: first valid proof sets the record

PutnamBench · 2012 B1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2012_b1
(S : Set (Set.Ici (0 : ℝ) → ℝ))
(rngS : ∀ f ∈ S, ∀ x : Set.Ici (0 : ℝ), f x ∈ Set.Ici (0 : ℝ))
(f1 : Set.Ici (0 : ℝ) → ℝ)
(hf1 : f1 = fun (x : Set.Ici (0 : ℝ)) ↦ exp x - 1)
(f2 : Set.Ici (0 : ℝ) → ℝ)
(hf2 : f2 = fun (x : Set.Ici (0 : ℝ)) ↦ Real.log (x + 1))
(hf1mem : f1 ∈ S)
(hf2mem : f2 ∈ S)
(hsum : ∀ f ∈ S, ∀ g ∈ S, (fun x ↦ (f x) + (g x)) ∈ S)
(hcomp : ∀ f ∈ S, ∀ g ∈ S, ∀ gnneg : Set.Ici (0 : ℝ) → Set.Ici (0 : ℝ), ((∀ x : Set.Ici (0 : ℝ), g x = gnneg x) → (fun x ↦ f (gnneg x)) ∈ S))
(hdiff : ∀ f ∈ S, ∀ g ∈ S, (∀ x : Set.Ici (0 : ℝ), f x ≥ g x) → (fun x ↦ (f x) - (g x)) ∈ S)
: (∀ f ∈ S, ∀ g ∈ S, (fun x ↦ (f x) * (g x)) ∈ S)
Trusted statement context
open Matrix Function Real