lean-golf Lean 4 proof leaderboard

Putnam 2011 B2

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2011_b2
  (S : Set (Fin 3 → ℕ))
  (t : ℕ)
  (hS : S = {s : Fin 3 → ℕ | (s 0).Prime ∧ (s 1).Prime ∧ (s 2).Prime ∧ ∃ x : ℚ, (s 0) * x ^ 2 + (s 1) * x + (s 2) = 0}) :
  (t.Prime ∧ ({s ∈ S | ∃ i : Fin 3, s i = t}.encard ≥ 7))
  ↔ t ∈ putnam_2011_b2_solution
Trusted statement context
noncomputable section

open Topology Filter Matrix

abbrev putnam_2011_b2_solution : Set ℕ :=
  {2, 5}