Documentation

Mathlib.RingTheory.Ideal.NatInt

Prime ideals in ℕ and ℤ #

Main results #

The natural numbers form a local semiring.

theorem Ideal.isPrime_int_iff {P : Ideal ℤ} :
P.IsPrime ↔ P = ⊥ ∨ ∃ (p : ℕ), Nat.Prime p ∧ P = span {↑p}