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.Localization.AtPrime.Basic

86 declarations and 3 deprecated aliases. Mathlib docs · Source

Localizations of commutative rings at the complement of a prime ideal

Main definitions

  • IsLocalization.AtPrime (P : Ideal R) [IsPrime P] (S : Type*) expresses that S is a localization at (the complement of) a prime ideal P, as an abbreviation of IsLocalization P.prime_compl S

Main results

  • IsLocalization.AtPrime.isLocalRing: a theorem (not an instance) stating a localization at the complement of a prime ideal is a local ring

Implementation notes

See RingTheory.Localization.Basic for a design overview.

Tags

localization, ring localization, commutative ring localization, characteristic predicate, commutative ring, field of fractions

theorem Ideal.Quotient.liftₐ.congr_simp E1 #

∀ {R₁ : Type u_1} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R₁] [inst_1 : Ring A] [inst_2 : Algebra R₁ A]
  [inst_3 : Semiring B] [inst_4 : Algebra R₁ B] (I : Ideal A) [inst_5 : I.IsTwoSided] (f f_1 : A →ₐ[R₁] B)
  (e_f : f = f_1) (hI : ∀ a ∈ I, f a = 0), Ideal.Quotient.liftₐ I f hI = Ideal.Quotient.liftₐ I f_1 ⋯

theorem IsLocalization.AtPrime.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  (P P_1 : Ideal R) (e_P : P = P_1) [hp : P.IsPrime], IsLocalization.AtPrime S P = IsLocalization.AtPrime S P_1

theorem Ideal.quotEquivOfEq.congr_simp E1 #

∀ {R : Type u} [inst : Ring R] {I J : Ideal R} [inst_1 : I.IsTwoSided] [inst_2 : J.IsTwoSided] (h : I = J),
  Ideal.quotEquivOfEq h = Ideal.quotEquivOfEq h

theorem Localization.localRingHom.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f f_1 : R →+* P) (e_f : f = f_1) (hIJ : I = Ideal.comap f J),
  Localization.localRingHom I J f hIJ = Localization.localRingHom I J f_1 ⋯

theorem Localization.AtPrime.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (P P_1 : Ideal R) (e_P : P = P_1) [hp : P.IsPrime],
  Localization.AtPrime P = Localization.AtPrime P_1

theorem IsLocalization.AtPrime.equivQuotMaximalIdealPow.congr_simp E1 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] (n : ℕ),
  IsLocalization.AtPrime.equivQuotMaximalIdealPow p Rₚ n = IsLocalization.AtPrime.equivQuotMaximalIdealPow p Rₚ n

theorem Ideal.quotientEquivAlgOfEq.congr_simp E1 #

∀ (R₁ : Type u_1) {A : Type u_3} [inst : CommSemiring R₁] [inst_1 : Ring A] [inst_2 : Algebra R₁ A] {I J : Ideal A}
  [inst_3 : I.IsTwoSided] [inst_4 : J.IsTwoSided] (h : I = J),
  Ideal.quotientEquivAlgOfEq R₁ h = Ideal.quotientEquivAlgOfEq R₁ h

theorem Submonoid.LocalizationMap.lift₀.congr_simp E1 #

∀ {M : Type u_1} [inst : CommMonoidWithZero M] {S : Submonoid M} {N : Type u_2} [inst_1 : CommMonoidWithZero N]
  {P : Type u_3} [inst_2 : CommMonoidWithZero P] (f f_1 : S.LocalizationMap N),
  f = f_1 → ∀ (g g_1 : M →*₀ P) (e_g : g = g_1) (hg : ∀ (y : ↥S), IsUnit (g ↑y)), f.lift₀ g hg = f_1.lift₀ g_1 ⋯

theorem IsLocalization.AtPrime.equivQuotMaximalIdeal.congr_simp E1 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ],
  IsLocalization.AtPrime.equivQuotMaximalIdeal p Rₚ = IsLocalization.AtPrime.equivQuotMaximalIdeal p Rₚ

theorem IsLocalization.liftAlgHom.congr_simp E1 #

∀ {A : Type u_4} [inst : CommSemiring A] {R : Type u_5} [inst_1 : CommSemiring R] [inst_2 : Algebra A R]
  {M M_1 : Submonoid R} (e_M : M = M_1) {S : Type u_6} [inst_3 : CommSemiring S] [inst_4 : Algebra A S]
  [inst_5 : Algebra R S] [inst_6 : IsScalarTower A R S] {P : Type u_7} [inst_7 : CommSemiring P] [inst_8 : Algebra A P]
  [inst_9 : IsLocalization M S] {f f_1 : R →ₐ[A] P} (e_f : f = f_1) (hf : ∀ (y : ↥M), IsUnit (f ↑y)),
  IsLocalization.liftAlgHom hf = IsLocalization.liftAlgHom ⋯

abbrev IsLocalization.AtPrime E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Type u_2) → [inst_1 : CommSemiring S] → [Algebra R S] → (P : Ideal R) → [hp : P.IsPrime] → Prop

Given a prime ideal P, the typeclass IsLocalization.AtPrime S P states that S is isomorphic to the localization of R at the complement of P.

abbrev Localization.AtPrime E3 #

{R : Type u_1} → [inst : CommSemiring R] → (P : Ideal R) → [hp : P.IsPrime] → Type u_1

Given a prime ideal P, Localization.AtPrime P is a localization of R at the complement of P, as a quotient type.

theorem IsLocalization.AtPrime.nontrivial E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (P : Ideal R)
  [hp : P.IsPrime] [IsLocalization.AtPrime S P], Nontrivial S

theorem IsLocalization.AtPrime.isLocalRing E3 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (P : Ideal R)
  [hp : P.IsPrime] [IsLocalization.AtPrime S P], IsLocalRing S

instance IsLocalization.isDomain_of_local_atPrime E0 #

∀ {A : Type u_4} [inst : CommRing A] [IsDomain A] {P : Ideal A} (x : P.IsPrime), IsDomain (Localization.AtPrime P)

The localization of an integral domain at the complement of a prime ideal is an integral domain.

instance Localization.AtPrime.isLocalRing E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (P : Ideal R) [hp : P.IsPrime], IsLocalRing (Localization P.primeCompl)

The localization of R at the complement of a prime ideal is a local ring.

instance Localization.instIsTorsionFreeAtPrimeAlgebraMapSubmonoidPrimeComplOfIsDomain E0 #

∀ {R : Type u_4} {S : Type u_5} [inst : CommRing R] [IsDomain R] {P : Ideal R} [inst_2 : CommRing S]
  [inst_3 : Algebra R S] [Module.IsTorsionFree R S] [IsDomain S] [inst_6 : P.IsPrime],
  Module.IsTorsionFree (Localization.AtPrime P) (Localization (Algebra.algebraMapSubmonoid S P.primeCompl))

theorem IsLocalization.AtPrime.faithfulSMul E1 #

∀ (S : Type u_2) [inst : CommSemiring S] (R : Type u_4) [inst_1 : CommRing R] [NoZeroDivisors R] [inst_3 : Algebra R S]
  (P : Ideal R) [hp : P.IsPrime] [IsLocalization.AtPrime S P], FaithfulSMul R S

instance Localization.instFaithfulSMulAtPrimeOfNoZeroDivisors E0 #

∀ {R : Type u_4} [inst : CommRing R] [NoZeroDivisors R] (P : Ideal R) [hp : P.IsPrime],
  FaithfulSMul R (Localization.AtPrime P)

theorem IsLocalization.isDomain_of_atPrime E1 #

∀ {A : Type u_4} [inst : CommRing A] [IsDomain A] (S : Type u_5) [inst_2 : CommSemiring S] [inst_3 : Algebra A S]
  (P : Ideal A) [inst_4 : P.IsPrime] [IsLocalization.AtPrime S P], IsDomain S

This is an IsLocalization.AtPrime version for IsLocalization.isDomain_of_local_atPrime.

def IsLocalization.AtPrime.orderIsoOfPrime E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Type u_2) →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (I : Ideal R) →
            [hI : I.IsPrime] → [IsLocalization.AtPrime S I] → { p // p.IsPrime } ≃o { p // p.IsPrime ∧ p ≤ I }

The prime ideals in the localization of a commutative ring at a prime ideal I are in order-preserving bijection with the prime ideals contained in I.

theorem IsLocalization.AtPrime.coe_orderIsoOfPrime_apply_coe E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (a : { p // p.IsPrime }),
  ↑↑((IsLocalization.AtPrime.orderIsoOfPrime S I) a) = ⇑(algebraMap R S) ⁻¹' ↑↑a

theorem IsLocalization.AtPrime.coe_orderIsoOfPrime_symm_apply_coe E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (a : { p // p.IsPrime ∧ p ≤ I }),
  ↑↑((RelIso.symm (IsLocalization.AtPrime.orderIsoOfPrime S I)) a) =
    ⋂ s,
      ⋂ (_ :
        ↑↑(({p | p.IsPrime ∧ Disjoint ↑I.primeCompl ↑p}.orderIsoOfEq {p | p.IsPrime ∧ p ≤ I} ⋯).symm a) ⊆
          ⇑(algebraMap R S) ⁻¹' ↑s),
        ↑s

def IsLocalization.AtPrime.primeSpectrumOrderIso E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Type u_2) →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (I : Ideal R) →
            [hI : I.IsPrime] →
              [IsLocalization.AtPrime S I] → PrimeSpectrum S ≃o ↑(Set.Iic { asIdeal := I, isPrime := hI })

The prime spectrum of the localization of a commutative ring R at a prime ideal I are in order-preserving bijection with the interval $(-∞, I]$ in the prime spectrum of R.

theorem IsLocalization.AtPrime.coe_primeSpectrumOrderIso_symm_apply_asIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (a : ↑(Set.Iic { asIdeal := I, isPrime := hI })),
  ↑((RelIso.symm (IsLocalization.AtPrime.primeSpectrumOrderIso S I)) a).asIdeal =
    ⋂ s,
      ⋂ (_ :
        ↑↑(({p | p.IsPrime ∧ Disjoint ↑I.primeCompl ↑p}.orderIsoOfEq {p | p.IsPrime ∧ p ≤ I} ⋯).symm
                ⟨(↑a).asIdeal, ⋯⟩) ⊆
          ⇑(algebraMap R S) ⁻¹' ↑s),
        ↑s

theorem IsLocalization.AtPrime.coe_primeSpectrumOrderIso_apply_coe_asIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (a : PrimeSpectrum S),
  ↑(↑((IsLocalization.AtPrime.primeSpectrumOrderIso S I) a)).asIdeal = ⇑(algebraMap R S) ⁻¹' ↑a.asIdeal

theorem IsLocalization.AtPrime.isUnit_to_map_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [IsLocalization.AtPrime S I] (x : R), IsUnit ((algebraMap R S) x) ↔ x ∈ I.primeCompl

theorem IsLocalization.AtPrime.to_map_mem_maximal_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (x : R) (h : optParam (IsLocalRing S) ⋯),
  (algebraMap R S) x ∈ IsLocalRing.maximalIdeal S ↔ x ∈ I

theorem IsLocalization.AtPrime.under_maximalIdeal E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (h : optParam (IsLocalRing S) ⋯),
  Ideal.under R (IsLocalRing.maximalIdeal S) = I

instance IsLocalization.AtPrime.liesOver_maximalIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (h : optParam (IsLocalRing S) ⋯),
  (IsLocalRing.maximalIdeal S).LiesOver I

theorem IsLocalization.AtPrime.isUnit_mk'_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (x : R) (y : ↥I.primeCompl),
  IsUnit (IsLocalization.mk' S x y) ↔ x ∈ I.primeCompl

theorem IsLocalization.AtPrime.mk'_mem_maximal_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (I : Ideal R)
  [hI : I.IsPrime] [inst_3 : IsLocalization.AtPrime S I] (x : R) (y : ↥I.primeCompl) (h : optParam (IsLocalRing S) ⋯),
  IsLocalization.mk' S x y ∈ IsLocalRing.maximalIdeal S ↔ x ∈ I

theorem Localization.AtPrime.under_maximalIdeal E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {I : Ideal R} [hI : I.IsPrime],
  Ideal.under R (IsLocalRing.maximalIdeal (Localization I.primeCompl)) = I

The unique maximal ideal of the localization at I.primeCompl lies over the ideal I.

theorem Localization.AtPrime.map_eq_maximalIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {I : Ideal R} [hI : I.IsPrime],
  Ideal.map (algebraMap R (Localization.AtPrime I)) I = IsLocalRing.maximalIdeal (Localization I.primeCompl)

The image of I in the localization at I.primeCompl is a maximal ideal, and in particular it is the unique maximal ideal given by the local ring structure AtPrime.isLocalRing

theorem Localization.le_comap_primeCompl_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] {I : Ideal R} [hI : I.IsPrime]
  {J : Ideal P} [inst_2 : J.IsPrime] {f : R →+* P}, I.primeCompl ≤ Submonoid.comap f J.primeCompl ↔ Ideal.comap f J ≤ I

def Localization.localRingHom E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {P : Type u_3} →
      [inst_1 : CommSemiring P] →
        (I : Ideal R) →
          [hI : I.IsPrime] →
            (J : Ideal P) →
              [inst_2 : J.IsPrime] →
                (f : R →+* P) → I = Ideal.comap f J → Localization.AtPrime I →+* Localization.AtPrime J

For a ring hom f : R →+* S and a prime ideal J in S, the induced ring hom from the localization of R at J.comap f to the localization of S at J.

To make this definition more flexible, we allow any ideal I of R as input, together with a proof that I = J.comap f. This can be useful when I is not definitionally equal to J.comap f.

theorem Localization.localRingHom_to_map E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R →+* P) (hIJ : I = Ideal.comap f J) (x : R),
  (Localization.localRingHom I J f hIJ) ((algebraMap R (Localization.AtPrime I)) x) =
    (algebraMap P (Localization.AtPrime J)) (f x)

theorem Localization.localRingHom_mk' E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R →+* P) (hIJ : I = Ideal.comap f J) (x : R) (y : ↥I.primeCompl),
  (Localization.localRingHom I J f hIJ) (IsLocalization.mk' (Localization.AtPrime I) x y) =
    IsLocalization.mk' (Localization.AtPrime J) (f x) ⟨f ↑y, ⋯⟩

theorem Localization.localRingHom_mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R →+* P) (hIJ : I = Ideal.comap f J) (x : R) (y : ↥I.primeCompl),
  (Localization.localRingHom I J f hIJ) (Localization.mk x y) = Localization.mk (f x) ⟨f ↑y, ⋯⟩

instance Localization.isLocalHom_localRingHom E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [hJ : J.IsPrime] (f : R →+* P) (hIJ : I = Ideal.comap f J),
  IsLocalHom (Localization.localRingHom I J f hIJ)

theorem Localization.localRingHom_unique E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R →+* P) (hIJ : I = Ideal.comap f J)
  {j : Localization.AtPrime I →+* Localization.AtPrime J},
  (∀ (x : R), j ((algebraMap R (Localization.AtPrime I)) x) = (algebraMap P (Localization.AtPrime J)) (f x)) →
    Localization.localRingHom I J f hIJ = j

theorem Localization.localRingHom_id E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (I : Ideal R) [hI : I.IsPrime],
  Localization.localRingHom I I (RingHom.id R) ⋯ = RingHom.id (Localization.AtPrime I)

theorem Localization.localRingHom_comp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  {S : Type u_4} [inst_2 : CommSemiring S] (J : Ideal S) [hJ : J.IsPrime] (K : Ideal P) [hK : K.IsPrime] (f : R →+* S)
  (hIJ : I = Ideal.comap f J) (g : S →+* P) (hJK : J = Ideal.comap g K),
  Localization.localRingHom I K (g.comp f) ⋯ =
    (Localization.localRingHom J K g hJK).comp (Localization.localRingHom I J f hIJ)

def Localization.localRingEquiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {P : Type u_3} →
      [inst_1 : CommSemiring P] →
        (I : Ideal R) →
          [hI : I.IsPrime] →
            (J : Ideal P) →
              [inst_2 : J.IsPrime] →
                (f : R ≃+* P) → I = Ideal.comap f J → Localization.AtPrime I ≃+* Localization.AtPrime J

Isomorphic rings have isomorphic localizations.

theorem Localization.localRingEquiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R ≃+* P) (hIJ : I = Ideal.comap f J) (a : Localization.AtPrime I),
  (Localization.localRingEquiv I J f hIJ) a = (↑↑(Localization.localRingHom I J (↑f) hIJ)).toFun a

theorem Localization.localRingEquiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime]
  (J : Ideal P) [inst_2 : J.IsPrime] (f : R ≃+* P) (hIJ : I = Ideal.comap f J) (a : Localization.AtPrime J),
  (Localization.localRingEquiv I J f hIJ).symm a = (Localization.localRingHom J I ↑f.symm ⋯) a

def Localization.localAlgHom E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {P : Type u_3} →
            [inst_3 : CommSemiring P] →
              [inst_4 : Algebra R P] →
                (I : Ideal S) →
                  [inst_5 : I.IsPrime] →
                    (J : Ideal P) →
                      [inst_6 : J.IsPrime] →
                        (f : S →ₐ[R] P) → I = Ideal.comap f J → Localization.AtPrime I →ₐ[R] Localization.AtPrime J

For an R-algebra homomorphism f : S →ₐ[R] P and prime ideals I = f⁻¹(J), the induced R-algebra homomorphism from the localization of S at I to the localization of P at J.

See localAlgHom' for a variant where the base ring R is also localized.

theorem Localization.localAlgHom_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] [inst_4 : Algebra R P] (I : Ideal S) [inst_5 : I.IsPrime] (J : Ideal P) [inst_6 : J.IsPrime]
  (f : S →ₐ[R] P) (hIJ : I = Ideal.comap f J) (x : Localization.AtPrime I),
  (Localization.localAlgHom I J f hIJ) x = (Localization.localRingHom I J f.toRingHom hIJ) x

def Localization.localAlgEquiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {P : Type u_3} →
            [inst_3 : CommSemiring P] →
              [inst_4 : Algebra R P] →
                (I : Ideal S) →
                  [inst_5 : I.IsPrime] →
                    (J : Ideal P) →
                      [inst_6 : J.IsPrime] →
                        (f : S ≃ₐ[R] P) → I = Ideal.comap f J → Localization.AtPrime I ≃ₐ[R] Localization.AtPrime J

Isomorphic algebras have isomorphic localizations.

See localAlgEquiv' for a variant where the base ring is also localized.

theorem Localization.localAlgEquiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] [inst_4 : Algebra R P] (I : Ideal S) [inst_5 : I.IsPrime] (J : Ideal P) [inst_6 : J.IsPrime]
  (f : S ≃ₐ[R] P) (hIJ : I = Ideal.comap f J) (a : Localization.AtPrime J),
  (Localization.localAlgEquiv I J f hIJ).symm a = (Localization.localRingEquiv I J f.toRingEquiv hIJ).invFun a

theorem Localization.localAlgEquiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] [inst_4 : Algebra R P] (I : Ideal S) [inst_5 : I.IsPrime] (J : Ideal P) [inst_6 : J.IsPrime]
  (f : S ≃ₐ[R] P) (hIJ : I = Ideal.comap f J) (a : Localization.AtPrime I),
  (Localization.localAlgEquiv I J f hIJ) a = (↑↑(Localization.localAlgHom I J (↑f) hIJ).toRingHom).toFun a

theorem Localization.localRingHom_bijective_of_saturated_inf_eq_top E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Ideal S}
  [inst_3 : P.IsPrime] {s : Subalgebra R S},
  s.saturation (P.primeCompl ⊓ s.toSubmonoid) ⋯ = ⊤ →
    ∀ (p : Ideal ↥s) [inst_4 : p.IsPrime] [inst_5 : P.LiesOver p],
      Function.Bijective ⇑(Localization.localRingHom p P (algebraMap (↥s) S) ⋯)

def Localization.AtPrime.algebraOfLiesOver E1 #

{A : Type u_4} →
  {B : Type u_5} →
    [inst : CommSemiring A] →
      [inst_1 : CommSemiring B] →
        [inst_2 : Algebra A B] →
          (p : Ideal A) →
            [inst_3 : p.IsPrime] →
              (P : Ideal B) →
                [inst_4 : P.IsPrime] → [P.LiesOver p] → Algebra (Localization.AtPrime p) (Localization.AtPrime P)

If P lies over p, then Localization.AtPrime P is an algebra over Localization.AtPrime p. This is not an instance for performance reasons and to avoid diamonds in the situation where the top ring is already an algebra over Localization.AtPrime p (e.g., this happens for Ideal.Fiber).

instance Localization.AtPrime.instIsScalarTower E0 #

∀ {A : Type u_4} {B : Type u_5} [inst : CommSemiring A] [inst_1 : CommSemiring B] [inst_2 : Algebra A B] (p : Ideal A)
  [inst_3 : p.IsPrime] (P : Ideal B) [inst_4 : P.IsPrime] [inst_5 : P.LiesOver p],
  IsScalarTower A (Localization.AtPrime p) (Localization.AtPrime P)

theorem Localization.AtPrime.algebraMap_eq E0 #

∀ {A : Type u_4} {B : Type u_5} [inst : CommSemiring A] [inst_1 : CommSemiring B] [inst_2 : Algebra A B] (p : Ideal A)
  [inst_3 : p.IsPrime] (P : Ideal B) [inst_4 : P.IsPrime]
  [inst_5 : Algebra (Localization.AtPrime p) (Localization.AtPrime P)]
  [IsScalarTower A (Localization.AtPrime p) (Localization.AtPrime P)] [inst_7 : P.LiesOver p],
  algebraMap (Localization.AtPrime p) (Localization.AtPrime P) = Localization.localRingHom p P (algebraMap A B) ⋯

instance Localization.AtPrime.instIsScalarTower_1 E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_4} {B : Type u_5} [inst_1 : CommSemiring A]
  [inst_2 : CommSemiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : Algebra A B] [IsScalarTower R A B]
  (p : Ideal A) [inst_7 : p.IsPrime] (P : Ideal B) [inst_8 : P.IsPrime]
  [inst_9 : Algebra (Localization.AtPrime p) (Localization.AtPrime P)]
  [IsScalarTower A (Localization.AtPrime p) (Localization.AtPrime P)],
  IsScalarTower R (Localization.AtPrime p) (Localization.AtPrime P)

instance Localization.AtPrime.instIsScalarTowerOfLiesOver E0 #

∀ {A : Type u_4} {B : Type u_5} {C : Type u_6} [inst : CommSemiring A] [inst_1 : CommSemiring B] [inst_2 : Algebra A B]
  [inst_3 : CommSemiring C] [inst_4 : Algebra A C] [inst_5 : Algebra B C] [IsScalarTower A B C] (p : Ideal A)
  [inst_7 : p.IsPrime] (P : Ideal B) [inst_8 : P.IsPrime] [P.LiesOver p] (Q : Ideal C) [inst_10 : Q.IsPrime]
  [Q.LiesOver P] [Q.LiesOver p] [inst_13 : Algebra (Localization.AtPrime p) (Localization.AtPrime P)]
  [inst_14 : Algebra (Localization.AtPrime P) (Localization.AtPrime Q)]
  [inst_15 : Algebra (Localization.AtPrime p) (Localization.AtPrime Q)]
  [IsScalarTower A (Localization.AtPrime p) (Localization.AtPrime P)]
  [IsScalarTower B (Localization.AtPrime P) (Localization.AtPrime Q)]
  [IsScalarTower A (Localization.AtPrime p) (Localization.AtPrime Q)],
  IsScalarTower (Localization.AtPrime p) (Localization.AtPrime P) (Localization.AtPrime Q)

abbrev Localization.AtPrime.mapPiEvalRingHom E1 #

{ι : Type u_4} →
  {R : ι → Type u_5} →
    [inst : (i : ι) → CommSemiring (R i)] →
      {i : ι} →
        (I : Ideal (R i)) →
          [inst_1 : I.IsPrime] → Localization.AtPrime (Ideal.comap (Pi.evalRingHom R i) I) →+* Localization.AtPrime I

Localization.localRingHom specialized to a projection homomorphism from a product ring.

theorem Localization.AtPrime.mapPiEvalRingHom_bijective E1 #

∀ {ι : Type u_4} {R : ι → Type u_5} [inst : (i : ι) → CommSemiring (R i)] {i : ι} (I : Ideal (R i))
  [inst_1 : I.IsPrime], Function.Bijective ⇑(Localization.AtPrime.mapPiEvalRingHom I)

theorem Localization.AtPrime.mapPiEvalRingHom_comp_algebraMap E1 #

∀ {ι : Type u_4} {R : ι → Type u_5} [inst : (i : ι) → CommSemiring (R i)] {i : ι} (I : Ideal (R i))
  [inst_1 : I.IsPrime],
  (Localization.AtPrime.mapPiEvalRingHom I).comp
      (algebraMap ((i : ι) → R i) (Localization.AtPrime (Ideal.comap (Pi.evalRingHom R i) I))) =
    (algebraMap (R i) (Localization.AtPrime I)).comp (Pi.evalRingHom R i)

theorem Localization.AtPrime.mapPiEvalRingHom_algebraMap_apply E0 #

∀ {ι : Type u_4} {R : ι → Type u_5} [inst : (i : ι) → CommSemiring (R i)] {i : ι} (I : Ideal (R i)) [inst_1 : I.IsPrime]
  {r : (i : ι) → R i},
  (Localization.AtPrime.mapPiEvalRingHom I)
      ((algebraMap ((i : ι) → R i) (Localization.AtPrime (Ideal.comap (Pi.evalRingHom R i) I))) r) =
    (algebraMap (R i) (Localization.AtPrime I)) (r i)

def Localization.localAlgHom' E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {P : Type u_3} →
            [inst_3 : CommSemiring P] →
              (I : Ideal R) →
                [hI : I.IsPrime] →
                  [inst_4 : Algebra R P] →
                    (J : Ideal S) →
                      (K : Ideal P) →
                        [inst_5 : J.IsPrime] →
                          [inst_6 : K.IsPrime] →
                            [inst_7 : Algebra (Localization.AtPrime I) (Localization.AtPrime J)] →
                              [inst_8 : Algebra (Localization.AtPrime I) (Localization.AtPrime K)] →
                                [IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime J)] →
                                  [IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime K)] →
                                    (f : S →ₐ[R] P) →
                                      J = Ideal.comap f K →
                                        Localization.AtPrime J →ₐ[Localization.AtPrime I] Localization.AtPrime K

For an R-algebra homomorphism f : S →ₐ[R] P and prime ideals J = f⁻¹(K) lying over I, the induced algebra homomorphism from the localization of S at J to the localization of P at K over the localization of R at I.

See localAlgHom for a variant where the base ring R is not localized.

theorem Localization.localAlgHom'_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime] [inst_4 : Algebra R P] (J : Ideal S) (K : Ideal P)
  [inst_5 : J.IsPrime] [inst_6 : K.IsPrime] [inst_7 : Algebra (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_8 : Algebra (Localization.AtPrime I) (Localization.AtPrime K)]
  [inst_9 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_10 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime K)] (f : S →ₐ[R] P)
  (h : J = Ideal.comap f K) (a : Localization.AtPrime J),
  (Localization.localAlgHom' I J K f h) a =
    ((Localization.monoidOf J.primeCompl).lift₀ ↑((algebraMap P (Localization.AtPrime K)).comp ↑f) ⋯) a

def Localization.localAlgEquiv' E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {P : Type u_3} →
            [inst_3 : CommSemiring P] →
              (I : Ideal R) →
                [hI : I.IsPrime] →
                  [inst_4 : Algebra R P] →
                    (J : Ideal S) →
                      (K : Ideal P) →
                        [inst_5 : J.IsPrime] →
                          [inst_6 : K.IsPrime] →
                            [inst_7 : Algebra (Localization.AtPrime I) (Localization.AtPrime J)] →
                              [inst_8 : Algebra (Localization.AtPrime I) (Localization.AtPrime K)] →
                                [IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime J)] →
                                  [IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime K)] →
                                    (f : S ≃ₐ[R] P) →
                                      J = Ideal.comap f K →
                                        Localization.AtPrime J ≃ₐ[Localization.AtPrime I] Localization.AtPrime K

Isomorphic algebras have isomorphic localizations.

See localAlgEquiv for a variant where the base ring is not localized.

theorem Localization.localAlgEquiv'_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime] [inst_4 : Algebra R P] (J : Ideal S) (K : Ideal P)
  [inst_5 : J.IsPrime] [inst_6 : K.IsPrime] [inst_7 : Algebra (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_8 : Algebra (Localization.AtPrime I) (Localization.AtPrime K)]
  [inst_9 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_10 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime K)] (f : S ≃ₐ[R] P)
  (h : J = Ideal.comap f K) (a : Localization.AtPrime K),
  (Localization.localAlgEquiv' I J K f h).symm a =
    (Localization.localRingHom K J ↑{ toEquiv := ↑f.symm, map_mul' := ⋯, map_add' := ⋯ } ⋯) a

theorem Localization.localAlgEquiv'_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] (I : Ideal R) [hI : I.IsPrime] [inst_4 : Algebra R P] (J : Ideal S) (K : Ideal P)
  [inst_5 : J.IsPrime] [inst_6 : K.IsPrime] [inst_7 : Algebra (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_8 : Algebra (Localization.AtPrime I) (Localization.AtPrime K)]
  [inst_9 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime J)]
  [inst_10 : IsScalarTower R (Localization.AtPrime I) (Localization.AtPrime K)] (f : S ≃ₐ[R] P)
  (h : J = Ideal.comap f K) (a : Localization.AtPrime J),
  (Localization.localAlgEquiv' I J K f h) a = (Localization.localRingHom J K (↑f) h) a

theorem Ideal.isPrime_map_of_isLocalizationAtPrime E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (q : Ideal R) [inst_1 : q.IsPrime] {S : Type u_4} [inst_2 : CommSemiring S]
  [inst_3 : Algebra R S] [IsLocalization.AtPrime S q] {p : Ideal R} [p.IsPrime],
  p ≤ q → (Ideal.map (algebraMap R S) p).IsPrime

theorem Ideal.under_map_of_isLocalizationAtPrime E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (q : Ideal R) [inst_1 : q.IsPrime] {S : Type u_4} [inst_2 : CommSemiring S]
  [inst_3 : Algebra R S] [IsLocalization.AtPrime S q] {p : Ideal R} [p.IsPrime],
  p ≤ q → Ideal.under R (Ideal.map (algebraMap R S) p) = p

theorem IsLocalization.subsingleton_primeSpectrum_of_mem_minimalPrimes E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (p : Ideal R) (hp : p ∈ minimalPrimes R) (S : Type u_6)
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [IsLocalization.AtPrime S p], Subsingleton (PrimeSpectrum S)

theorem IsLocalization.liesOver_of_isPrime_of_disjoint E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_4} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_5}
  {S' : Type u_6} (M : Submonoid R) (T : Submonoid S) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S']
  [inst_5 : Algebra R R'] [inst_6 : Algebra S S'] [inst_7 : Algebra R' S'] [inst_8 : Algebra R S']
  [IsScalarTower R S S'] [IsScalarTower R R' S'] [IsLocalization M R'] [IsLocalization T S'] (p : Ideal R) {P : Ideal S}
  [P.IsPrime] [P.LiesOver p], Disjoint ↑T ↑P → (Ideal.map (algebraMap S S') P).LiesOver (Ideal.map (algebraMap R R') p)

If R' (resp. S') is the localization of R (resp. S) and P lies over p then the image of P in S' lies over the image of p in R'.

theorem IsLocalization.AtPrime.isPrime_map_of_liesOver E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (p : Ideal R)
  [inst_3 : p.IsPrime] (Sₚ : Type u_5) [inst_4 : CommSemiring Sₚ] [inst_5 : Algebra S Sₚ]
  [IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] (P : Ideal S) [P.IsPrime] [P.LiesOver p],
  (Ideal.map (algebraMap S Sₚ) P).IsPrime

theorem IsLocalization.AtPrime.map_eq_maximalIdeal E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (p : Ideal R) [inst_1 : p.IsPrime] (Rₚ : Type u_4) [inst_2 : CommSemiring Rₚ]
  [inst_3 : Algebra R Rₚ] [IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ],
  Ideal.map (algebraMap R Rₚ) p = IsLocalRing.maximalIdeal Rₚ

instance IsLocalization.AtPrime.isMaximal_map E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (p : Ideal R) [inst_1 : p.IsPrime] (Rₚ : Type u_4) [inst_2 : CommSemiring Rₚ]
  [inst_3 : Algebra R Rₚ] [IsLocalization.AtPrime Rₚ p] [IsLocalRing Rₚ], (Ideal.map (algebraMap R Rₚ) p).IsMaximal

theorem IsLocalization.AtPrime.under_map_of_isMaximal E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (p : Ideal R)
  [inst_3 : p.IsPrime] (Sₚ : Type u_5) [inst_4 : CommSemiring Sₚ] [inst_5 : Algebra S Sₚ]
  [IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] (P : Ideal S) [P.IsMaximal] [P.LiesOver p],
  Ideal.under S (Ideal.map (algebraMap S Sₚ) P) = P

theorem IsLocalization.AtPrime.under_maximalIdeal_pow E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (p : Ideal R) [inst_1 : p.IsPrime] (Rₚ : Type u_4) [inst_2 : CommSemiring Rₚ]
  [inst_3 : Algebra R Rₚ] [IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] [p.IsMaximal] (n : ℕ),
  Ideal.under R (IsLocalRing.maximalIdeal Rₚ ^ n) = p ^ n

def IsLocalization.AtPrime.equivQuotMaximalIdealPow E1 #

{R : Type u_7} →
  [inst : CommRing R] →
    (p : Ideal R) →
      [inst_1 : p.IsMaximal] →
        (Rₚ : Type u_8) →
          [inst_2 : CommRing Rₚ] →
            [inst_3 : Algebra R Rₚ] →
              [IsLocalization.AtPrime Rₚ p] →
                [inst_5 : IsLocalRing Rₚ] → (n : ℕ) → (R ⧸ p ^ n) ≃ₐ[R] Rₚ ⧸ IsLocalRing.maximalIdeal Rₚ ^ n

The isomorphism R ⧸ p ^ n ≃ₐ[R] Rₚ ⧸ maximalIdeal Rₚ ^ n, where Rₚ satisfies IsLocalization.AtPrime Rₚ p.

theorem IsLocalization.AtPrime.equivQuotMaximalIdealPow_apply_mk E0 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] (n : ℕ) (x : R),
  (IsLocalization.AtPrime.equivQuotMaximalIdealPow p Rₚ n) ((Ideal.Quotient.mk (p ^ n)) x) =
    (Ideal.Quotient.mk (IsLocalRing.maximalIdeal Rₚ ^ n)) ((algebraMap R Rₚ) x)

theorem IsLocalization.AtPrime.equivQuotMaximalIdealPow_symm_apply_mk_mul E0 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] (n : ℕ) (x : R)
  (s : ↥p.primeCompl),
  (IsLocalization.AtPrime.equivQuotMaximalIdealPow p Rₚ n).symm
        ((Ideal.Quotient.mk (IsLocalRing.maximalIdeal Rₚ ^ n)) (IsLocalization.mk' Rₚ x s)) *
      (Ideal.Quotient.mk (p ^ n)) ↑s =
    (Ideal.Quotient.mk (p ^ n)) x

def IsLocalization.AtPrime.equivQuotMaximalIdeal E1 #

{R : Type u_7} →
  [inst : CommRing R] →
    (p : Ideal R) →
      [inst_1 : p.IsMaximal] →
        (Rₚ : Type u_8) →
          [inst_2 : CommRing Rₚ] →
            [inst_3 : Algebra R Rₚ] →
              [IsLocalization.AtPrime Rₚ p] → [inst_5 : IsLocalRing Rₚ] → (R ⧸ p) ≃ₐ[R] Rₚ ⧸ IsLocalRing.maximalIdeal Rₚ

The isomorphism R ⧸ p ≃ₐ[R] Rₚ ⧸ maximalIdeal Rₚ, where Rₚ satisfies IsLocalization.AtPrime Rₚ p. In particular, localization preserves the residue field.

This is the n = 1 case of equivQuotMaximalIdealPow.

theorem IsLocalization.AtPrime.equivQuotMaximalIdeal_apply_mk E0 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] (x : R),
  (IsLocalization.AtPrime.equivQuotMaximalIdeal p Rₚ) ((Ideal.Quotient.mk p) x) =
    (Ideal.Quotient.mk (IsLocalRing.maximalIdeal Rₚ)) ((algebraMap R Rₚ) x)

theorem IsLocalization.AtPrime.equivQuotMaximalIdeal_symm_apply_mk E0 #

∀ {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8) [inst_2 : CommRing Rₚ]
  [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ] (x : R) (s : ↥p.primeCompl),
  (IsLocalization.AtPrime.equivQuotMaximalIdeal p Rₚ).symm
      ((Ideal.Quotient.mk (IsLocalRing.maximalIdeal Rₚ)) (IsLocalization.mk' Rₚ x s)) =
    (Ideal.Quotient.mk p) x * ((Ideal.Quotient.mk p) ↑s)⁻¹

theorem IsLocalization.AtPrime.under_map_eq_map E1 #

∀ {S : Type u_6} {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] {Sₚ : Type u_9}
  [inst_2 : CommRing S] [inst_3 : Algebra R S] [inst_4 : CommRing Sₚ] [inst_5 : Algebra S Sₚ] [inst_6 : Algebra R Sₚ]
  [IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] [IsScalarTower R S Sₚ],
  Ideal.under S (Ideal.map (algebraMap R Sₚ) p) = Ideal.map (algebraMap R S) p

def IsLocalization.AtPrime.equivQuotientMapMaximalIdeal E1 #

(S : Type u_6) →
  {R : Type u_7} →
    [inst : CommRing R] →
      (p : Ideal R) →
        [inst_1 : p.IsMaximal] →
          (Rₚ : Type u_8) →
            [inst_2 : CommRing Rₚ] →
              [inst_3 : Algebra R Rₚ] →
                [IsLocalization.AtPrime Rₚ p] →
                  [inst_5 : IsLocalRing Rₚ] →
                    (Sₚ : Type u_9) →
                      [inst_6 : CommRing S] →
                        [inst_7 : Algebra R S] →
                          [inst_8 : CommRing Sₚ] →
                            [inst_9 : Algebra S Sₚ] →
                              [inst_10 : Algebra R Sₚ] →
                                [inst_11 : Algebra Rₚ Sₚ] →
                                  [IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] →
                                    [IsScalarTower R S Sₚ] →
                                      [IsScalarTower R Rₚ Sₚ] →
                                        S ⧸ Ideal.map (algebraMap R S) p ≃+*
                                          Sₚ ⧸ Ideal.map (algebraMap Rₚ Sₚ) (IsLocalRing.maximalIdeal Rₚ)

The isomorphism S ⧸ pS ≃+* Sₚ ⧸ p·Sₚ, where Sₚ is the localization of S at the (image) of the complement of p

theorem IsLocalization.AtPrime.equivQuotientMapMaximalIdeal_apply_mk E0 #

∀ {S : Type u_6} {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8)
  [inst_2 : CommRing Rₚ] [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ]
  {Sₚ : Type u_9} [inst_6 : CommRing S] [inst_7 : Algebra R S] [inst_8 : CommRing Sₚ] [inst_9 : Algebra S Sₚ]
  [inst_10 : Algebra R Sₚ] [inst_11 : Algebra Rₚ Sₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] [inst_13 : IsScalarTower R S Sₚ]
  [inst_14 : IsScalarTower R Rₚ Sₚ] (s : S),
  (IsLocalization.AtPrime.equivQuotientMapMaximalIdeal S p Rₚ Sₚ)
      ((Ideal.Quotient.mk (Ideal.map (algebraMap R S) p)) s) =
    (algebraMap S (Sₚ ⧸ Ideal.map (algebraMap Rₚ Sₚ) (IsLocalRing.maximalIdeal Rₚ))) s

theorem IsLocalization.AtPrime.equivQuotientMapMaximalIdeal_symm_apply_mk E0 #

∀ {S : Type u_6} {R : Type u_7} [inst : CommRing R] (p : Ideal R) [inst_1 : p.IsMaximal] (Rₚ : Type u_8)
  [inst_2 : CommRing Rₚ] [inst_3 : Algebra R Rₚ] [inst_4 : IsLocalization.AtPrime Rₚ p] [inst_5 : IsLocalRing Rₚ]
  {Sₚ : Type u_9} [inst_6 : CommRing S] [inst_7 : Algebra R S] [inst_8 : CommRing Sₚ] [inst_9 : Algebra S Sₚ]
  [inst_10 : Algebra R Sₚ] [inst_11 : Algebra Rₚ Sₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid S p.primeCompl) Sₚ] [inst_13 : IsScalarTower R S Sₚ]
  [inst_14 : IsScalarTower R Rₚ Sₚ] (s : S),
  (IsLocalization.AtPrime.equivQuotientMapMaximalIdeal S p Rₚ Sₚ).symm
      ((algebraMap S (Sₚ ⧸ Ideal.map (algebraMap Rₚ Sₚ) (IsLocalRing.maximalIdeal Rₚ))) s) =
    (Ideal.Quotient.mk (Ideal.map (algebraMap R S) p)) s

theorem IsLocalization.AtPrime.map_eq_top_of_not_le E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {I p : Ideal R}
  [inst_3 : p.IsPrime] [IsLocalization.AtPrime S p], ¬I ≤ p → Ideal.map (algebraMap R S) I = ⊤

Deprecated aliases

NameNew nameSince
Ideal.IsMaximal.of_isLocalization_of_disjointIsLocalization.isMaximal_of_isMaximal_under2026-07-04
Localization.AtPrime.IsLiesOverAlgebra2026-06-27
Localization.AtPrime.IsLiesOverAlgebra.algebraMap_eqLocalization.AtPrime.algebraMap_eq2026-06-30