lean-golf Lean 4 proof leaderboard

Herstein · exercise 4 2 9

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_4_2_9 {p : ℕ} (hp : Nat.Prime p) (hp1 : Odd p) :
  ∀ (a b : ℤ), (a / b : ℚ) = ∑ i ∈ Finset.range (p-1), (1 / (i + 1) : ℚ) → ↑p ∣ a
Trusted statement context
open Fintype Set Real Ideal Polynomial
open scoped BigOperators