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.Algebra

18 declarations. Mathlib docs · Source

Localization of algebra maps

In this file we provide constructors to localize algebra maps. Also we show that localization commutes with taking kernels for ring homomorphisms.

Implementation detail

The proof that localization commutes with taking kernels does not use the result for linear maps, as the translation is currently tedious and can be unified easily after the localization refactor.

theorem IsLocalization.mapₐ.congr_simp E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (M M_1 : Submonoid R) (e_M : M = M_1) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f f_1 : A →ₐ[R] B),
  f = f_1 → IsLocalization.mapₐ M Rₚ Aₚ Bₚ f = IsLocalization.mapₐ M_1 Rₚ Aₚ Bₚ f_1

instance Algebra.idealMap_isLocalizedModule E0 #

∀ {R : Type u_1} (S : Type u_2) [inst : CommSemiring R] [inst_1 : CommSemiring S] (M : Submonoid R)
  [inst_2 : Algebra R S] [IsLocalization M S] (I : Ideal R), IsLocalizedModule M (Algebra.idealMap S I)

The span of I in a localization of R at M is the localization of I at M.

theorem IsLocalization.ker_map E1 #

∀ {R : Type u_1} {S : Type u_2} {P : Type u_3} (Q : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring P] [inst_3 : CommSemiring Q] {M : Submonoid R} {T : Submonoid P} [inst_4 : Algebra R S]
  [inst_5 : Algebra P Q] [inst_6 : IsLocalization M S] [inst_7 : IsLocalization T Q] (g : R →+* P)
  (hT : Submonoid.map g M = T), RingHom.ker (IsLocalization.map Q g ⋯) = Ideal.map (algebraMap R S) (RingHom.ker g)

def RingHom.toKerIsLocalization E1 #

{R : Type u_1} →
  (S : Type u_2) →
    {P : Type u_3} →
      (Q : Type u_4) →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring S] →
            [inst_2 : CommSemiring P] →
              [inst_3 : CommSemiring Q] →
                {M : Submonoid R} →
                  {T : Submonoid P} →
                    [inst_4 : Algebra R S] →
                      [inst_5 : Algebra P Q] →
                        [inst_6 : IsLocalization M S] →
                          [inst_7 : IsLocalization T Q] →
                            (g : R →+* P) →
                              (hy : M ≤ Submonoid.comap g T) →
                                ↥(RingHom.ker g) →ₗ[R] ↥(RingHom.ker (IsLocalization.map Q g hy))

The canonical linear map from the kernel of g to the kernel of its localization.

theorem RingHom.toKerIsLocalization_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {P : Type u_3} (Q : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring P] [inst_3 : CommSemiring Q] {M : Submonoid R} {T : Submonoid P} [inst_4 : Algebra R S]
  [inst_5 : Algebra P Q] [inst_6 : IsLocalization M S] [inst_7 : IsLocalization T Q] (g : R →+* P)
  (hy : M ≤ Submonoid.comap g T) (r : ↥(RingHom.ker g)),
  ↑((RingHom.toKerIsLocalization S Q g hy) r) = (algebraMap R S) ↑r

theorem RingHom.toKerIsLocalization_isLocalizedModule E1 #

∀ {R : Type u_1} {S : Type u_2} {P : Type u_3} (Q : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring P] [inst_3 : CommSemiring Q] {M : Submonoid R} {T : Submonoid P} [inst_4 : Algebra R S]
  [inst_5 : Algebra P Q] [inst_6 : IsLocalization M S] [inst_7 : IsLocalization T Q] (g : R →+* P)
  (hT : Submonoid.map g M = T), IsLocalizedModule M (RingHom.toKerIsLocalization S Q g ⋯)

The canonical linear map from the kernel of g to the kernel of its localization is localizing. In other words, localization commutes with taking kernels.

instance IsLocalization.isLocalization_algebraMapSubmonoid_map_algHom E0 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Bₚ : Type u_10)
  [inst_5 : CommSemiring Bₚ] [inst_6 : Algebra B Bₚ] [IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ]
  (f : A →ₐ[R] B), IsLocalization (Submonoid.map f.toRingHom (Algebra.algebraMapSubmonoid A M)) Bₚ

def IsLocalization.mapₐ E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {A : Type u_6} →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            {B : Type u_7} →
              [inst_3 : CommSemiring B] →
                [inst_4 : Algebra R B] →
                  (Rₚ : Type u_8) →
                    [inst_5 : CommSemiring Rₚ] →
                      [inst_6 : Algebra R Rₚ] →
                        [IsLocalization M Rₚ] →
                          (Aₚ : Type u_9) →
                            [inst_8 : CommSemiring Aₚ] →
                              [inst_9 : Algebra R Aₚ] →
                                [inst_10 : Algebra A Aₚ] →
                                  [IsScalarTower R A Aₚ] →
                                    [IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] →
                                      (Bₚ : Type u_10) →
                                        [inst_13 : CommSemiring Bₚ] →
                                          [inst_14 : Algebra R Bₚ] →
                                            [inst_15 : Algebra B Bₚ] →
                                              [IsScalarTower R B Bₚ] →
                                                [IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] →
                                                  [inst_18 : Algebra Rₚ Aₚ] →
                                                    [inst_19 : Algebra Rₚ Bₚ] →
                                                      [IsScalarTower R Rₚ Aₚ] →
                                                        [IsScalarTower R Rₚ Bₚ] → (A →ₐ[R] B) → Aₚ →ₐ[Rₚ] Bₚ

An algebra map A →ₐ[R] B induces an algebra map on localizations Aₚ →ₐ[Rₚ] Bₚ.

theorem IsLocalization.mapₐ_coe E0 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  ⇑(IsLocalization.mapₐ M Rₚ Aₚ Bₚ f) = ⇑(IsLocalization.map Bₚ f.toRingHom ⋯)

theorem IsLocalization.mapₐ_injective_of_injective E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  Function.Injective ⇑f → Function.Injective ⇑(IsLocalization.mapₐ M Rₚ Aₚ Bₚ f)

theorem IsLocalization.mapₐ_surjective_of_surjective E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  Function.Surjective ⇑f → Function.Surjective ⇑(IsLocalization.mapₐ M Rₚ Aₚ Bₚ f)

theorem IsLocalization.mapExtendScalars_eq_toLinearMap_mapₐ E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  (IsLocalizedModule.mapExtendScalars M (IsScalarTower.toAlgHom R A Aₚ).toLinearMap
        (IsScalarTower.toAlgHom R B Bₚ).toLinearMap Rₚ)
      f.toLinearMap =
    (IsLocalization.mapₐ M Rₚ Aₚ Bₚ f).toLinearMap

Localizing the underlying linear map of A →ₐ[R] B in the sense of IsLocalizedModule is the same as taking the underlying linear map of the localization in the sense of IsLocalization.

theorem IsLocalization.map_eq_toLinearMap_mapₐ E0 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  (IsLocalizedModule.map M (IsScalarTower.toAlgHom R A Aₚ).toLinearMap (IsScalarTower.toAlgHom R B Bₚ).toLinearMap)
      f.toLinearMap =
    ↑R (IsLocalization.mapₐ M Rₚ Aₚ Bₚ f).toLinearMap

Less linear version of mapExtendScalars_eq_toLinearMap_mapₐ. For a version where R = A, see map_linearMap_eq_toLinearMap_mapₐ.

theorem IsLocalization.map_linearMap_eq_toLinearMap_mapₐ E0 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] (Rₚ : Type u_8) [inst_3 : CommSemiring Rₚ] [inst_4 : Algebra R Rₚ]
  [inst_5 : IsLocalization M Rₚ] (Aₚ : Type u_9) [inst_6 : CommSemiring Aₚ] [inst_7 : Algebra R Aₚ]
  [inst_8 : Algebra A Aₚ] [inst_9 : IsScalarTower R A Aₚ]
  [inst_10 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] [inst_11 : Algebra Rₚ Aₚ]
  [inst_12 : IsScalarTower R Rₚ Aₚ],
  (IsLocalizedModule.map M (Algebra.linearMap R Rₚ) (IsScalarTower.toAlgHom R A Aₚ).toLinearMap)
      (Algebra.linearMap R A) =
    ↑R (IsLocalization.mapₐ M Rₚ Rₚ Aₚ (Algebra.ofId R A)).toLinearMap

def AlgHom.toKerIsLocalization E1 #

{R : Type u_5} →
  [inst : CommSemiring R] →
    (M : Submonoid R) →
      {A : Type u_6} →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            {B : Type u_7} →
              [inst_3 : CommSemiring B] →
                [inst_4 : Algebra R B] →
                  (Rₚ : Type u_8) →
                    [inst_5 : CommSemiring Rₚ] →
                      [inst_6 : Algebra R Rₚ] →
                        [inst_7 : IsLocalization M Rₚ] →
                          (Aₚ : Type u_9) →
                            [inst_8 : CommSemiring Aₚ] →
                              [inst_9 : Algebra R Aₚ] →
                                [inst_10 : Algebra A Aₚ] →
                                  [inst_11 : IsScalarTower R A Aₚ] →
                                    [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] →
                                      (Bₚ : Type u_10) →
                                        [inst_13 : CommSemiring Bₚ] →
                                          [inst_14 : Algebra R Bₚ] →
                                            [inst_15 : Algebra B Bₚ] →
                                              [inst_16 : IsScalarTower R B Bₚ] →
                                                [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] →
                                                  [inst_18 : Algebra Rₚ Aₚ] →
                                                    [inst_19 : Algebra Rₚ Bₚ] →
                                                      [inst_20 : IsScalarTower R Rₚ Aₚ] →
                                                        [inst_21 : IsScalarTower R Rₚ Bₚ] →
                                                          (f : A →ₐ[R] B) →
                                                            ↥(RingHom.ker f) →ₗ[A]
                                                              ↥(RingHom.ker (IsLocalization.mapₐ M Rₚ Aₚ Bₚ f))

The canonical linear map from the kernel of an algebra homomorphism to its localization.

theorem AlgHom.toKerIsLocalization_apply E0 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B) (x : ↥(RingHom.ker f)),
  (AlgHom.toKerIsLocalization M Rₚ Aₚ Bₚ f) x = (RingHom.toKerIsLocalization Aₚ Bₚ f.toRingHom ⋯) x

theorem AlgHom.toKerIsLocalization_isLocalizedModule E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (M : Submonoid R) {A : Type u_6} [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] {B : Type u_7} [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Rₚ : Type u_8)
  [inst_5 : CommSemiring Rₚ] [inst_6 : Algebra R Rₚ] [inst_7 : IsLocalization M Rₚ] (Aₚ : Type u_9)
  [inst_8 : CommSemiring Aₚ] [inst_9 : Algebra R Aₚ] [inst_10 : Algebra A Aₚ] [inst_11 : IsScalarTower R A Aₚ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A M) Aₚ] (Bₚ : Type u_10) [inst_13 : CommSemiring Bₚ]
  [inst_14 : Algebra R Bₚ] [inst_15 : Algebra B Bₚ] [inst_16 : IsScalarTower R B Bₚ]
  [inst_17 : IsLocalization (Algebra.algebraMapSubmonoid B M) Bₚ] [inst_18 : Algebra Rₚ Aₚ] [inst_19 : Algebra Rₚ Bₚ]
  [inst_20 : IsScalarTower R Rₚ Aₚ] [inst_21 : IsScalarTower R Rₚ Bₚ] (f : A →ₐ[R] B),
  IsLocalizedModule (Algebra.algebraMapSubmonoid A M) (AlgHom.toKerIsLocalization M Rₚ Aₚ Bₚ f)

The canonical linear map from the kernel of an algebra homomorphism to its localization is localizing.

theorem Polynomial.isLocalization E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_6) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [IsLocalization S A], IsLocalization (Submonoid.map Polynomial.C S) (Polynomial A)

If A is the localization of R at a submonoid S, then A[X] is the localization of R[X] at S.map Polynomial.C.

See also MvPolynomial.isLocalization for the multivariate case.