Integral_Domain_of_Prime_Order_is_Field_v2
Provedfieldprimeproofwikiring-theoryzmod
Let be the ring of integers modulo . The following statements are equivalent is a prime. is an integral domain. is a field.
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem Integral_Domain_of_Prime_Order_is_Field_v2 (p : ℕ) (hp : Nat.Prime p) : ∀ (a : ZMod p), a ≠ 0 → IsUnit a := by sorry
Source