The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Ideal.NatInt

10 declarations. Mathlib docs · Source

Prime ideals in ℕ and ℤ

Main results

  • Ideal.isPrime_nat_iff: the prime ideals in ℕ are ⟨0⟩, ⟨p⟩ (for prime p), and ⟨2, 3⟩ = {1}ᶜ. The proof follows https://math.stackexchange.com/a/4224486.

  • Ideal.isPrime_int_iff : the prime ideals in ℤ are ⟨0⟩ and ⟨p⟩ (for prime p).

instance instIsLocalRingNat E0 #

IsLocalRing ℕ

The natural numbers form a local semiring.

theorem Nat.mem_maximalIdeal_iff E0 #

∀ {n : ℕ}, n ∈ IsLocalRing.maximalIdeal ℕ ↔ n ≠ 1

theorem Nat.coe_maximalIdeal E0 #

↑(IsLocalRing.maximalIdeal ℕ) = {1}ᶜ

theorem Nat.maximalIdeal_eq_span_two_three E1 #

IsLocalRing.maximalIdeal ℕ = Ideal.span {2, 3}

theorem Nat.one_mem_span_iff E0 #

∀ {s : Set ℕ}, 1 ∈ Ideal.span s ↔ 1 ∈ s

theorem Nat.one_mem_closure_iff E0 #

∀ {s : Set ℕ}, 1 ∈ AddSubmonoid.closure s ↔ 1 ∈ s

theorem Ideal.isPrime_nat_iff E3 #

∀ {P : Ideal ℕ}, P.IsPrime ↔ P = ⊥ ∨ P = IsLocalRing.maximalIdeal ℕ ∨ ∃ p, Nat.Prime p ∧ P = Ideal.span {p}

theorem Ideal.map_comap_natCastRingHom_int E0 #

∀ {I : Ideal ℤ}, Ideal.map (Nat.castRingHom ℤ) (Ideal.comap (Nat.castRingHom ℤ) I) = I

theorem Ideal.isPrime_int_iff E3 #

∀ {P : Ideal ℤ}, P.IsPrime ↔ P = ⊥ ∨ ∃ p, Nat.Prime p ∧ P = Ideal.span {↑p}

theorem ringKrullDim_nat E1 #

ringKrullDim ℕ = 2