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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.Spectrum.Prime.RingHom

29 declarations. Mathlib docs · Source

def PrimeSpectrum.comap E3 #

{R : Type u_1} →
  {S : Type u_2} → [inst : CommSemiring R] → [inst_1 : CommSemiring S] → (R →+* S) → PrimeSpectrum S → PrimeSpectrum R

The pullback of an element of PrimeSpectrum S along a ring homomorphism f : R →+* S. The bundled continuous version is PrimeSpectrum.comap.

theorem PrimeSpectrum.comap_asIdeal E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S) (y : PrimeSpectrum S),
  (PrimeSpectrum.comap f y).asIdeal = Ideal.comap f y.asIdeal

theorem PrimeSpectrum.comap_id E0 #

∀ {R : Type u} [inst : CommSemiring R], PrimeSpectrum.comap (RingHom.id R) = fun x ↦ x

theorem PrimeSpectrum.comap_comp E0 #

∀ {R : Type u} {S : Type v} {S' : Type u_1} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : CommSemiring S']
  (f : R →+* S) (g : S →+* S'), PrimeSpectrum.comap (g.comp f) = PrimeSpectrum.comap f ∘ PrimeSpectrum.comap g

theorem PrimeSpectrum.comap_comp_apply E0 #

∀ {R : Type u} {S : Type v} {S' : Type u_1} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : CommSemiring S']
  (f : R →+* S) (g : S →+* S') (x : PrimeSpectrum S'),
  PrimeSpectrum.comap (g.comp f) x = PrimeSpectrum.comap f (PrimeSpectrum.comap g x)

theorem PrimeSpectrum.preimage_comap_zeroLocus_aux E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S) (s : Set R),
  PrimeSpectrum.comap f ⁻¹' PrimeSpectrum.zeroLocus s = PrimeSpectrum.zeroLocus (⇑f '' s)

theorem PrimeSpectrum.preimage_comap_zeroLocus E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S) (s : Set R),
  PrimeSpectrum.comap f ⁻¹' PrimeSpectrum.zeroLocus s = PrimeSpectrum.zeroLocus (⇑f '' s)

theorem PrimeSpectrum.comap_injective_of_surjective E1 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S),
  Function.Surjective ⇑f → Function.Injective (PrimeSpectrum.comap f)

instance PrimeSpectrum.instLiesOverAsIdealComapAlgebraMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  (p : PrimeSpectrum S), p.asIdeal.LiesOver (PrimeSpectrum.comap (algebraMap R S) p).asIdeal

def PrimeSpectrum.comapEquiv E1 #

{R : Type u} →
  {S : Type v} → [inst : CommSemiring R] → [inst_1 : CommSemiring S] → R ≃+* S → PrimeSpectrum R ≃o PrimeSpectrum S

RingHom.comap of an isomorphism of rings as an equivalence of their prime spectra.

theorem PrimeSpectrum.comapEquiv_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (e : R ≃+* S) (p : PrimeSpectrum R),
  (PrimeSpectrum.comapEquiv e) p = PrimeSpectrum.comap e.symm.toRingHom p

theorem PrimeSpectrum.comapEquiv_symm E0 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (e : R ≃+* S),
  (PrimeSpectrum.comapEquiv e).symm = PrimeSpectrum.comapEquiv e.symm

def PrimeSpectrum.sigmaToPi E1 #

{ι : Type u_3} →
  (R : ι → Type u_2) →
    [inst : (i : ι) → CommSemiring (R i)] → (i : ι) × PrimeSpectrum (R i) → PrimeSpectrum ((i : ι) → R i)

The canonical map from a disjoint union of prime spectra of commutative semirings to the prime spectrum of the product semiring. This is always an open embedding, see PrimeSpectrum.isOpenEmbedding_sigmaToPi and a homeomorphism if ι is finite, see PrimeSpectrum.sigmaHomeoPi.

theorem PrimeSpectrum.sigmaToPi_apply E0 #

∀ {ι : Type u_3} (R : ι → Type u_2) [inst : (i : ι) → CommSemiring (R i)] (i : ι) (p : PrimeSpectrum (R i)),
  PrimeSpectrum.sigmaToPi R ⟨i, p⟩ = PrimeSpectrum.comap (Pi.evalRingHom R i) p

theorem PrimeSpectrum.sigmaToPi_injective E1 #

∀ {ι : Type u_3} (R : ι → Type u_2) [inst : (i : ι) → CommSemiring (R i)],
  Function.Injective (PrimeSpectrum.sigmaToPi R)

theorem PrimeSpectrum.exists_maximal_notMem_range_sigmaToPi_of_infinite E1 #

∀ {ι : Type u_3} (R : ι → Type u_2) [inst : (i : ι) → CommSemiring (R i)] [Infinite ι] [∀ (i : ι), Nontrivial (R i)],
  ∃ I, ∃ (x : I.IsMaximal), { asIdeal := I, isPrime := ⋯ } ∉ Set.range (PrimeSpectrum.sigmaToPi R)

An infinite product of nontrivial commutative semirings has a maximal ideal outside of the range of sigmaToPi, i.e. is not of the form πᵢ⁻¹(𝔭) for some prime 𝔭 ⊂ R i, where πᵢ : (Π i, R i) →+* R i is the projection. For a complete description of all prime ideals, see https://math.stackexchange.com/a/1563190.

theorem PrimeSpectrum.sigmaToPi_not_surjective_of_infinite E1 #

∀ {ι : Type u_3} (R : ι → Type u_2) [inst : (i : ι) → CommSemiring (R i)] [Infinite ι] [∀ (i : ι), Nontrivial (R i)],
  ¬Function.Surjective (PrimeSpectrum.sigmaToPi R)

theorem PrimeSpectrum.exists_comap_evalRingHom_eq E0 #

∀ {ι : Type u_3} {R : ι → Type u_4} [inst : (i : ι) → CommRing (R i)] [Finite ι] (p : PrimeSpectrum ((i : ι) → R i)),
  ∃ i q, PrimeSpectrum.comap (Pi.evalRingHom R i) q = p

theorem PrimeSpectrum.sigmaToPi_bijective E1 #

∀ {ι : Type u_3} (R : ι → Type u_4) [inst : (i : ι) → CommRing (R i)] [Finite ι],
  Function.Bijective (PrimeSpectrum.sigmaToPi R)

theorem PrimeSpectrum.iUnion_range_comap_comp_evalRingHom E1 #

∀ {ι : Type u_3} {R : ι → Type u_4} [inst : (i : ι) → CommRing (R i)] [Finite ι] {S : Type u_5} [inst_2 : CommRing S]
  (f : S →+* (i : ι) → R i),
  ⋃ i, Set.range (PrimeSpectrum.comap ((Pi.evalRingHom R i).comp f)) = Set.range (PrimeSpectrum.comap f)

theorem image_comap_zeroLocus_eq_zeroLocus_comap E1 #

∀ {R : Type u} (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  Function.Surjective ⇑f →
    ∀ (I : Ideal S), PrimeSpectrum.comap f '' PrimeSpectrum.zeroLocus ↑I = PrimeSpectrum.zeroLocus ↑(Ideal.comap f I)

theorem range_comap_of_surjective E1 #

∀ {R : Type u} (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  Function.Surjective ⇑f → Set.range (PrimeSpectrum.comap f) = PrimeSpectrum.zeroLocus ↑(RingHom.ker f)

def Ideal.primeSpectrumOrderIsoZeroLocusOfSurj E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        (f : R →+* S) →
          Function.Surjective ⇑f → {I : Ideal R} → RingHom.ker f = I → PrimeSpectrum S ≃o ↑(PrimeSpectrum.zeroLocus ↑I)

Let f : R →+* S be a surjective ring homomorphism, then Spec S is order-isomorphic to Z(I) where I = ker f.

def Ideal.primeSpectrumQuotientOrderIsoZeroLocus E1 #

{R : Type u} → [inst : CommRing R] → (I : Ideal R) → PrimeSpectrum (R ⧸ I) ≃o ↑(PrimeSpectrum.zeroLocus ↑I)

Spec (R / I) is order-isomorphic to Z(I).

theorem PrimeSpectrum.mem_range_comap_iff E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) {p : PrimeSpectrum R},
  p ∈ Set.range (PrimeSpectrum.comap f) ↔ Ideal.comap f (Ideal.map f p.asIdeal) = p.asIdeal

p is in the image of Spec S → Spec R if and only if p extended to S and restricted back to R is p.

theorem PrimeSpectrum.nontrivial_iff_mem_rangeComap E1 #

∀ {R : Type u} [inst : CommRing R] {S : Type u_1} [inst_1 : CommRing S] [inst_2 : Algebra R S] (p : PrimeSpectrum R),
  Nontrivial (TensorProduct R p.asIdeal.ResidueField S) ↔ p ∈ Set.range (PrimeSpectrum.comap (algebraMap R S))

A prime p is in the range of Spec S → Spec R if the fiber over p is nontrivial.

theorem RingHom.strictMono_comap_of_surjective E1 #

∀ {R : Type u} [inst : CommRing R] {S : Type u_1} [inst_1 : CommRing S] {f : R →+* S},
  Function.Surjective ⇑f → StrictMono (PrimeSpectrum.comap f)

theorem PrimeSpectrum.residueField_comap E1 #

∀ {R : Type u_1} [inst : CommRing R] (I : PrimeSpectrum R),
  Set.range (PrimeSpectrum.comap (algebraMap R I.asIdeal.ResidueField)) = {I}

theorem IsLocalHom.of_comap_surjective E1 #

∀ {R : Type u} {S : Type v} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S),
  Function.Surjective (PrimeSpectrum.comap f) → IsLocalHom f