Principal_Ideal_of_PID_Irreducible_iff_Maximal
Provedirreduciblemaximal-idealprincipal-ideal-domainproofwikiring-theory
Let be a principal ideal domain. Let be the principal ideal of generated by . Then is irreducible is a maximal ideal of .
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.RingTheory.PrincipalIdealDomain
Formal statement
theorem Principal_Ideal_of_PID_Irreducible_iff_Maximal {D : Type _} [CommRing D] [IsDomain D] [IsPrincipalIdealRing D] (p : D) (hp : p ≠ 0) : Irreducible p ↔ (Ideal.span ({p} : Set D)).IsMaximal := by sorrySource