lean-golf Lean 4 proof leaderboard

Putnam 1977 B6

open: first valid proof sets the record

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

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1977_b6
{G : Type*}
[Group G]
(H : Subgroup G)
[Finite H]
(h : ℕ)
(h_def : h = Nat.card H)
(a : G)
(ha : ∀ x : H, (x*a)^3 = 1)
(P : Set G)
(hP : P = {g : G | ∃ xs : List H, (xs.length ≥ 1) ∧ g = (List.map (fun h : H => h*a) xs).prod})
: (Finite P) ∧ (P.ncard ≤ 3*h^2)
Trusted statement context
open RingHom Set Nat Filter Topology