Putnam 1989 B6
open: first valid proof sets the record
PutnamBench · 1989 B6 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1989_b6
(n : ℕ) [NeZero n]
(I : (Fin n → ℝ) → Fin (n + 2) → ℝ)
(I_def : ∀ x, I x = Fin.cons 0 (Fin.snoc x 1))
(X : Set (Fin n → ℝ))
(X_def : ∀ x, x ∈ X ↔ 0 < x 0 ∧ x (-1) < 1 ∧ StrictMono x)
(S : (ℝ → ℝ) → (Fin (n + 2) → ℝ) → ℝ)
(S_def : ∀ f x, S f x = ∑ i : Fin n.succ, (x i.succ - x i.castSucc) * f (x i.succ)) :
∃ P : Polynomial ℝ,
P.degree = n ∧
(∀ t ∈ Icc 0 1, P.eval t ∈ Icc 0 1) ∧
(∀ f : ℝ → ℝ, f 1 = 0 → ContinuousOn f (Icc 0 1) →
∫ x, S f (I x) ∂ℙ[|X] = ∫ t in (0)..1, f t * P.eval t)Trusted statement context
open Nat Filter Topology Set ProbabilityTheory