Documentation

Mathlib.RingTheory.Ideal.NatInt

Prime ideals in ℕ and ℤ #

Main results #

The natural numbers form a local semiring.

theorem Nat.one_mem_span_iff {s : Set } :
1 Ideal.span s 1 s
theorem Ideal.isPrime_nat_iff {P : Ideal } :
P.IsPrime P = P = IsLocalRing.maximalIdeal ∃ (p : ), Nat.Prime p P = span {p}
theorem Ideal.isPrime_int_iff {P : Ideal } :
P.IsPrime P = ∃ (p : ), Nat.Prime p P = span {p}