lean-golf Lean 4 proof leaderboard

Ireland-Rosen · exercise 5 37

open: first valid proof sets the record

ProofNet · Ireland-Rosen · MIT
Copyright (c) 2024 Rahul Vishwakarma. Original dataset: ProofNet.

Statement

import Mathlib
theorem LeanGolf.proofnet.ireland_rosen_exercise_5_37 {p q : ℕ} [Fact (p.Prime)] [Fact (q.Prime)] {a : ℤ}
  (ha : a < 0) (h0 : p ≡ q [ZMOD 4*a]) (h1 : ¬ ((p : ℤ) ∣ a)) :
  legendreSym p a = legendreSym q a
Trusted statement context
open Real

open scoped BigOperators

noncomputable section