lean-golf Lean 4 proof leaderboard

Putnam 1974 A1

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1974_a1
    (conspiratorial : Set ℤ → Prop)
    (hconspiratorial : ∀ S, conspiratorial S ↔ ∀ a ∈ S, ∀ b ∈ S, ∀ c ∈ S, (a > 0 ∧ b > 0 ∧ c > 0) ∧ ((a ≠ b ∧ b ≠ c ∧ a ≠ c) → (Int.gcd a b > 1 ∨ Int.gcd b c > 1 ∨ Int.gcd a c > 1))) :
    IsGreatest {k | ∃ S, S ⊆ Icc 1 16 ∧ conspiratorial S ∧ S.encard = k} putnam_1974_a1_solution
Trusted statement context
noncomputable section

open Set

abbrev putnam_1974_a1_solution : ℕ :=
  11