Ring_of_Integers_Modulo_Prime_is_Field_v2
Provedfieldsmodular-arithmeticprime-numbersproofwikiring-theory
Let . Let be the ring of integers modulo . Then is prime is a field.
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.Data.ZMod.Basic
Formal statement
theorem Ring_of_Integers_Modulo_Prime_is_Field_v2 (p : ℕ) [hp : Fact (Nat.Prime p)] : ∀ (a : ZMod p), a ≠ 0 → IsUnit a := by sorry
Source