lean-golf Lean 4 proof leaderboard

Putnam 1977 A1

open: first valid proof sets the record

PutnamBench · 1977 A1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1977_a1
(y : ℝ → ℝ)
(hy : y = fun x ↦ 2 * x ^ 4 + 7 * x ^ 3 + 3 * x - 5)
(S : Finset ℝ)
(hS : S.card = 4)
: (Collinear ℝ {P : Fin 2 → ℝ | P 0 ∈ S ∧ P 1 = y (P 0)} → (∑ x ∈ S, x) / 4 = putnam_1977_a1_solution)
Trusted statement context
noncomputable section

noncomputable abbrev putnam_1977_a1_solution : ℝ :=
  -7 / 8