Nonzero residues modulo a prime have multiplicative inverses
ProvedWorkbookRestored.plus_18068lean-workbookrestored-importssource-checked
If is prime and in , then .
This restores the missing imports or namespaces of the original node, retaining its formal proposition. Source: Lean-Workbook row lean_workbook_plus_18068 (Apache-2.0).
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem WorkbookRestored.plus_18068 (p : ℕ) (hp : p.Prime) (a : ZMod p) (ha : a ≠ 0) : a * a⁻¹ = 1 := by sorry
Source