lean-golf Lean 4 proof leaderboard

Herstein · exercise 2 3 16

open: first valid proof sets the record

ProofNet · Herstein · Apache-2.0
ProofNet-Verified contributors (One An, Marcus J. Min et al.).

Statement

import Mathlib
theorem LeanGolf.proofnet.herstein_exercise_2_3_16
    {G : Type*} [Group G]
    (hG : ∀ H : Subgroup G, H = ⊤ ∨ H = ⊥)
    (h_nontrivial : ∃ g : G, g ≠ (1 : G)) :
    IsCyclic G ∧ ∃ p : ℕ, Nat.Prime p ∧ Nat.card G = p
Trusted statement context
open Fintype Set Real Ideal Polynomial Subgroup
open scoped BigOperators