Putnam 1987 B6
open: first valid proof sets the record
PutnamBench · 1987 B6 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).
Statement
import Mathlib
theorem LeanGolf.putnambench.putnam_1987_b6
(p : ℕ)
(F : Type*) [Field F] [Fintype F]
(S : Set F)
(hp : Odd p ∧ Nat.Prime p)
(Fcard : Fintype.card F = p ^ 2)
(Snz : ∀ x ∈ S, x ≠ 0)
(Scard : S.ncard = ((p : ℤ) ^ 2 - 1) / 2)
(hS : ∀ a : F, a ≠ 0 → Xor' (a ∈ S) (-a ∈ S)) :
(Even ((S ∩ {x | ∃ a ∈ S, x = 2 * a}).ncard))Trusted statement context
open MvPolynomial Real Nat Filter Topology