lean_workbook_plus_42229
OpenProve that and are the only elements of the field that are their own multiplicative inverse.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_42229 (p : ℕ) (hp : p.Prime) (a : ZMod p) (ha : a ≠ 0) : a = a⁻¹ ↔ a = 1 ∨ a = p-1 := by sorry
Source